Lines Matching refs:al
794 struct addr_location *al) in thread__find_addr_map() argument
800 al->machine = machine; in thread__find_addr_map()
801 al->thread = thread; in thread__find_addr_map()
802 al->addr = addr; in thread__find_addr_map()
803 al->cpumode = cpumode; in thread__find_addr_map()
804 al->filtered = 0; in thread__find_addr_map()
807 al->map = NULL; in thread__find_addr_map()
812 al->level = 'k'; in thread__find_addr_map()
816 al->level = '.'; in thread__find_addr_map()
818 al->level = 'g'; in thread__find_addr_map()
822 al->level = 'u'; in thread__find_addr_map()
824 al->level = 'H'; in thread__find_addr_map()
825 al->map = NULL; in thread__find_addr_map()
830 al->filtered |= (1 << HIST_FILTER__GUEST); in thread__find_addr_map()
834 al->filtered |= (1 << HIST_FILTER__HOST); in thread__find_addr_map()
839 al->map = map_groups__find(mg, type, al->addr); in thread__find_addr_map()
840 if (al->map == NULL) { in thread__find_addr_map()
852 machine__kernel_ip(machine, al->addr)) { in thread__find_addr_map()
863 map__load(al->map, machine->symbol_filter); in thread__find_addr_map()
864 al->addr = al->map->map_ip(al->map, al->addr); in thread__find_addr_map()
870 struct addr_location *al) in thread__find_addr_location() argument
872 thread__find_addr_map(thread, cpumode, type, addr, al); in thread__find_addr_location()
873 if (al->map != NULL) in thread__find_addr_location()
874 al->sym = map__find_symbol(al->map, al->addr, in thread__find_addr_location()
877 al->sym = NULL; in thread__find_addr_location()
882 struct addr_location *al, in perf_event__preprocess_sample() argument
904 thread__find_addr_map(thread, cpumode, MAP__FUNCTION, sample->ip, al); in perf_event__preprocess_sample()
906 al->map ? al->map->dso->long_name : in perf_event__preprocess_sample()
907 al->level == 'H' ? "[hypervisor]" : "<not found>"); in perf_event__preprocess_sample()
910 al->filtered |= (1 << HIST_FILTER__THREAD); in perf_event__preprocess_sample()
912 al->sym = NULL; in perf_event__preprocess_sample()
913 al->cpu = sample->cpu; in perf_event__preprocess_sample()
915 if (al->map) { in perf_event__preprocess_sample()
916 struct dso *dso = al->map->dso; in perf_event__preprocess_sample()
924 al->filtered |= (1 << HIST_FILTER__DSO); in perf_event__preprocess_sample()
927 al->sym = map__find_symbol(al->map, al->addr, in perf_event__preprocess_sample()
932 (!al->sym || !strlist__has_entry(symbol_conf.sym_list, in perf_event__preprocess_sample()
933 al->sym->name))) { in perf_event__preprocess_sample()
934 al->filtered |= (1 << HIST_FILTER__SYMBOL); in perf_event__preprocess_sample()
964 struct addr_location *al) in perf_event__preprocess_sample_addr() argument
968 thread__find_addr_map(thread, cpumode, MAP__FUNCTION, sample->addr, al); in perf_event__preprocess_sample_addr()
969 if (!al->map) in perf_event__preprocess_sample_addr()
971 sample->addr, al); in perf_event__preprocess_sample_addr()
973 al->cpu = sample->cpu; in perf_event__preprocess_sample_addr()
974 al->sym = NULL; in perf_event__preprocess_sample_addr()
976 if (al->map) in perf_event__preprocess_sample_addr()
977 al->sym = map__find_symbol(al->map, al->addr, NULL); in perf_event__preprocess_sample_addr()