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