linux/tools/perf/util
Masami Hiramatsu 7ef17aafc9 perf probe: Fix to show which probe point is not found
Fix perf probe to show which probe point is not found.
With out this patch, it shows just "No probe point found."
This doesn't help users if they specify several probes.
e.g.

 # perf probe -f --add schedule --add test
  Fatal: No probe point found.

This patch makes error message more helpful as below.

 # perf probe --add schedule --add test
  Fatal: Probe point 'test' not found. - probe not added.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
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: 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: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20091215153247.17436.49068.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-12-15 20:22:05 +01:00
..
include perf symbols: Simplify symbol machinery setup 2009-11-24 16:37:02 +01:00
abspath.c
alias.c
cache.h
callchain.c
callchain.h
color.c
color.h
config.c
ctype.c perf tools: Move graph_line and graph_dotted_line from top 2009-11-23 21:55:20 +01:00
data_map.c perf session: Adopt the sample_type variable 2009-12-14 17:34:56 +01:00
debug.c
debug.h
debugfs.c
debugfs.h
environment.c
event.c perf session: Event statistics also are per session 2009-12-15 08:50:28 +01:00
event.h perf probe: Check build-id of vmlinux 2009-12-15 20:22:04 +01:00
exec_cmd.c
exec_cmd.h
generate-cmdlist.sh
header.c perf session: Ditch register_perf_file_handler 2009-12-14 16:57:15 +01:00
header.h perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
help.c
help.h
hist.c perf session: Move the hist_entries rb tree to perf_session 2009-12-14 16:57:18 +01:00
hist.h perf session: Move the hist_entries rb tree to perf_session 2009-12-14 16:57:18 +01:00
levenshtein.c
levenshtein.h
map.c perf probe: Check build-id of vmlinux 2009-12-15 20:22:04 +01:00
pager.c
parse-events.c perf tools: Optimize parse_subsystem_tracepoint_event() 2009-12-07 08:09:29 +01:00
parse-events.h
parse-options.c perf tools: Align long options which have no short forms 2009-12-10 08:30:28 +01:00
parse-options.h
path.c
PERF-VERSION-GEN
probe-event.c perf probe: Fix to show which probe point is not found 2009-12-15 20:22:05 +01:00
probe-event.h perf probe: Fix to show which probe point is not found 2009-12-15 20:22:05 +01:00
probe-finder.c perf probe: Show need-dwarf message only if it is really needed 2009-12-15 20:22:01 +01:00
probe-finder.h perf probe: Support event name for --add option 2009-12-15 20:22:03 +01:00
quote.c
quote.h
run-command.c
run-command.h
session.c perf session: Adopt resolve_callchain 2009-12-14 17:34:55 +01:00
session.h perf session: Event statistics also are per session 2009-12-15 08:50:28 +01:00
sigchain.c
sigchain.h
sort.c perf util: Remove setup_sorting dups 2009-12-15 08:50:28 +01:00
sort.h perf diff: Introduce tool to show performance difference 2009-12-15 08:50:29 +01:00
strbuf.c
strbuf.h
string.c perf probe: Add glob matching support on --del 2009-12-15 20:22:03 +01:00
string.h perf probe: Add glob matching support on --del 2009-12-15 20:22:03 +01:00
strlist.c perf probe: Fix --del to update current event list 2009-12-15 20:22:01 +01:00
strlist.h perf tools: Add for_each macros for strlist 2009-12-15 20:22:02 +01:00
svghelper.c
svghelper.h
symbol.c perf session: Move kmaps to perf_session 2009-12-14 16:57:17 +01:00
symbol.h perf session: Move kmaps to perf_session 2009-12-14 16:57:17 +01:00
thread.c perf session: Move kmaps to perf_session 2009-12-14 16:57:17 +01:00
thread.h perf session: Move kmaps to perf_session 2009-12-14 16:57:17 +01:00
trace-event-info.c perf trace: Read_tracing_data should die() another day 2009-11-21 17:45:59 +01:00
trace-event-parse.c perf tools: Correct size given to memset 2009-12-10 08:30:26 +01:00
trace-event-perl.c perf trace/scripting: Check return val of perl_run() 2009-12-15 10:31:32 +01:00
trace-event-perl.h perf trace/scripting: Fix compile error when libperl not installed 2009-12-07 06:31:37 +01:00
trace-event-read.c perf tools: Misc small fixes 2009-12-06 18:15:02 +01:00
trace-event.h perf trace/scripting: Add support for script args 2009-12-15 10:31:31 +01:00
types.h
usage.c
util.h perf tools: Remove unused wrapper routines 2009-11-24 16:37:03 +01:00
values.c
values.h
wrapper.c perf tools: Remove unused wrapper routines 2009-11-24 16:37:03 +01:00