Frederic Weisbecker | cd84c2a | 2009-08-12 10:03:49 +0200 | [diff] [blame] | 1 | /* For debugging general purposes */ |
John Kacur | 8b40f52 | 2009-09-24 18:02:18 +0200 | [diff] [blame^] | 2 | #ifndef __PERF_DEBUG_H |
| 3 | #define __PERF_DEBUG_H |
Frederic Weisbecker | cd84c2a | 2009-08-12 10:03:49 +0200 | [diff] [blame] | 4 | |
| 5 | extern int verbose; |
Frederic Weisbecker | 2cec19d | 2009-08-16 19:24:21 +0200 | [diff] [blame] | 6 | extern int dump_trace; |
Frederic Weisbecker | cd84c2a | 2009-08-12 10:03:49 +0200 | [diff] [blame] | 7 | |
| 8 | int eprintf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); |
Frederic Weisbecker | 2cec19d | 2009-08-16 19:24:21 +0200 | [diff] [blame] | 9 | int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); |
Frederic Weisbecker | 8f28827 | 2009-08-16 22:05:48 +0200 | [diff] [blame] | 10 | void trace_event(event_t *event); |
John Kacur | 8b40f52 | 2009-09-24 18:02:18 +0200 | [diff] [blame^] | 11 | |
| 12 | #endif /* __PERF_DEBUG_H */ |