Lines Matching refs:al
712 struct addr_location al; in grab_bb() local
736 memset(&al, 0, sizeof(al)); in grab_bb()
745 thread__find_addr_map(thread, *cpumode, MAP__FUNCTION, start, &al); in grab_bb()
746 if (!al.map || !al.map->dso) { in grab_bb()
750 if (al.map->dso->data.status == DSO_DATA_STATUS_ERROR) { in grab_bb()
756 map__load(al.map); in grab_bb()
758 offset = al.map->map_ip(al.map, start); in grab_bb()
759 len = dso__data_read_offset(al.map->dso, machine, offset, (u8 *)buffer, in grab_bb()
762 *is64bit = al.map->dso->is_64_bit; in grab_bb()
792 struct addr_location al; in print_ip_sym() local
795 memset(&al, 0, sizeof(al)); in print_ip_sym()
797 thread__find_addr_map(thread, cpumode, MAP__FUNCTION, addr, &al); in print_ip_sym()
798 if (!al.map) in print_ip_sym()
800 addr, &al); in print_ip_sym()
801 if ((*lastsym) && al.addr >= (*lastsym)->start && al.addr < (*lastsym)->end) in print_ip_sym()
804 al.cpu = cpu; in print_ip_sym()
805 al.sym = NULL; in print_ip_sym()
806 if (al.map) in print_ip_sym()
807 al.sym = map__find_symbol(al.map, al.addr); in print_ip_sym()
809 if (!al.sym) in print_ip_sym()
812 if (al.addr < al.sym->end) in print_ip_sym()
813 off = al.addr - al.sym->start; in print_ip_sym()
815 off = al.addr - al.map->start - al.sym->start; in print_ip_sym()
816 printf("\t%s", al.sym->name); in print_ip_sym()
821 map__fprintf_srcline(al.map, al.addr, "\t", stdout); in print_ip_sym()
823 *lastsym = al.sym; in print_ip_sym()
937 struct addr_location al; in print_sample_addr() local
944 thread__resolve(thread, &al, sample); in print_sample_addr()
949 symbol__fprintf_symname_offs(al.sym, &al, stdout); in print_sample_addr()
951 symbol__fprintf_symname(al.sym, stdout); in print_sample_addr()
956 map__fprintf_dsoname(al.map, stdout); in print_sample_addr()
964 struct addr_location *al) in print_sample_callindent() argument
992 if (al->sym) in print_sample_callindent()
993 name = al->sym->name; in print_sample_callindent()
1038 struct addr_location *al, in print_sample_bts() argument
1046 print_sample_callindent(sample, evsel, thread, al); in print_sample_bts()
1054 thread__resolve_callchain(al->thread, &callchain_cursor, evsel, in print_sample_bts()
1067 sample__fprintf_sym(sample, al, 0, print_opts, cursor, stdout); in print_sample_bts()
1079 map__fprintf_srcline(al->map, al->addr, "\n ", stdout); in print_sample_bts()
1385 struct addr_location *al, in process_event() argument
1388 struct thread *thread = al->thread; in process_event()
1414 print_sample_bts(sample, evsel, thread, al, machine); in process_event()
1438 thread__resolve_callchain(al->thread, &callchain_cursor, evsel, in process_event()
1443 sample__fprintf_sym(sample, al, 0, output[type].print_ip_opts, cursor, stdout); in process_event()
1540 struct addr_location al; in process_sample_event() local
1556 if (machine__resolve(machine, &al, sample) < 0) { in process_sample_event()
1562 if (al.filtered) in process_sample_event()
1569 scripting_ops->process_event(event, sample, evsel, &al); in process_sample_event()
1571 process_event(scr, sample, evsel, &al, machine); in process_sample_event()
1574 addr_location__put(&al); in process_sample_event()