xref: /linux/tools/perf/util/debug.h (revision c75b81bffa0a9493a24ae61d0c52f85e4043c183)
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