summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/event.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2016-09-01 18:53:58 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-09-05 11:14:50 -0300
commit0890e97c20333c439a9bda6a94dd16ed5f508429 (patch)
tree97547f589b9e54e28d03d846ca4b240592b30c8a /tools/perf/util/event.c
parentb6220212d48a9bfbc694d10b38dbdfbaab81f4a0 (diff)
downloadop-kernel-dev-0890e97c20333c439a9bda6a94dd16ed5f508429.zip
op-kernel-dev-0890e97c20333c439a9bda6a94dd16ed5f508429.tar.gz
perf machine: Remove machine->symbol_filter and friends
Including machines__set_symbol_filter(), not used anymore. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-7o1qgmrpvzuis4a9f0t8mnri@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/event.c')
-rw-r--r--tools/perf/util/event.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c
index e20438b..2f91183 100644
--- a/tools/perf/util/event.c
+++ b/tools/perf/util/event.c
@@ -1286,7 +1286,7 @@ try_again:
* must be done prior to using kernel maps.
*/
if (load_map)
- map__load(al->map, machine->symbol_filter);
+ map__load(al->map, NULL);
al->addr = al->map->map_ip(al->map, al->addr);
}
}
@@ -1297,8 +1297,7 @@ void thread__find_addr_location(struct thread *thread,
{
thread__find_addr_map(thread, cpumode, type, addr, al);
if (al->map != NULL)
- al->sym = map__find_symbol(al->map, al->addr,
- thread->mg->machine->symbol_filter);
+ al->sym = map__find_symbol(al->map, al->addr, NULL);
else
al->sym = NULL;
}
@@ -1359,8 +1358,7 @@ int machine__resolve(struct machine *machine, struct addr_location *al,
al->filtered |= (1 << HIST_FILTER__DSO);
}
- al->sym = map__find_symbol(al->map, al->addr,
- machine->symbol_filter);
+ al->sym = map__find_symbol(al->map, al->addr, NULL);
}
if (symbol_conf.sym_list &&
OpenPOWER on IntegriCloud