diff options
author | Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> | 2015-03-06 02:31:25 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-03-12 11:39:53 -0400 |
commit | 0687eba7872d7dbe01b074c54359315e97502360 (patch) | |
tree | 34f96844bb9bd90809bab18cc0aa558bf99feffc /tools/perf/util/probe-event.c | |
parent | 811dd2ae7cd670fefbb3b220b529bb9876edde70 (diff) |
Revert "perf probe: Fix to fall back to find probe point in symbols"
This reverts commit 906451b98b67 ("perf probe: Fix to fall back to find probe point in symbols").
Since 'perf probe' now retries with the address of given symbol searched from
map before this path, this fall back routine isn't needed anymore.
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Naohiro Aota <naota@elisp.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20150306073124.6904.1751.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/probe-event.c')
-rw-r--r-- | tools/perf/util/probe-event.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c index 4cfd1211a2ae..c379ea0edfd5 100644 --- a/tools/perf/util/probe-event.c +++ b/tools/perf/util/probe-event.c | |||
@@ -630,11 +630,9 @@ static int try_to_find_probe_trace_events(struct perf_probe_event *pev, | |||
630 | } | 630 | } |
631 | 631 | ||
632 | if (ntevs == 0) { /* No error but failed to find probe point. */ | 632 | if (ntevs == 0) { /* No error but failed to find probe point. */ |
633 | pr_warning("Probe point '%s' not found in debuginfo.\n", | 633 | pr_warning("Probe point '%s' not found.\n", |
634 | synthesize_perf_probe_point(&pev->point)); | 634 | synthesize_perf_probe_point(&pev->point)); |
635 | if (need_dwarf) | 635 | return -ENOENT; |
636 | return -ENOENT; | ||
637 | return 0; | ||
638 | } | 636 | } |
639 | /* Error path : ntevs < 0 */ | 637 | /* Error path : ntevs < 0 */ |
640 | pr_debug("An error occurred in debuginfo analysis (%d).\n", ntevs); | 638 | pr_debug("An error occurred in debuginfo analysis (%d).\n", ntevs); |