1 #ifndef _BABELTRACE_INTERNAL_H
2 #define _BABELTRACE_INTERNAL_H
8 extern int babeltrace_verbose
, babeltrace_debug
;
10 #define printf_verbose(fmt, args...) \
12 if (babeltrace_verbose) \
13 fprintf(stdout, "[verbose] " fmt, ## args); \
16 #define printf_debug(fmt, args...) \
18 if (babeltrace_debug) \
19 fprintf(stdout, "[debug] " fmt, ## args); \
22 #define likely(x) __builtin_expect(!!(x), 1)
23 #define unlikely(x) __builtin_expect(!!(x), 0)
25 struct trace_descriptor
;
26 struct trace_collection
{
27 GPtrArray
*array
; /* struct trace_descriptor */
30 extern int opt_all_field_names
,
31 opt_scope_field_names
,
32 opt_header_field_names
,
33 opt_context_field_names
,
34 opt_payload_field_names
,
37 opt_trace_domain_field
,
38 opt_trace_procname_field
,
47 extern uint64_t opt_clock_offset
;
This page took 0.032732 seconds and 6 git commands to generate.