diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-11-30 19:19:27 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-01 02:20:00 -0500 |
commit | f41b1e43c41e99c39a2222578a7806032c045c79 (patch) | |
tree | eb01abb63e32b87ed41c70bfff0a2abcb1351727 | |
parent | ba8665d7dd95eb6093ee06f8f624b6acb1e73206 (diff) |
perf probe: Change a debugging message from pr_info to pr_debug
Change annoying debug-info using notice from pr_info() to
pr_debug(), since the message always printed when user adds a
probe point which requires debug-info.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Frank Ch. Eigler <fche@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jason Baron <jbaron@redhat.com>
Cc: K.Prasad <prasad@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20091201001927.10235.63645.stgit@harusame>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | tools/perf/builtin-probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-probe.c b/tools/perf/builtin-probe.c index a2f6daf01ecb..4e418afd6705 100644 --- a/tools/perf/builtin-probe.c +++ b/tools/perf/builtin-probe.c | |||
@@ -351,7 +351,7 @@ int cmd_probe(int argc, const char **argv, const char *prefix __used) | |||
351 | #ifdef NO_LIBDWARF | 351 | #ifdef NO_LIBDWARF |
352 | semantic_error("Debuginfo-analysis is not supported"); | 352 | semantic_error("Debuginfo-analysis is not supported"); |
353 | #else /* !NO_LIBDWARF */ | 353 | #else /* !NO_LIBDWARF */ |
354 | pr_info("Some probes require debuginfo.\n"); | 354 | pr_debug("Some probes require debuginfo.\n"); |
355 | 355 | ||
356 | if (session.vmlinux) | 356 | if (session.vmlinux) |
357 | fd = open(session.vmlinux, O_RDONLY); | 357 | fd = open(session.vmlinux, O_RDONLY); |