]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - tools/perf/util/debug.h
1 /* For debugging general purposes */
10 int dump_printf(const char *fmt
, ...) __attribute__((format(printf
, 1, 2)));
11 void trace_event(event_t
*event
);
15 #ifdef NO_NEWT_SUPPORT
16 static inline int browser__show_help(const char *format __used
, va_list ap __used
)
21 static inline struct ui_progress
*ui_progress__new(const char *title __used
,
24 return (struct ui_progress
*)1;
27 static inline void ui_progress__update(struct ui_progress
*self __used
,
30 static inline void ui_progress__delete(struct ui_progress
*self __used
) {}
32 int browser__show_help(const char *format
, va_list ap
);
33 struct ui_progress
*ui_progress__new(const char *title
, u64 total
);
34 void ui_progress__update(struct ui_progress
*self
, u64 curr
);
35 void ui_progress__delete(struct ui_progress
*self
);
38 #endif /* __PERF_DEBUG_H */