cb28eb79c11b1605ec4549222e60713a24a37a80
[babeltrace.git] / include / babeltrace / babeltrace.h
1 #ifndef _BABELTRACE_H
2 #define _BABELTRACE_H
3
4 #include <stdio.h>
5 #include <glib.h>
6
7 #define BABELTRACE_VERSION_MAJOR 0
8 #define BABELTRACE_VERSION_MINOR 1
9
10 extern int babeltrace_verbose, babeltrace_debug;
11
12 #define printf_verbose(fmt, args...) \
13 do { \
14 if (babeltrace_verbose) \
15 printf("[verbose] " fmt, ## args); \
16 } while (0)
17
18 #define printf_debug(fmt, args...) \
19 do { \
20 if (babeltrace_debug) \
21 printf("[debug] " fmt, ## args); \
22 } while (0)
23
24 struct trace_descriptor;
25 struct trace_collection {
26 GPtrArray *array;
27 };
28
29 int convert_trace(struct trace_descriptor *td_write,
30 struct trace_collection *trace_collection_read);
31
32 extern int opt_field_names;
33
34 #endif
This page took 0.029143 seconds and 3 git commands to generate.