1 /* For debugging general purposes */
9 extern bool quiet
, dump_trace
;
11 int dump_printf(const char *fmt
, ...) __attribute__((format(printf
, 1, 2)));
12 void trace_event(union perf_event
*event
);
16 #ifdef NO_NEWT_SUPPORT
17 static inline int ui_helpline__show_help(const char *format __used
, va_list ap __used
)
22 static inline struct ui_progress
*ui_progress__new(const char *title __used
,
25 return (struct ui_progress
*)1;
28 static inline void ui_progress__update(struct ui_progress
*self __used
,
31 static inline void ui_progress__delete(struct ui_progress
*self __used
) {}
33 extern char ui_helpline__last_msg
[];
34 int ui_helpline__show_help(const char *format
, va_list ap
);
35 #include "ui/progress.h"
38 void ui__warning(const char *format
, ...) __attribute__((format(printf
, 1, 2)));
39 void ui__warning_paranoid(void);
41 #endif /* __PERF_DEBUG_H */