-
- Downloads
perf tools: Factorize the dprintf definition
We have two users of dprintf: report and annotate. Another one is coming with perf trace. Then factorize it into the debug file. While at it, rename dprintf() to dump_printf() so that it doesn't conflicts with its libc homograph. Signed-off-by:Frederic Weisbecker <fweisbec@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Mike Galbraith <efault@gmx.de> LKML-Reference: <1250443461-28130-1-git-send-email-fweisbec@gmail.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- tools/perf/builtin-annotate.c 18 additions, 22 deletionstools/perf/builtin-annotate.c
- tools/perf/builtin-report.c 27 additions, 29 deletionstools/perf/builtin-report.c
- tools/perf/util/debug.c 15 additions, 0 deletionstools/perf/util/debug.c
- tools/perf/util/debug.h 2 additions, 0 deletionstools/perf/util/debug.h
Loading
Please register or sign in to comment