diff options
Diffstat (limited to 'tools/perf/util/debug.h')
-rw-r--r-- | tools/perf/util/debug.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/util/debug.h b/tools/perf/util/debug.h new file mode 100644 index 000000000000..437eea58ce40 --- /dev/null +++ b/tools/perf/util/debug.h | |||
@@ -0,0 +1,8 @@ | |||
1 | /* For debugging general purposes */ | ||
2 | |||
3 | extern int verbose; | ||
4 | extern int dump_trace; | ||
5 | |||
6 | int eprintf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); | ||
7 | int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); | ||
8 | void trace_event(event_t *event); | ||