Home
last modified time | relevance | path

Searched refs:user_regs (Results 1 – 14 of 14) sorted by relevance

/tools/perf/arch/x86/util/
Dunwind-libdw.c8 struct regs_dump *user_regs = &ui->sample->user_regs; in libdw__arch_set_initial_registers() local
14 perf_reg_value(&val, user_regs, PERF_REG_X86_##r); \ in libdw__arch_set_initial_registers()
18 if (user_regs->abi == PERF_SAMPLE_REGS_ABI_32) { in libdw__arch_set_initial_registers()
/tools/perf/arch/arm/util/
Dunwind-libdw.c8 struct regs_dump *user_regs = &ui->sample->user_regs; in libdw__arch_set_initial_registers() local
13 perf_reg_value(&val, user_regs, PERF_REG_ARM_##r); \ in libdw__arch_set_initial_registers()
/tools/perf/tests/
Dsample-parsing.c99 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same()
101 COMP(user_regs.mask); in samples_same()
102 COMP(user_regs.abi); in samples_same()
103 if (s1->user_regs.abi && in samples_same()
104 (!s1->user_regs.regs || !s2->user_regs.regs || in samples_same()
105 memcmp(s1->user_regs.regs, s2->user_regs.regs, sz))) { in samples_same()
189 .user_regs = { in do_test()
Ddwarf-unwind.c104 free(sample.user_regs.regs); in unwind_thread()
/tools/perf/util/
Dunwind-libdw.c139 ret = perf_reg_value(&start, &ui->sample->user_regs, PERF_REG_SP); in memory_read()
208 if (!data->user_regs.regs) in unwind__get_entries()
221 err = perf_reg_value(&ip, &data->user_regs, PERF_REG_IP); in unwind__get_entries()
Dunwind-libunwind-local.c460 if (__write || !stack || !ui->sample->user_regs.regs) { in access_mem()
465 ret = perf_reg_value(&start, &ui->sample->user_regs, in access_mem()
509 if (!ui->sample->user_regs.regs) { in access_reg()
518 ret = perf_reg_value(&val, &ui->sample->user_regs, id); in access_reg()
625 ret = perf_reg_value(&val, &ui->sample->user_regs, in get_entries()
690 if (!data->user_regs.regs) in _unwind__get_entries()
Devsel.c1911 data->user_regs.abi = *array; in perf_evsel__parse_sample()
1914 if (data->user_regs.abi) { in perf_evsel__parse_sample()
1919 data->user_regs.mask = mask; in perf_evsel__parse_sample()
1920 data->user_regs.regs = (u64 *)array; in perf_evsel__parse_sample()
2051 if (sample->user_regs.abi) { in perf_event__sample_event_size()
2053 sz = hweight_long(sample->user_regs.mask) * sizeof(u64); in perf_event__sample_event_size()
2231 if (sample->user_regs.abi) { in perf_event__synthesize_sample()
2232 *array++ = sample->user_regs.abi; in perf_event__synthesize_sample()
2233 sz = hweight_long(sample->user_regs.mask) * sizeof(u64); in perf_event__synthesize_sample()
2234 memcpy(array, sample->user_regs.regs, sz); in perf_event__synthesize_sample()
Dsession.c994 struct regs_dump *user_regs = &sample->user_regs; in regs_user__printf() local
996 if (user_regs->regs) in regs_user__printf()
997 regs__printf("user", user_regs); in regs_user__printf()
Devent.h199 struct regs_dump user_regs; member
Dmachine.c1937 if ((!sample->user_regs.regs) || in thread__resolve_callchain_unwind()
/tools/perf/arch/arm/tests/
Ddwarf-unwind.c46 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()
/tools/perf/arch/x86/tests/
Ddwarf-unwind.c47 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()
/tools/perf/arch/powerpc/tests/
Ddwarf-unwind.c47 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()
/tools/perf/arch/arm64/tests/
Ddwarf-unwind.c46 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()