2009-08-12 10:03:49 +02:00
|
|
|
/* For debugging general purposes */
|
2009-09-24 18:02:18 +02:00
|
|
|
#ifndef __PERF_DEBUG_H
|
|
|
|
#define __PERF_DEBUG_H
|
2009-08-12 10:03:49 +02:00
|
|
|
|
2009-11-16 19:32:42 +01:00
|
|
|
#include "event.h"
|
|
|
|
|
2009-08-12 10:03:49 +02:00
|
|
|
extern int verbose;
|
2009-08-16 19:24:21 +02:00
|
|
|
extern int dump_trace;
|
2009-08-12 10:03:49 +02:00
|
|
|
|
2009-08-16 19:24:21 +02:00
|
|
|
int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
|
2009-08-16 22:05:48 +02:00
|
|
|
void trace_event(event_t *event);
|
2009-09-24 18:02:18 +02:00
|
|
|
|
|
|
|
#endif /* __PERF_DEBUG_H */
|