aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/debug.h
blob: 02d1fa1c2465230f5286dfa3592ef5ae17d4721b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* For debugging general purposes */
#ifndef __PERF_DEBUG_H
#define __PERF_DEBUG_H

extern int verbose;
extern int dump_trace;

int eprintf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
void trace_event(event_t *event);

#endif	/* __PERF_DEBUG_H */