diff options
Diffstat (limited to 'tools/perf/util/debug.h')
| -rw-r--r-- | tools/perf/util/debug.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/util/debug.h b/tools/perf/util/debug.h index 437eea58ce40..02d1fa1c2465 100644 --- a/tools/perf/util/debug.h +++ b/tools/perf/util/debug.h | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | /* For debugging general purposes */ | 1 | /* For debugging general purposes */ |
| 2 | #ifndef __PERF_DEBUG_H | ||
| 3 | #define __PERF_DEBUG_H | ||
| 2 | 4 | ||
| 3 | extern int verbose; | 5 | extern int verbose; |
| 4 | extern int dump_trace; | 6 | extern int dump_trace; |
| @@ -6,3 +8,5 @@ extern int dump_trace; | |||
| 6 | int eprintf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); | 8 | int eprintf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); |
| 7 | int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); | 9 | int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); |
| 8 | void trace_event(event_t *event); | 10 | void trace_event(event_t *event); |
| 11 | |||
| 12 | #endif /* __PERF_DEBUG_H */ | ||
