debug.h 341 B

123456789101112
  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(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
  7. int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
  8. void trace_event(event_t *event);
  9. #endif /* __PERF_DEBUG_H */