Home
last modified time | relevance | path

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

12

/linux/arch/x86/kernel/
A Dperf_regs.c140 regs_user->regs = user_regs; in perf_get_regs_user()
162 regs_user_copy->ip = user_regs->ip; in perf_get_regs_user()
163 regs_user_copy->ax = user_regs->ax; in perf_get_regs_user()
164 regs_user_copy->cx = user_regs->cx; in perf_get_regs_user()
165 regs_user_copy->dx = user_regs->dx; in perf_get_regs_user()
166 regs_user_copy->si = user_regs->si; in perf_get_regs_user()
167 regs_user_copy->di = user_regs->di; in perf_get_regs_user()
168 regs_user_copy->r8 = user_regs->r8; in perf_get_regs_user()
169 regs_user_copy->r9 = user_regs->r9; in perf_get_regs_user()
174 regs_user_copy->sp = user_regs->sp; in perf_get_regs_user()
[all …]
/linux/tools/perf/tests/
A Dsample-parsing.c124 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same()
126 COMP(user_regs.mask); in samples_same()
127 COMP(user_regs.abi); in samples_same()
128 if (s1->user_regs.abi && in samples_same()
129 (!s1->user_regs.regs || !s2->user_regs.regs || in samples_same()
130 memcmp(s1->user_regs.regs, s2->user_regs.regs, sz))) { in samples_same()
239 .user_regs = { in do_test()
/linux/tools/perf/arch/x86/util/
A 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()
/linux/tools/perf/arch/powerpc/util/
A 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()
/linux/arch/x86/xen/
A Dsmp_pv.c290 ctxt->user_regs.eip = (unsigned long)asm_cpu_bringup_and_idle; in cpu_initialize_context()
292 ctxt->user_regs.eflags = 0x1000; /* IOPL_RING1 */ in cpu_initialize_context()
293 ctxt->user_regs.ds = __USER_DS; in cpu_initialize_context()
294 ctxt->user_regs.es = __USER_DS; in cpu_initialize_context()
295 ctxt->user_regs.ss = __KERNEL_DS; in cpu_initialize_context()
296 ctxt->user_regs.cs = __KERNEL_CS; in cpu_initialize_context()
297 ctxt->user_regs.esp = (unsigned long)task_pt_regs(idle); in cpu_initialize_context()
/linux/tools/perf/arch/arm/util/
A 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()
/linux/tools/perf/arch/riscv/util/
A 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()
/linux/tools/perf/arch/s390/util/
A 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()
/linux/tools/perf/arch/arm64/util/
A 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()
/linux/arch/nds32/kernel/
A Dptrace.c18 return membuf_write(&to, &task_pt_regs(target)->user_regs, in gpr_get()
27 struct user_pt_regs newregs = task_pt_regs(target)->user_regs; in gpr_set()
33 task_pt_regs(target)->user_regs = newregs; in gpr_set()
/linux/tools/perf/arch/csky/util/
A 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()
/linux/arch/openrisc/include/asm/
A Dprocessor.h57 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE - S… macro
63 #define task_pt_regs(task) user_regs(task_thread_info(task))
/linux/tools/perf/util/
A 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()
A 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()
/linux/arch/powerpc/include/asm/
A Dperf_event.h28 #define perf_arch_bpf_user_pt_regs(regs) &regs->user_regs
/linux/arch/arm64/kernel/
A Darmv8_deprecated.c391 address = (u32)regs->user_regs.regs[rn]; in swp_handler()
392 data = (u32)regs->user_regs.regs[rt2]; in swp_handler()
411 regs->user_regs.regs[destreg] = data; in swp_handler()
A Ddebug-monitors.c156 #define set_regs_spsr_ss(r) set_user_regs_spsr_ss(&(r)->user_regs)
157 #define clear_regs_spsr_ss(r) clear_user_regs_spsr_ss(&(r)->user_regs)
/linux/arch/sh/include/asm/
A Dsuspend.h11 struct pt_regs user_regs; member
/linux/arch/nds32/include/asm/
A Dptrace.h23 struct user_pt_regs user_regs; member
A Delf.h78 *(struct user_pt_regs *)&(dest) = (regs)->user_regs;
/linux/tools/perf/arch/arm64/tests/
A Ddwarf-unwind.c48 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()
/linux/tools/perf/arch/powerpc/tests/
A Ddwarf-unwind.c48 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()
/linux/tools/perf/arch/arm/tests/
A Ddwarf-unwind.c48 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()
/linux/tools/perf/arch/x86/tests/
A Ddwarf-unwind.c55 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()
/linux/arch/s390/include/asm/
A Dperf_event.h43 #define perf_arch_bpf_user_pt_regs(regs) &regs->user_regs

Completed in 30 milliseconds

12