Home
last modified time | relevance | path

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

/tools/perf/arch/x86/util/
Dunwind-libdw.c10 struct regs_dump *user_regs = &ui->sample->user_regs; in libdw__arch_set_initial_registers() local
16 perf_reg_value(&val, user_regs, PERF_REG_X86_##r); \ in libdw__arch_set_initial_registers()
20 if (user_regs->abi == PERF_SAMPLE_REGS_ABI_32) { in libdw__arch_set_initial_registers()
/tools/perf/arch/arm/util/
Dunwind-libdw.c10 struct regs_dump *user_regs = &ui->sample->user_regs; in libdw__arch_set_initial_registers() local
15 perf_reg_value(&val, user_regs, PERF_REG_ARM_##r); \ in libdw__arch_set_initial_registers()
/tools/perf/arch/powerpc/util/
Dunwind-libdw.c18 struct regs_dump *user_regs = &ui->sample->user_regs; in libdw__arch_set_initial_registers() local
24 perf_reg_value(&val, user_regs, PERF_REG_POWERPC_##r); \ in libdw__arch_set_initial_registers()
67 perf_reg_value(&val, user_regs, special_regs[i][1]); in libdw__arch_set_initial_registers()
/tools/perf/tests/
Dsample-parsing.c108 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same()
110 COMP(user_regs.mask); in samples_same()
111 COMP(user_regs.abi); in samples_same()
112 if (s1->user_regs.abi && in samples_same()
113 (!s1->user_regs.regs || !s2->user_regs.regs || in samples_same()
114 memcmp(s1->user_regs.regs, s2->user_regs.regs, sz))) { in samples_same()
223 .user_regs = { in do_test()
Ddwarf-unwind.c136 zfree(&sample.user_regs.regs); in test_dwarf_unwind__thread()
/tools/perf/arch/riscv/util/
Dunwind-libdw.c12 struct regs_dump *user_regs = &ui->sample->user_regs; in libdw__arch_set_initial_registers() local
17 perf_reg_value(&val, user_regs, PERF_REG_RISCV_##r); \ in libdw__arch_set_initial_registers()
/tools/perf/arch/s390/util/
Dunwind-libdw.c12 struct regs_dump *user_regs = &ui->sample->user_regs; in libdw__arch_set_initial_registers() local
17 perf_reg_value(&val, user_regs, PERF_REG_S390_##r); \ in libdw__arch_set_initial_registers()
/tools/perf/arch/arm64/util/
Dunwind-libdw.c10 struct regs_dump *user_regs = &ui->sample->user_regs; in libdw__arch_set_initial_registers() local
15 perf_reg_value(&val, user_regs, PERF_REG_ARM64_##r); \ in libdw__arch_set_initial_registers()
/tools/perf/arch/csky/util/
Dunwind-libdw.c12 struct regs_dump *user_regs = &ui->sample->user_regs; in libdw__arch_set_initial_registers() local
17 perf_reg_value(&val, user_regs, PERF_REG_CSKY_##r); \ in libdw__arch_set_initial_registers()
/tools/perf/util/
Dunwind-libunwind-local.c496 if (__write || !stack || !ui->sample->user_regs.regs) { in access_mem()
501 ret = perf_reg_value(&start, &ui->sample->user_regs, in access_mem()
545 if (!ui->sample->user_regs.regs) { in access_reg()
554 ret = perf_reg_value(&val, &ui->sample->user_regs, id); in access_reg()
650 ret = perf_reg_value(&val, &ui->sample->user_regs, in get_entries()
715 if (!data->user_regs.regs) in _unwind__get_entries()
Dunwind-libdw.c161 ret = perf_reg_value(&start, &ui->sample->user_regs, PERF_REG_SP); in memory_read()
238 if (!data->user_regs.regs) in unwind__get_entries()
251 err = perf_reg_value(&ip, &data->user_regs, PERF_REG_IP); in unwind__get_entries()
Dsynthetic-events.c1465 if (sample->user_regs.abi) { in perf_event__sample_event_size()
1467 sz = hweight64(sample->user_regs.mask) * sizeof(u64); in perf_event__sample_event_size()
1643 if (sample->user_regs.abi) { in perf_event__synthesize_sample()
1644 *array++ = sample->user_regs.abi; in perf_event__synthesize_sample()
1645 sz = hweight64(sample->user_regs.mask) * sizeof(u64); in perf_event__synthesize_sample()
1646 memcpy(array, sample->user_regs.regs, sz); in perf_event__synthesize_sample()
Devent.h156 struct regs_dump user_regs; member
Devsel.c2438 data->user_regs.abi = *array; in evsel__parse_sample()
2441 if (data->user_regs.abi) { in evsel__parse_sample()
2446 data->user_regs.mask = mask; in evsel__parse_sample()
2447 data->user_regs.regs = (u64 *)array; in evsel__parse_sample()
Dsession.c1207 struct regs_dump *user_regs = &sample->user_regs; in regs_user__printf() local
1209 if (user_regs->regs) in regs_user__printf()
1210 regs__printf("user", user_regs); in regs_user__printf()
Dmachine.c2932 if ((!sample->user_regs.regs) || in thread__resolve_callchain_unwind()
/tools/perf/arch/powerpc/tests/
Ddwarf-unwind.c48 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()
/tools/perf/arch/arm/tests/
Ddwarf-unwind.c48 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()
/tools/perf/arch/arm64/tests/
Ddwarf-unwind.c48 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()
/tools/perf/arch/x86/tests/
Ddwarf-unwind.c55 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()
/tools/perf/util/scripting-engines/
Dtrace-event-python.c730 regs_map(&sample->user_regs, attr->sample_regs_user, bf, sizeof(bf)); in set_regs_in_dict()
/tools/perf/
Dbuiltin-script.c726 return perf_sample__fprintf_regs(&sample->user_regs, in perf_sample__fprintf_uregs()