debug.h 357 B

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