2009-08-12 16:03:49 +08:00
|
|
|
/* For debugging general purposes */
|
2009-09-25 00:02:18 +08:00
|
|
|
#ifndef __PERF_DEBUG_H
|
|
|
|
#define __PERF_DEBUG_H
|
2009-08-12 16:03:49 +08:00
|
|
|
|
2009-11-17 02:32:42 +08:00
|
|
|
#include "event.h"
|
|
|
|
|
2009-08-12 16:03:49 +08:00
|
|
|
extern int verbose;
|
2009-08-17 01:24:21 +08:00
|
|
|
extern int dump_trace;
|
2009-08-12 16:03:49 +08:00
|
|
|
|
2009-08-17 01:24:21 +08:00
|
|
|
int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
|
2009-08-17 04:05:48 +08:00
|
|
|
void trace_event(event_t *event);
|
2010-03-12 07:12:44 +08:00
|
|
|
int browser__show_help(const char *format, va_list ap);
|
2009-09-25 00:02:18 +08:00
|
|
|
|
|
|
|
#endif /* __PERF_DEBUG_H */
|