Home
last modified time | relevance | path

Searched refs:thread__maps (Results 1 – 21 of 21) sorted by relevance

/linux-6.15/tools/perf/tests/
H A Dthread-maps-share.c45 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 Dcode-reading.c373 ret_len = dso__data_read_offset(dso, maps__machine(thread__maps(thread)), in read_object_code()
/linux-6.15/tools/perf/util/
H A Dthread.c35 thread__set_maps(thread, maps__get(thread__maps(leader))); in thread__init_maps()
40 return thread__maps(thread) ? 0 : -1; in thread__init_maps()
99 if (thread__maps(thread)) { in thread__delete()
100 maps__put(thread__maps(thread)); in thread__delete()
251 unwind__flush_access(thread__maps(thread)); in ____thread__set_comm()
337 maps__fprintf(thread__maps(thread), fp); in thread__fprintf()
344 ret = unwind__prepare_access(thread__maps(thread), map, NULL); in thread__insert_map()
373 args.maps = thread__maps(thread); in thread__prepare_access()
386 if (maps__equal(thread__maps(thread), thread__maps(parent))) { in thread__clone_maps()
393 return do_maps_clone ? maps__copy_from(thread__maps(thread), thread__maps(parent)) : 0; in thread__clone_maps()
[all …]
H A Dunwind-libunwind.c87 const struct unwind_libunwind_ops *ops = maps__unwind_libunwind_ops(thread__maps(thread)); in unwind__get_entries()
H A Dmachine.c367 if (!maps__empty(thread__maps(thread))) in findnew_guest_code()
380 err = maps__copy_from(thread__maps(thread), thread__maps(host_thread)); in findnew_guest_code()
457 if (!thread__maps(leader)) in machine__update_thread_pid()
460 if (!thread__maps(leader)) in machine__update_thread_pid()
463 if (thread__maps(th) == thread__maps(leader)) in machine__update_thread_pid()
466 if (thread__maps(th)) { in machine__update_thread_pid()
472 if (!maps__empty(thread__maps(th))) in machine__update_thread_pid()
475 maps__put(thread__maps(th)); in machine__update_thread_pid()
478 thread__set_maps(th, maps__get(thread__maps(leader))); in machine__update_thread_pid()
2664 if (machine__normalized_is(maps__machine(thread__maps(thread)), "arm64")) in get_leaf_frame_caller()
H A Dunwind-libunwind-local.c346 maps__for_each_map(thread__maps(ui->thread), read_unwind_spec_eh_frame_maps_cb, &args); in read_unwind_spec_eh_frame()
757 addr_space = maps__addr_space(thread__maps(ui->thread)); in get_entries()
807 .machine = maps__machine(thread__maps(thread)), in _unwind__get_entries()
H A Ddlfilter.c233 if (thread__maps(al->thread)) { in dlfilter__insn()
234 struct machine *machine = maps__machine(thread__maps(al->thread)); in dlfilter__insn()
H A Dvdso.c166 maps__for_each_map(thread__maps(thread), machine__thread_dso_type_maps_cb, &args); in machine__thread_dso_type()
H A Dunwind-libdw.c269 .machine = maps__machine((thread__maps(thread))), in unwind__get_entries()
H A Dthread.h134 static inline struct maps *thread__maps(struct thread *thread) in thread__maps() function
H A Dthread-stack.c158 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 Devent.c621 struct maps *maps = thread__maps(thread); in thread__find_map()
687 struct machine *machine = maps__machine(thread__maps(thread)); in thread__find_map_fb()
H A Ddb-export.c257 al.maps = maps__get(thread__maps(thread)); in call_path_from_sample()
H A Dcs-etm.c1142 len = dso__data_read_offset(dso, maps__machine(thread__maps(tidq->thread)), in cs_etm__mem_access()
/linux-6.15/tools/perf/scripts/python/Perf-Trace-Util/
H A DContext.c93 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-6.15/tools/perf/arch/arm/tests/
H A Ddwarf-unwind.c29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
/linux-6.15/tools/perf/arch/arm64/tests/
H A Ddwarf-unwind.c29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
/linux-6.15/tools/perf/arch/powerpc/tests/
H A Ddwarf-unwind.c29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
/linux-6.15/tools/perf/arch/x86/tests/
H A Ddwarf-unwind.c29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
/linux-6.15/tools/perf/ui/stdio/
H A Dhist.c892 maps__fprintf(thread__maps(h->thread), fp); in hists__fprintf()
/linux-6.15/tools/perf/
H A Dbuiltin-report.c923 maps__fprintf_task(thread__maps(thread), comm_indent, fp); in task__print_level()