1 #ifndef _BABELTRACE_INTERNAL_H
2 #define _BABELTRACE_INTERNAL_H
7 extern int babeltrace_verbose
, babeltrace_debug
;
9 #define printf_verbose(fmt, args...) \
11 if (babeltrace_verbose) \
12 printf("[verbose] " fmt, ## args); \
15 #define printf_debug(fmt, args...) \
17 if (babeltrace_debug) \
18 printf("[debug] " fmt, ## args); \
21 #define likely(x) __builtin_expect(!!(x), 1)
22 #define unlikely(x) __builtin_expect(!!(x), 0)
24 struct trace_descriptor
;
25 struct trace_collection
{
29 int convert_trace(struct trace_descriptor
*td_write
,
30 struct trace_collection
*trace_collection_read
);
32 extern int opt_all_field_names
,
33 opt_scope_field_names
,
34 opt_header_field_names
,
35 opt_context_field_names
,
36 opt_payload_field_names
,
This page took 0.030141 seconds and 4 git commands to generate.