/openbmc/linux/tools/perf/util/ |
H A D | maps.c | 40 const u64 ip = map__start(map); in __maps__insert() 53 if (ip < map__start(m->map)) in __maps__insert() 296 if (map__end(pos->map) > map__start(map)) { in maps__fixup_overlappings() 298 if (map__start(pos->map) <= map__start(map)) in maps__fixup_overlappings() 314 if (map__start(pos->map) >= map__end(map)) in maps__fixup_overlappings() 334 if (map__start(map) > map__start(pos->map)) { in maps__fixup_overlappings() 342 map__set_end(before, map__start(map)); in maps__fixup_overlappings() 441 if (ip < map__start(m->map)) in maps__find() 492 ret = (int)map__start(map_a) - (int)map__start(map_b); in map__strcmp() 638 if (map__start(new_map) < map__start(old_map)) { in maps__merge_in() [all …]
|
H A D | map.c | 437 map__start(map), map__end(map), map__pgoff(map), dso->name); in map__fprintf() 602 return ip >= map__start(map) && ip < map__end(map); in map__contains_symbol() 636 return ip - map__start(map) + map__pgoff(map); in map__dso_map_ip() 641 return ip + map__start(map) - map__pgoff(map); in map__dso_unmap_ip()
|
H A D | symbol_fprintf.c | 33 offset = al->addr - map__start(al->map) - sym->start; in __symbol__fprintf_symname_offs()
|
H A D | map.h | 76 static inline u64 map__start(const struct map *map) in map__start() function 123 return map__end(map) - map__start(map); in map__size()
|
H A D | unwind-libdw.c | 70 base = map__start(al->map); in __report_module() 72 base = map__start(al->map) - map__pgoff(al->map); in __report_module()
|
H A D | unwind-libunwind-local.c | 330 u64 start = map__start(map) - map__pgoff(map); in read_unwind_spec_eh_frame() 455 di.start_ip = map__start(map); in find_proc_info() 471 u64 start = map__start(map); in find_proc_info()
|
H A D | dlfilter.c | 56 d_al->symoff = al->addr - map__start(al->map) - sym->start; in al_to_d_al() 309 if (al->map && ip >= map__start(al->map) && ip < map__end(al->map) && in dlfilter__object_code()
|
H A D | symbol.c | 792 pos->start -= map__start(curr_map) - map__pgoff(curr_map); in maps__split_kallsyms_for_kcore() 796 pos->end -= map__start(curr_map) - map__pgoff(curr_map); in maps__split_kallsyms_for_kcore() 1139 if (!mi || mi->start != map__start(old_map)) { in do_validate_kcore_modules() 1233 map__set_end(list_node->map, map__start(list_node->map) + len); in kcore_mapfn() 1316 if (!(stext >= map__start(new_map) && stext < map__end(new_map))) in dso__load_kcore() 1345 map__set_start(map, map__start(new_map)); in dso__load_kcore()
|
H A D | machine.c | 930 map__set_end(map, map__start(map) + event->ksymbol.len); in machine__process_ksymbol_register() 947 sym = symbol__new(map__map_ip(map, map__start(map)), in machine__process_ksymbol_register() 977 sym = dso__find_symbol(dso, map__map_ip(map, map__start(map))); in machine__process_ksymbol_unregister() 1250 kmap->name, map__start(map), map__end(map)); in machine__create_extra_kernel_map() 1759 machine__set_kernel_mmap(machine, start, map__start(next->map)); in machine__create_kernel_maps() 1831 map__set_end(map, map__start(map) + xm->end - xm->start); in machine__process_kernel_mmap_event() 3336 machine->kernel_start = map__start(map); in machine__get_kernel_start()
|
H A D | synthetic-events.c | 709 event->mmap2.start = map__start(map); in perf_event__synthesize_modules() 723 event->mmap.start = map__start(map); in perf_event__synthesize_modules() 1146 event->mmap2.start = map__start(map); in __perf_event__synthesize_kernel_mmap() 1159 event->mmap.start = map__start(map); in __perf_event__synthesize_kernel_mmap()
|
H A D | symbol-elf.c | 1393 map__set_end(map, map__start(map) + shdr->sh_size); in dso__process_kernel_symbol() 1435 start += map__start(map) + shdr->sh_offset; in dso__process_kernel_symbol() 1455 map__set_end(curr_map, map__start(curr_map) + shdr->sh_size); in dso__process_kernel_symbol() 1576 map__set_reloc(map, map__start(map) - dso->text_offset); in dso__load_sym_internal()
|
H A D | intel-pt.c | 2779 if (ip >= map__start(map) && ip < map__end(map)) { in intel_pt_switch_ip() 2797 if (ip >= map__start(map) && ip < map__end(map)) { in intel_pt_switch_ip() 3385 if (!al->map || addr < map__start(al->map) || addr >= map__end(al->map)) { in intel_pt_find_map()
|
H A D | probe-event.c | 148 ((reladdr) ? map__start(map) : 0); in kernel_get_symbol_address_by_name() 262 ret = address <= map__start(map) || map__end(map) < address; in kprobe_warn_out_range()
|
H A D | annotate.c | 1061 start->addr == ams->ms.sym->start + map__start(ams->ms.map)))) in addr_map_symbol__account_cycles() 1067 ams->ms.sym ? ams->ms.sym->start + map__start(ams->ms.map) : 0, in addr_map_symbol__account_cycles()
|
/openbmc/linux/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 322 mem_start = map__unmap_ip(vmlinux_map, map__start(map)); in test__vmlinux_matches_kallsyms() 329 if (map__start(pair) == mem_start) { in test__vmlinux_matches_kallsyms() 338 map__start(map), map__end(map), map__pgoff(map), dso->name); in test__vmlinux_matches_kallsyms() 341 map__start(pair), map__end(pair), map__pgoff(pair)); in test__vmlinux_matches_kallsyms()
|
H A D | maps.c | 30 if (map__start(map) != merged[i].start || in check_maps() 50 map__start(map), in check_maps()
|
H A D | mmap-thread-lookup.c | 207 pr_debug("map %p, addr %" PRIx64 "\n", al.map, map__start(al.map)); in mmap_events()
|
H A D | code-reading.c | 295 if (state->done[d] == map__start(al.map)) { in read_object_code() 305 state->done[state->done_cnt++] = map__start(al.map); in read_object_code()
|
/openbmc/linux/tools/perf/arch/x86/util/ |
H A D | event.c | 62 event->mmap.start = map__start(map); in perf_event__synthesize_extra_kmaps()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-buildid-list.c | 33 printf("%s %16" PRIx64 " %16" PRIx64, bid_buf, map__start(map), map__end(map)); in buildid__map_cb()
|
H A D | builtin-report.c | 856 indent, "", map__start(map), map__end(map), in maps__fprintf_task()
|
H A D | builtin-top.c | 186 map__start(map), map__end(map), sym->start, sym->end, in ui__warn_map_erange()
|
H A D | builtin-script.c | 1212 off = al.addr - map__start(al.map) - al.sym->start; in ip__fprintf_sym()
|
/openbmc/linux/tools/perf/arch/powerpc/util/ |
H A D | skip-callchain-idx.c | 267 rc = check_return_addr(dso, map__start(al.map), ip); in arch_skip_callchain_idx()
|
/openbmc/linux/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 410 offset = al->addr - map__start(al->map) - sym->start; in get_offset() 801 PyLong_FromUnsignedLong(map__start(al->map))); in set_sym_in_dict()
|