/linux/tools/perf/util/ |
H A D | maps.c | 75 assert(map__end(map) == 0 || map__start(map) <= map__end(map)); in check_invariants() 95 assert(map__end(prev) <= map__end(map)); in check_invariants() 96 assert(map__end(prev) <= map__start(map) || in check_invariants() 305 u64 map_a_end = map__end(map_a); in map__start_cmp() 306 u64 map_b_end = map__end(map_b); in map__start_cmp() 499 map__end(maps_by_address[nr_maps - 2]) <= map__start(new)); in __maps__insert() 502 if (map__end(new) < map__start(new)) in __maps__insert() 677 if (ams->addr < map__start(ams->ms.map) || ams->addr >= map__end(ams->ms.map)) { in maps__find_ams() 731 if (low <= high && map__end(maps_by_address[0]) > map__start(map)) in first_ending_after() 738 if (map__end(pos) > map__start(map)) { in first_ending_after() [all …]
|
H A D | map.h | 57 static inline u64 map__end(const struct map *map) in map__end() function 104 return map__end(map) - map__start(map); in map__size()
|
H A D | dlfilter.c | 292 if (ip + len >= map__end(map)) in code_read() 293 len = map__end(map) - ip; in code_read() 312 if (al->map && ip >= map__start(al->map) && ip < map__end(al->map) && in dlfilter__object_code()
|
H A D | map.c | 435 map__start(map), map__end(map), map__pgoff(map), dso__name(dso)); in map__fprintf() 609 return ip >= map__start(map) && ip < map__end(map); in map__contains_symbol()
|
H A D | unwind-libunwind-local.c | 473 di.end_ip = map__end(map); in find_proc_info() 500 if (dwarf_find_debug_frame(0, &di, ip, base, symfile, start, map__end(map))) in find_proc_info()
|
H A D | symbol.c | 840 if (pos->end > map__end(curr_map)) in maps__split_kallsyms_for_kcore() 841 pos->end = map__end(curr_map); in maps__split_kallsyms_for_kcore() 1369 if (!(stext >= map__start(new_map) && stext < map__end(new_map))) in dso__load_kcore() 1397 map__set_end(map_ref, map__end(replacement_map)); in dso__load_kcore()
|
H A D | intel-pt.c | 908 if (*ip >= map__end(al.map)) in intel_pt_walk_next_insn() 2985 if (ip >= map__start(map) && ip < map__end(map)) { in intel_pt_switch_ip() 3003 if (ip >= map__start(map) && ip < map__end(map)) { in intel_pt_switch_ip() 3635 if (!al->map || addr < map__start(al->map) || addr >= map__end(al->map)) { in intel_pt_find_map()
|
H A D | synthetic-events.c | 1171 event->mmap2.len = map__end(map) - event->mmap.start; in __perf_event__synthesize_kernel_mmap() 1184 event->mmap.len = map__end(map) - event->mmap.start; in __perf_event__synthesize_kernel_mmap()
|
H A D | machine.c | 1061 kmap->name, map__start(map), map__end(map)); in machine__create_extra_kernel_map()
|
H A D | probe-event.c | 280 ret = address <= map__start(map) || map__end(map) < address; in kprobe_warn_out_range()
|
/linux/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 151 u64 mem_end = map__unmap_ip(args->vmlinux_map, map__end(map)); in test__vmlinux_matches_kallsyms_cb2() 164 map__start(map), map__end(map), map__pgoff(map), dso__name(dso)); in test__vmlinux_matches_kallsyms_cb2() 165 if (mem_end != map__end(pair)) in test__vmlinux_matches_kallsyms_cb2() 167 map__start(pair), map__end(pair), map__pgoff(pair)); in test__vmlinux_matches_kallsyms_cb2() 344 } else if (mem_start == map__end(args.kallsyms.vmlinux_map)) { in test__vmlinux_matches_kallsyms()
|
H A D | maps.c | 28 map__end(map) != merged->end || in check_maps_cb() 41 map__end(map), in failed_cb()
|
H A D | code-reading.c | 359 if (addr + len > map__end(al.map)) in read_object_code() 360 len = map__end(al.map) - addr; in read_object_code()
|
/linux/tools/perf/arch/arm64/tests/ |
H A D | dwarf-unwind.c | 36 stack_size = map__end(map) - sp; in sample_ustack()
|
/linux/tools/perf/arch/arm/tests/ |
H A D | dwarf-unwind.c | 36 stack_size = map__end(map) - sp; in sample_ustack()
|
/linux/tools/perf/arch/powerpc/tests/ |
H A D | dwarf-unwind.c | 36 stack_size = map__end(map) - sp; in sample_ustack()
|
/linux/tools/perf/arch/x86/tests/ |
H A D | dwarf-unwind.c | 36 stack_size = map__end(map) - sp; in sample_ustack()
|
/linux/tools/perf/ |
H A D | builtin-buildid-list.c | 35 printf("%s %16" PRIx64 " %16" PRIx64, bid_buf, map__start(map), map__end(map)); in buildid__map_cb()
|
H A D | builtin-top.c | 187 map__start(map), map__end(map), sym->start, sym->end, in ui__warn_map_erange()
|
H A D | builtin-report.c | 875 args->indent, "", map__start(map), map__end(map), in maps__fprintf_task_cb()
|
H A D | builtin-inject.c | 889 map__end(map) - map__start(map), in mark_dso_hit()
|
/linux/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 795 PyLong_FromUnsignedLong(map__end(al->map))); in set_sym_in_dict()
|