]> git.karo-electronics.de Git - mv-sheeva.git/blob - tools/perf/util/debug.h
Merge branch 'next-spi' of git://git.secretlab.ca/git/linux-2.6
[mv-sheeva.git] / tools / perf / util / debug.h
1 /* For debugging general purposes */
2 #ifndef __PERF_DEBUG_H
3 #define __PERF_DEBUG_H
4
5 #include "event.h"
6
7 extern int verbose;
8 extern int dump_trace;
9
10 int eprintf(int level,
11             const char *fmt, ...) __attribute__((format(printf, 2, 3)));
12 int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
13 void trace_event(event_t *event);
14
15 #endif  /* __PERF_DEBUG_H */