blob: 58720a181591ba18740960b937e9446a244f7f9e [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
Arnaldo Carvalho de Melo8f411462009-11-16 16:32:42 -02005#include "event.h"
6
Frederic Weisbeckercd84c2a2009-08-12 10:03:49 +02007extern int verbose;
Frederic Weisbecker2cec19d2009-08-16 19:24:21 +02008extern int dump_trace;
Frederic Weisbeckercd84c2a2009-08-12 10:03:49 +02009
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 */