commit | 7ef17aafc98406d01ebbf7fe98ef1332b70d20bb | [log] [tgz] |
---|---|---|
author | Masami Hiramatsu <[email protected]> | Tue Dec 15 10:32:47 2009 -0500 |
committer | Ingo Molnar <[email protected]> | Tue Dec 15 20:22:05 2009 +0100 |
tree | 83211db3bb008b7d5a1224cf499f33591ced4708 | |
parent | 62bdc1b38e2abf3f500229c3bf4c82d33575d1ae [diff] |
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 <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Jim Keniston <[email protected]> Cc: Ananth N Mavinakayanahalli <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Frank Ch. Eigler <[email protected]> Cc: Jason Baron <[email protected]> Cc: K.Prasad <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Srikar Dronamraju <[email protected]> Cc: systemtap <[email protected]> Cc: DLE <[email protected]> Cc: Frederic Weisbecker <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>