/openbmc/linux/tools/perf/util/ |
H A D | maps.c | 242 if (ams->addr < map__start(ams->ms.map) || ams->addr >= map__end(ams->ms.map)) { in maps__find_ams() 296 if (map__end(pos->map) > map__start(map)) { in maps__fixup_overlappings() 314 if (map__start(pos->map) >= map__end(map)) in maps__fixup_overlappings() 354 if (map__end(map) < map__end(pos->map)) { in maps__fixup_overlappings() 362 map__set_start(after, map__end(map)); in maps__fixup_overlappings() 363 map__add_pgoff(after, map__end(map) - map__start(pos->map)); in maps__fixup_overlappings() 364 assert(map__map_ip(pos->map, map__end(map)) == in maps__fixup_overlappings() 365 map__map_ip(after, map__end(map))); in maps__fixup_overlappings() 443 else if (ip >= map__end(m->map)) in maps__find() 604 if (prev != NULL && !map__end(prev->map)) in maps__fixup_end() [all …]
|
H A D | map.h | 81 static inline u64 map__end(const struct map *map) in map__end() function 123 return map__end(map) - map__start(map); in map__size()
|
H A D | dlfilter.c | 289 if (ip + len >= map__end(map)) in code_read() 290 len = map__end(map) - ip; in code_read() 309 if (al->map && ip >= map__start(al->map) && ip < map__end(al->map) && in dlfilter__object_code()
|
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()
|
H A D | unwind-libunwind-local.c | 456 di.end_ip = map__end(map); in find_proc_info() 481 if (dwarf_find_debug_frame(0, &di, ip, base, symfile, start, map__end(map))) in find_proc_info()
|
H A D | symbol.c | 793 if (pos->end > map__end(curr_map)) in maps__split_kallsyms_for_kcore() 794 pos->end = map__end(curr_map); in maps__split_kallsyms_for_kcore() 1316 if (!(stext >= map__start(new_map) && stext < map__end(new_map))) in dso__load_kcore() 1346 map__set_end(map, map__end(new_map)); in dso__load_kcore()
|
H A D | intel-pt.c | 906 if (*ip >= map__end(al.map)) in intel_pt_walk_next_insn() 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 | synthetic-events.c | 1147 event->mmap2.len = map__end(map) - event->mmap.start; in __perf_event__synthesize_kernel_mmap() 1160 event->mmap.len = map__end(map) - event->mmap.start; in __perf_event__synthesize_kernel_mmap()
|
H A D | probe-event.c | 262 ret = address <= map__start(map) || map__end(map) < address; in kprobe_warn_out_range()
|
H A D | machine.c | 1250 kmap->name, map__start(map), map__end(map)); in machine__create_extra_kernel_map()
|
/openbmc/linux/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 270 } else if (mem_start == map__end(kallsyms.vmlinux_map)) { in test__vmlinux_matches_kallsyms() 323 mem_end = map__unmap_ip(vmlinux_map, map__end(map)); in test__vmlinux_matches_kallsyms() 338 map__start(map), map__end(map), map__pgoff(map), dso->name); in test__vmlinux_matches_kallsyms() 339 if (mem_end != map__end(pair)) 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 | 31 map__end(map) != merged[i].end || in check_maps() 51 map__end(map), in check_maps()
|
H A D | code-reading.c | 269 if (addr + len > map__end(al.map)) in read_object_code() 270 len = map__end(al.map) - addr; in read_object_code()
|
/openbmc/linux/tools/perf/arch/powerpc/tests/ |
H A D | dwarf-unwind.c | 36 stack_size = map__end(map) - sp; in sample_ustack()
|
/openbmc/linux/tools/perf/arch/arm64/tests/ |
H A D | dwarf-unwind.c | 36 stack_size = map__end(map) - sp; in sample_ustack()
|
/openbmc/linux/tools/perf/arch/arm/tests/ |
H A D | dwarf-unwind.c | 36 stack_size = map__end(map) - sp; in sample_ustack()
|
/openbmc/linux/tools/perf/arch/x86/tests/ |
H A D | dwarf-unwind.c | 36 stack_size = map__end(map) - sp; in sample_ustack()
|
/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()
|
/openbmc/linux/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 803 PyLong_FromUnsignedLong(map__end(al->map))); in set_sym_in_dict()
|