perf tools: Factorize high level dso helpers
Factorize multiple definitions of high level dso helpers into the symbol source file. The side effect is a general export of the verbose and eprintf debugging helpers into a new file dedicated to debugging purposes. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Brice Goglin <Brice.Goglin@inria.fr>
This commit is contained in:
parent
9f86669711
commit
cd84c2ac6d
12 changed files with 138 additions and 199 deletions
5
tools/perf/util/debug.h
Normal file
5
tools/perf/util/debug.h
Normal file
|
@ -0,0 +1,5 @@
|
|||
/* For debugging general purposes */
|
||||
|
||||
extern int verbose;
|
||||
|
||||
int eprintf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
|
Loading…
Add table
Add a link
Reference in a new issue