Complete dummy trace creation
[babeltrace.git] / include / babeltrace / babeltrace.h
CommitLineData
34ac0e6c
MD
1#ifndef _BABELTRACE_H
2#define _BABELTRACE_H
3
847bf71a
MD
4#include <stdio.h>
5
34ac0e6c
MD
6#define BABELTRACE_VERSION_MAJOR 0
7#define BABELTRACE_VERSION_MINOR 1
8
b522ac18
MD
9#ifndef __stringify
10#define __stringify_1(a...) #a
11#define __stringify(a...) __stringify_1(a)
12#endif
13
34ac0e6c
MD
14extern 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
46322b33
MD
28struct trace_descriptor;
29
847bf71a
MD
30int convert_trace(struct trace_descriptor *td_write,
31 struct trace_descriptor *td_read);
46322b33 32
34ac0e6c 33#endif
This page took 0.023694 seconds and 4 git commands to generate.