debug.h 377 B

123456789101112131415
  1. /* For debugging general purposes */
  2. #ifndef __PERF_DEBUG_H
  3. #define __PERF_DEBUG_H
  4. #include "event.h"
  5. extern int verbose;
  6. extern int dump_trace;
  7. int eprintf(int level,
  8. const char *fmt, ...) __attribute__((format(printf, 2, 3)));
  9. int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
  10. void trace_event(event_t *event);
  11. #endif /* __PERF_DEBUG_H */