blob: 02d1fa1c2465230f5286dfa3592ef5ae17d4721b [file] [log] [blame]
Frederic Weisbeckercd84c2a2009-08-12 10:03:49 +02001/* For debugging general purposes */
John Kacur8b40f522009-09-24 18:02:18 +02002#ifndef __PERF_DEBUG_H
3#define __PERF_DEBUG_H
Frederic Weisbeckercd84c2a2009-08-12 10:03:49 +02004
5extern int verbose;
Frederic Weisbecker2cec19d2009-08-16 19:24:21 +02006extern int dump_trace;
Frederic Weisbeckercd84c2a2009-08-12 10:03:49 +02007
8int eprintf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
Frederic Weisbecker2cec19d2009-08-16 19:24:21 +02009int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
Frederic Weisbecker8f288272009-08-16 22:05:48 +020010void trace_event(event_t *event);
John Kacur8b40f522009-09-24 18:02:18 +020011
12#endif /* __PERF_DEBUG_H */