debug.h 357 Bytes
Newer Older
1
/* For debugging general purposes */
2 3
#ifndef __PERF_DEBUG_H
#define __PERF_DEBUG_H
4 5

extern int verbose;
6
extern int dump_trace;
7

8 9
int eprintf(int level,
	    const char *fmt, ...) __attribute__((format(printf, 2, 3)));
10
int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
11
void trace_event(event_t *event);
12 13

#endif	/* __PERF_DEBUG_H */