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