update README
[lttng-ust.git] / ustd / ustd.h
1 #ifndef USTD_H
2 #define USTD_H
3
4 #include "ustcomm.h"
5
6 #define USTD_DEFAULT_TRACE_PATH "/tmp/usttrace"
7
8 struct buffer_info {
9 const char *name;
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
30 long consumed_old;
31
32 s64 pidunique;
33 };
34
35 void finish_consuming_dead_subbuffer(struct buffer_info *buf);
36
37 #endif /* USTD_H */
This page took 0.030567 seconds and 4 git commands to generate.