xref: /linux/tools/perf/util/debug.h (revision a33f32244d8550da8b4a26e277ce07d5c6d158b5)
1 /* For debugging general purposes */
2 #ifndef __PERF_DEBUG_H
3 #define __PERF_DEBUG_H
4 
5 #include "event.h"
6 
7 extern int verbose;
8 extern int dump_trace;
9 
10 int eprintf(int level,
11 	    const char *fmt, ...) __attribute__((format(printf, 2, 3)));
12 int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
13 void trace_event(event_t *event);
14 
15 #endif	/* __PERF_DEBUG_H */
16