perf: Use eprintf() for debug messages in perf-probe
authorMasami Hiramatsu <mhiramat@redhat.com>
Sat, 17 Oct 2009 00:08:10 +0000 (20:08 -0400)
committerIngo Molnar <mingo@elte.hu>
Sat, 17 Oct 2009 07:54:00 +0000 (09:54 +0200)
commit89c69c0eee7515cdc217f4278de43547284b3458
tree914114cca2d004e7e22093a32b91540cd9beb1cc
parent074fc0e4b3f5d24306c2995f2f3b0bd4759e8aeb
perf: Use eprintf() for debug messages in perf-probe

Replace debug() macro with eprintf() and add -v option for
showing those messages in perf-probe.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20091017000810.16556.38013.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-probe.c
tools/perf/util/probe-finder.c
tools/perf/util/probe-finder.h