1/* For debugging general purposes */ 2#ifndef __PERF_DEBUG_H 3#define __PERF_DEBUG_H 4 5#include <stdbool.h> 6#include "event.h" 7#include "../ui/helpline.h" 8#include "../ui/progress.h" 9#include "../ui/util.h" 10 11extern int verbose; 12extern bool quiet, dump_trace; 13 14int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); 15void trace_event(union perf_event *event); 16 17int ui__error(const char *format, ...) __attribute__((format(printf, 1, 2))); 18int ui__warning(const char *format, ...) __attribute__((format(printf, 1, 2))); 19 20#endif /* __PERF_DEBUG_H */ 21