x86/xen: resume timer irqs early
[linux/fpc-iii.git] / tools / perf / util / debug.h
blobefbd98805ad0b0086996298b698122a2b0ceb018
1 /* For debugging general purposes */
2 #ifndef __PERF_DEBUG_H
3 #define __PERF_DEBUG_H
5 #include <stdbool.h>
6 #include "event.h"
7 #include "../ui/helpline.h"
8 #include "../ui/progress.h"
9 #include "../ui/util.h"
11 extern int verbose;
12 extern bool quiet, dump_trace;
14 int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
15 void trace_event(union perf_event *event);
17 int ui__error(const char *format, ...) __attribute__((format(printf, 1, 2)));
18 int ui__warning(const char *format, ...) __attribute__((format(printf, 1, 2)));
20 #endif /* __PERF_DEBUG_H */