| /linux/tools/perf/tests/ |
| H A D | thread-maps-share.c | 45 maps = thread__maps(leader); in test__thread_maps_share() 49 TEST_ASSERT_VAL("maps don't match", maps__equal(maps, thread__maps(t1))); in test__thread_maps_share() 50 TEST_ASSERT_VAL("maps don't match", maps__equal(maps, thread__maps(t2))); in test__thread_maps_share() 51 TEST_ASSERT_VAL("maps don't match", maps__equal(maps, thread__maps(t3))); in test__thread_maps_share() 73 other_maps = thread__maps(other); in test__thread_maps_share() 76 TEST_ASSERT_VAL("maps don't match", maps__equal(other_maps, thread__maps(other_leader))); in test__thread_maps_share()
|
| H A D | code-reading.c | 446 ret_len = dso__data_read_offset(dso, maps__machine(thread__maps(thread)), in read_object_code()
|
| /linux/tools/perf/util/ |
| H A D | thread.c | 35 thread__set_maps(thread, maps__get(thread__maps(leader))); in thread__init_maps() 40 return thread__maps(thread) ? 0 : -1; in thread__init_maps() 100 if (thread__maps(thread)) { in thread__delete() 101 maps__put(thread__maps(thread)); in thread__delete() 268 unwind__flush_access(thread__maps(thread)); in ____thread__set_comm() 355 maps__fprintf(thread__maps(thread), fp); in thread__fprintf() 362 ret = unwind__prepare_access(thread__maps(thread), map, NULL); in thread__insert_map() 366 return maps__fixup_overlap_and_insert(thread__maps(thread), map); in thread__insert_map() 391 args.maps = thread__maps(thread); in thread__prepare_access() 392 maps__for_each_map(thread__maps(thread), thread__prepare_access_maps_cb, &args); in thread__prepare_access() [all …]
|
| H A D | db-export.c | 184 err = db_export__dso(dbe, dso, maps__machine(thread__maps(al->thread))); in db_ids_from_al() 364 if (thread__maps(thread)) in db_export__sample() 365 machine = maps__machine(thread__maps(thread)); in db_export__sample()
|
| H A D | unwind-libunwind.c | 87 const struct unwind_libunwind_ops *ops = maps__unwind_libunwind_ops(thread__maps(thread)); in unwind__get_entries()
|
| H A D | machine.c | 402 if (!maps__empty(thread__maps(thread))) in findnew_guest_code() 415 err = maps__copy_from(thread__maps(thread), thread__maps(host_thread)); in findnew_guest_code() 492 if (!thread__maps(leader)) in machine__update_thread_pid() 495 if (!thread__maps(leader)) in machine__update_thread_pid() 498 if (thread__maps(th) == thread__maps(leader)) in machine__update_thread_pid() 501 if (thread__maps(th)) { in machine__update_thread_pid() 507 if (!maps__empty(thread__maps(th))) in machine__update_thread_pid() 510 maps__put(thread__maps(th)); in machine__update_thread_pid() 513 thread__set_maps(th, maps__get(thread__maps(leader))); in machine__update_thread_pid() 2773 if (machine__normalized_is(maps__machine(thread__maps(thread)), "arm64")) in get_leaf_frame_caller()
|
| H A D | unwind-libunwind-local.c | 346 maps__for_each_map(thread__maps(ui->thread), read_unwind_spec_eh_frame_maps_cb, &args); in read_unwind_spec_eh_frame() 758 addr_space = maps__addr_space(thread__maps(ui->thread)); in get_entries() 808 .machine = maps__machine(thread__maps(thread)), in _unwind__get_entries()
|
| H A D | capstone.c | 376 if (capstone_init(maps__machine(thread__maps(args->ms->thread)), &handle, is_64bit, in symbol__disassemble_capstone() 487 if (capstone_init(maps__machine(thread__maps(args->ms->thread)), &handle, is_64bit, in symbol__disassemble_capstone_powerpc()
|
| H A D | dlfilter.c | 233 if (thread__maps(al->thread)) { in dlfilter__insn() 234 struct machine *machine = maps__machine(thread__maps(al->thread)); in dlfilter__insn()
|
| H A D | vdso.c | 166 maps__for_each_map(thread__maps(thread), machine__thread_dso_type_maps_cb, &args); in machine__thread_dso_type()
|
| H A D | thread-stack.c | 158 if (thread__maps(thread) && maps__machine(thread__maps(thread))) { in thread_stack__init() 159 struct machine *machine = maps__machine(thread__maps(thread)); in thread_stack__init()
|
| H A D | thread.h | 138 static inline struct maps *thread__maps(struct thread *thread) in thread__maps() function
|
| H A D | unwind-libdw.c | 348 struct maps *maps = thread__maps(thread); in unwind__get_entries()
|
| H A D | event.c | 697 struct maps *maps = thread__maps(thread); in thread__find_map() 761 struct machine *machine = maps__machine(thread__maps(thread)); in thread__find_map_fb()
|
| H A D | disasm.c | 273 if (maps__find_ams(thread__maps(ms->thread), &target) == 0 && in call__parse() 407 if (maps__find_ams(thread__maps(ms->thread), &target) == 0 && in jump__parse() 1070 if (!maps__find_ams(thread__maps(args->ms->thread), &target) && in symbol__parse_objdump_line()
|
| H A D | callchain.c | 1154 machine = maps__machine(thread__maps(node->ms.thread)); in fill_callchain_info() 1168 if (maps__equal(thread__maps(al->thread), machine__kernel_maps(machine))) { in fill_callchain_info()
|
| /linux/tools/perf/util/annotate-arch/ |
| H A D | annotate-loongarch.c | 54 if (maps__find_ams(thread__maps(ms->thread), &target) == 0 && in loongarch_call__parse() 98 if (maps__find_ams(thread__maps(ms->thread), &target) == 0 && in loongarch_jump__parse()
|
| H A D | annotate-s390.c | 53 if (maps__find_ams(thread__maps(ms->thread), &target) == 0 && in s390_call__parse()
|
| /linux/tools/perf/scripts/python/Perf-Trace-Util/ |
| H A D | Context.c | 93 if (c->sample->ip && !c->sample->insn_len && thread__maps(c->al->thread)) { in perf_sample_insn() 94 struct machine *machine = maps__machine(thread__maps(c->al->thread)); in perf_sample_insn()
|
| /linux/tools/perf/arch/arm64/tests/ |
| H A D | dwarf-unwind.c | 29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
|
| /linux/tools/perf/arch/arm/tests/ |
| H A D | dwarf-unwind.c | 29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
|
| /linux/tools/perf/arch/powerpc/tests/ |
| H A D | dwarf-unwind.c | 29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
|
| /linux/tools/perf/arch/x86/tests/ |
| H A D | dwarf-unwind.c | 29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
|
| /linux/tools/perf/ui/stdio/ |
| H A D | hist.c | 905 maps__fprintf(thread__maps(h->thread), fp); in hists__fprintf()
|
| /linux/tools/perf/ |
| H A D | builtin-report.c | 934 maps__fprintf_task(thread__maps(thread), comm_indent, fp); in task__print_level()
|