Home
last modified time | relevance | path

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

12

/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", 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.c446 ret_len = dso__data_read_offset(dso, maps__machine(thread__maps(thread)), in read_object_code()
/linux/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()
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 Ddb-export.c184 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 Dunwind-libunwind.c87 const struct unwind_libunwind_ops *ops = maps__unwind_libunwind_ops(thread__maps(thread)); in unwind__get_entries()
H A Dmachine.c402 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 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()
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 Dcapstone.c376 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 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 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 Dthread.h138 static inline struct maps *thread__maps(struct thread *thread) in thread__maps() function
H A Dunwind-libdw.c348 struct maps *maps = thread__maps(thread); in unwind__get_entries()
H A Devent.c697 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 Ddisasm.c273 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 Dcallchain.c1154 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 Dannotate-loongarch.c54 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 Dannotate-s390.c53 if (maps__find_ams(thread__maps(ms->thread), &target) == 0 && in s390_call__parse()
/linux/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/tools/perf/arch/arm64/tests/
H A Ddwarf-unwind.c29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
/linux/tools/perf/arch/arm/tests/
H A Ddwarf-unwind.c29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
/linux/tools/perf/arch/powerpc/tests/
H A Ddwarf-unwind.c29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
/linux/tools/perf/arch/x86/tests/
H A Ddwarf-unwind.c29 map = maps__find(thread__maps(thread), (u64)sp); in sample_ustack()
/linux/tools/perf/ui/stdio/
H A Dhist.c905 maps__fprintf(thread__maps(h->thread), fp); in hists__fprintf()
/linux/tools/perf/
H A Dbuiltin-report.c934 maps__fprintf_task(thread__maps(thread), comm_indent, fp); in task__print_level()

12