Lines Matching refs:al

900 			   struct addr_location *al)  in thread__find_addr_map()  argument
906 al->machine = machine; in thread__find_addr_map()
907 al->thread = thread; in thread__find_addr_map()
908 al->addr = addr; in thread__find_addr_map()
909 al->cpumode = cpumode; in thread__find_addr_map()
910 al->filtered = 0; in thread__find_addr_map()
913 al->map = NULL; in thread__find_addr_map()
918 al->level = 'k'; in thread__find_addr_map()
922 al->level = '.'; in thread__find_addr_map()
924 al->level = 'g'; in thread__find_addr_map()
928 al->level = 'u'; in thread__find_addr_map()
930 al->level = 'H'; in thread__find_addr_map()
931 al->map = NULL; in thread__find_addr_map()
936 al->filtered |= (1 << HIST_FILTER__GUEST); in thread__find_addr_map()
940 al->filtered |= (1 << HIST_FILTER__HOST); in thread__find_addr_map()
945 al->map = map_groups__find(mg, type, al->addr); in thread__find_addr_map()
946 if (al->map == NULL) { in thread__find_addr_map()
958 machine__kernel_ip(machine, al->addr)) { in thread__find_addr_map()
969 map__load(al->map, machine->symbol_filter); in thread__find_addr_map()
970 al->addr = al->map->map_ip(al->map, al->addr); in thread__find_addr_map()
976 struct addr_location *al) in thread__find_addr_location() argument
978 thread__find_addr_map(thread, cpumode, type, addr, al); in thread__find_addr_location()
979 if (al->map != NULL) in thread__find_addr_location()
980 al->sym = map__find_symbol(al->map, al->addr, in thread__find_addr_location()
983 al->sym = NULL; in thread__find_addr_location()
992 struct addr_location *al, in perf_event__preprocess_sample() argument
1014 thread__find_addr_map(thread, cpumode, MAP__FUNCTION, sample->ip, al); in perf_event__preprocess_sample()
1016 al->map ? al->map->dso->long_name : in perf_event__preprocess_sample()
1017 al->level == 'H' ? "[hypervisor]" : "<not found>"); in perf_event__preprocess_sample()
1020 al->filtered |= (1 << HIST_FILTER__THREAD); in perf_event__preprocess_sample()
1022 al->sym = NULL; in perf_event__preprocess_sample()
1023 al->cpu = sample->cpu; in perf_event__preprocess_sample()
1024 al->socket = -1; in perf_event__preprocess_sample()
1026 if (al->cpu >= 0) { in perf_event__preprocess_sample()
1030 al->socket = env->cpu[al->cpu].socket_id; in perf_event__preprocess_sample()
1033 if (al->map) { in perf_event__preprocess_sample()
1034 struct dso *dso = al->map->dso; in perf_event__preprocess_sample()
1042 al->filtered |= (1 << HIST_FILTER__DSO); in perf_event__preprocess_sample()
1045 al->sym = map__find_symbol(al->map, al->addr, in perf_event__preprocess_sample()
1050 (!al->sym || !strlist__has_entry(symbol_conf.sym_list, in perf_event__preprocess_sample()
1051 al->sym->name))) { in perf_event__preprocess_sample()
1052 al->filtered |= (1 << HIST_FILTER__SYMBOL); in perf_event__preprocess_sample()
1064 void addr_location__put(struct addr_location *al) in addr_location__put() argument
1066 thread__zput(al->thread); in addr_location__put()
1093 struct addr_location *al) in perf_event__preprocess_sample_addr() argument
1097 thread__find_addr_map(thread, cpumode, MAP__FUNCTION, sample->addr, al); in perf_event__preprocess_sample_addr()
1098 if (!al->map) in perf_event__preprocess_sample_addr()
1100 sample->addr, al); in perf_event__preprocess_sample_addr()
1102 al->cpu = sample->cpu; in perf_event__preprocess_sample_addr()
1103 al->sym = NULL; in perf_event__preprocess_sample_addr()
1105 if (al->map) in perf_event__preprocess_sample_addr()
1106 al->sym = map__find_symbol(al->map, al->addr, NULL); in perf_event__preprocess_sample_addr()