Home
last modified time | relevance | path

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

/openbmc/linux/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", RC_CHK_ACCESS(maps) == RC_CHK_ACCESS(thread__maps(t1))); in test__thread_maps_share()
50 TEST_ASSERT_VAL("maps don't match", RC_CHK_ACCESS(maps) == RC_CHK_ACCESS(thread__maps(t2))); in test__thread_maps_share()
51 TEST_ASSERT_VAL("maps don't match", RC_CHK_ACCESS(maps) == RC_CHK_ACCESS(thread__maps(t3))); in test__thread_maps_share()
73 other_maps = thread__maps(other); in test__thread_maps_share()
77 RC_CHK_ACCESS(thread__maps(other_leader))); in test__thread_maps_share()
H A Dcode-reading.c273 ret_len = dso__data_read_offset(dso, maps__machine(thread__maps(thread)), in read_object_code()
/openbmc/linux/tools/perf/util/
H A Dthread.c32 thread__set_maps(thread, maps__get(thread__maps(leader))); in thread__init_maps()
37 return thread__maps(thread) ? 0 : -1; in thread__init_maps()
95 if (thread__maps(thread)) { in thread__delete()
96 maps__put(thread__maps(thread)); in thread__delete()
247 unwind__flush_access(thread__maps(thread)); in ____thread__set_comm()
333 maps__fprintf(thread__maps(thread), fp); in thread__fprintf()
340 ret = unwind__prepare_access(thread__maps(thread), map, NULL); in thread__insert_map()
344 maps__fixup_overlappings(thread__maps(thread), map, stderr); in thread__insert_map()
345 return maps__insert(thread__maps(thread), map); in thread__insert_map()
352 struct maps *maps = thread__maps(thread); in __thread__prepare_access()
[all …]
H A Dunwind-libunwind.c92 const struct unwind_libunwind_ops *ops = maps__unwind_libunwind_ops(thread__maps(thread)); in unwind__get_entries()
H A Dunwind-libunwind-local.c328 maps__for_each_entry(thread__maps(ui->thread), map_node) { in read_unwind_spec_eh_frame()
738 addr_space = maps__addr_space(thread__maps(ui->thread)); in get_entries()
788 .machine = maps__machine(thread__maps(thread)), in _unwind__get_entries()
H A Dmachine.c444 if (maps__nr_maps(thread__maps(thread))) in findnew_guest_code()
457 err = maps__clone(thread, thread__maps(host_thread)); in findnew_guest_code()
534 if (!thread__maps(leader)) in machine__update_thread_pid()
537 if (!thread__maps(leader)) in machine__update_thread_pid()
540 if (thread__maps(th) == thread__maps(leader)) in machine__update_thread_pid()
543 if (thread__maps(th)) { in machine__update_thread_pid()
549 if (!maps__empty(thread__maps(th))) in machine__update_thread_pid()
552 maps__put(thread__maps(th)); in machine__update_thread_pid()
555 thread__set_maps(th, maps__get(thread__maps(leader))); in machine__update_thread_pid()
2902 if (machine__normalized_is(maps__machine(thread__maps(thread)), "arm64")) in get_leaf_frame_caller()
H A Ddlfilter.c231 if (thread__maps(al->thread)) { in dlfilter__insn()
232 struct machine *machine = maps__machine(thread__maps(al->thread)); in dlfilter__insn()
H A Dvdso.c149 maps__for_each_entry(thread__maps(thread), rb_node) { in machine__thread_dso_type()
H A Dunwind-libdw.c266 .machine = RC_CHK_ACCESS(thread__maps(thread))->machine, in unwind__get_entries()
H A Dthread.h136 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.c601 struct maps *maps = thread__maps(thread); in thread__find_map()
667 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 Dmaps.c388 struct maps *maps = thread__maps(thread); in maps__clone()
H A Dcs-etm.c998 len = dso__data_read_offset(dso, maps__machine(thread__maps(tidq->thread)), in cs_etm__mem_access()
/openbmc/linux/tools/perf/scripts/python/Perf-Trace-Util/
H A DContext.c103 if (c->sample->ip && !c->sample->insn_len && thread__maps(c->al->thread)) { in perf_sample_insn()
104 struct machine *machine = maps__machine(thread__maps(c->al->thread)); in perf_sample_insn()
/openbmc/linux/tools/perf/arch/arm/tests/
H A Ddwarf-unwind.c29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
/openbmc/linux/tools/perf/arch/powerpc/tests/
H A Ddwarf-unwind.c29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
/openbmc/linux/tools/perf/arch/arm64/tests/
H A Ddwarf-unwind.c29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
/openbmc/linux/tools/perf/arch/x86/tests/
H A Ddwarf-unwind.c29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
/openbmc/linux/tools/perf/ui/stdio/
H A Dhist.c888 maps__fprintf(thread__maps(h->thread), fp); in hists__fprintf()
/openbmc/linux/tools/perf/
H A Dbuiltin-report.c878 maps__fprintf_task(thread__maps(thread), comm_indent, fp); in task__print_level()