|
@@ -592,7 +592,7 @@ int perf_event__process(struct perf_tool *tool __maybe_unused,
|
|
|
void thread__find_addr_map(struct thread *self,
|
|
|
struct machine *machine, u8 cpumode,
|
|
|
enum map_type type, u64 addr,
|
|
|
- struct addr_location *al, symbol_filter_t filter)
|
|
|
+ struct addr_location *al)
|
|
|
{
|
|
|
struct map_groups *mg = &self->mg;
|
|
|
bool load_map = false;
|
|
@@ -663,7 +663,7 @@ try_again:
|
|
|
* must be done prior to using kernel maps.
|
|
|
*/
|
|
|
if (load_map)
|
|
|
- map__load(al->map, filter);
|
|
|
+ map__load(al->map, machine->symbol_filter);
|
|
|
al->addr = al->map->map_ip(al->map, al->addr);
|
|
|
}
|
|
|
}
|
|
@@ -672,8 +672,7 @@ void thread__find_addr_location(struct thread *thread, struct machine *machine,
|
|
|
u8 cpumode, enum map_type type, u64 addr,
|
|
|
struct addr_location *al)
|
|
|
{
|
|
|
- thread__find_addr_map(thread, machine, cpumode, type, addr, al,
|
|
|
- machine->symbol_filter);
|
|
|
+ thread__find_addr_map(thread, machine, cpumode, type, addr, al);
|
|
|
if (al->map != NULL)
|
|
|
al->sym = map__find_symbol(al->map, al->addr,
|
|
|
machine->symbol_filter);
|
|
@@ -709,7 +708,7 @@ int perf_event__preprocess_sample(const union perf_event *event,
|
|
|
machine__create_kernel_maps(machine);
|
|
|
|
|
|
thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION,
|
|
|
- event->ip.ip, al, machine->symbol_filter);
|
|
|
+ event->ip.ip, al);
|
|
|
dump_printf(" ...... dso: %s\n",
|
|
|
al->map ? al->map->dso->long_name :
|
|
|
al->level == 'H' ? "[hypervisor]" : "<not found>");
|