diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2016-09-01 22:25:52 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-09-05 14:14:50 +0000 |
| commit | be39db9f2932f0ce4e116c71ba5ae2b542e536a7 (patch) | |
| tree | ea3887e9487c3c3955657af77988b563b0fd9039 /tools/perf/util/annotate.c | |
| parent | perf test vmlinux: Remove dead symbol_filter_t code (diff) | |
| download | kernel-be39db9f2932f0ce4e116c71ba5ae2b542e536a7.tar.gz kernel-be39db9f2932f0ce4e116c71ba5ae2b542e536a7.zip | |
perf symbols: Remove symbol_filter_t machinery
We're not using it anymore, few users were, but we really could do
without it, simplify lots of functions by removing it.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
| -rw-r--r-- | tools/perf/util/annotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index 1b59e3129216..2ff6bd74e435 100644 --- a/tools/perf/util/annotate.c +++ b/tools/perf/util/annotate.c @@ -1077,7 +1077,7 @@ static int symbol__parse_objdump_line(struct symbol *sym, struct map *map, .addr = dl->ops.target.addr, }; - if (!map_groups__find_ams(&target, NULL) && + if (!map_groups__find_ams(&target) && target.sym->start == target.al_addr) dl->ops.target.name = strdup(target.sym->name); } |
