update README
[lttng-ust.git] / ustd / ustd.h
CommitLineData
0b0cd937
PMF
1#ifndef USTD_H
2#define USTD_H
3
4#include "ustcomm.h"
5
72ebd39a
PMF
6#define USTD_DEFAULT_TRACE_PATH "/tmp/usttrace"
7
0b0cd937 8struct buffer_info {
f99c0b5c 9 const char *name;
0b0cd937
PMF
10 pid_t pid;
11 struct ustcomm_connection conn;
12
13 int shmid;
14 int bufstruct_shmid;
15
16 /* the buffer memory */
17 void *mem;
18 /* buffer size */
19 int memlen;
20 /* number of subbuffers in buffer */
21 int n_subbufs;
22 /* size of each subbuffer */
23 int subbuf_size;
24
25 /* the buffer information struct */
26 void *bufstruct_mem;
27
28 int file_fd; /* output file */
29
0b0cd937 30 long consumed_old;
ed1317e7
PMF
31
32 s64 pidunique;
0b0cd937
PMF
33};
34
0b0cd937
PMF
35void finish_consuming_dead_subbuffer(struct buffer_info *buf);
36
37#endif /* USTD_H */
This page took 0.038055 seconds and 4 git commands to generate.