]> bbs.cooldavid.org Git - net-next-2.6.git/commit - tools/perf/builtin-timechart.c
perf tools: Unify debug messages mechanisms
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Oct 2009 19:34:06 +0000 (17:34 -0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 23 Oct 2009 06:22:47 +0000 (08:22 +0200)
commit6beba7adbe092e63dfe8d09fbd1e3ec140474a13
treed45a3347de224513c6d3d0e1061b78641f9aaf8a
parent802da5f2289bbe363acef084805195c11f453c48
perf tools: Unify debug messages mechanisms

We were using eprintf in some places, that looks at a global
'verbose' level, and at other places passing a 'v' parameter to
specify the verbosity level, unify it by introducing
pr_{err,warning,debug,etc}, just like in the kernel.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <1256153646-10097-1-git-send-email-acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 files changed:
tools/perf/builtin-annotate.c
tools/perf/builtin-record.c
tools/perf/builtin-report.c
tools/perf/builtin-sched.c
tools/perf/builtin-timechart.c
tools/perf/builtin-top.c
tools/perf/builtin-trace.c
tools/perf/util/callchain.c
tools/perf/util/debug.c
tools/perf/util/debug.h
tools/perf/util/event.h
tools/perf/util/header.c
tools/perf/util/include/linux/kernel.h
tools/perf/util/map.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h
tools/perf/util/thread.c