blob: e8b18a1f87a494b2c8e62cb92ae10f44278c3340 [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
Arnaldo Carvalho de Melo6beba7a2009-10-21 17:34:06 -02008int eprintf(int level,
9 const char *fmt, ...) __attribute__((format(printf, 2, 3)));
Frederic Weisbecker2cec19d2009-08-16 19:24:21 +020010int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
Frederic Weisbecker8f288272009-08-16 22:05:48 +020011void trace_event(event_t *event);
John Kacur8b40f522009-09-24 18:02:18 +020012
13#endif /* __PERF_DEBUG_H */