Commit | Line | Data |
---|---|---|
cd84c2ac | 1 | /* For debugging general purposes */ |
8b40f521 JK |
2 | #ifndef __PERF_DEBUG_H |
3 | #define __PERF_DEBUG_H | |
cd84c2ac FW |
4 | |
5 | extern int verbose; | |
2cec19d9 | 6 | extern int dump_trace; |
cd84c2ac | 7 | |
6beba7ad ACM |
8 | int eprintf(int level, |
9 | const char *fmt, ...) __attribute__((format(printf, 2, 3))); | |
2cec19d9 | 10 | int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); |
8f28827a | 11 | void trace_event(event_t *event); |
8b40f521 JK |
12 | |
13 | #endif /* __PERF_DEBUG_H */ |