/linux-6.3-rc2/arch/x86/kernel/ |
A D | perf_regs.c | 140 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-6.3-rc2/tools/perf/util/ |
A D | arm64-frame-pointer-unwind-support.c | 19 return callchain_param.record_mode == CALLCHAIN_FP && sample->user_regs.regs in get_leaf_frame_caller_enabled() 20 && sample->user_regs.mask & SMPL_REG_MASK(PERF_REG_ARM64_LR); in get_leaf_frame_caller_enabled() 35 struct regs_dump old_regs = sample->user_regs; in get_leaf_frame_caller_aarch64() 46 if (!(sample->user_regs.mask & SMPL_REG_MASK(PERF_REG_ARM64_PC))) { in get_leaf_frame_caller_aarch64() 47 sample->user_regs.cache_mask |= SMPL_REG_MASK(PERF_REG_ARM64_PC); in get_leaf_frame_caller_aarch64() 48 sample->user_regs.cache_regs[PERF_REG_ARM64_PC] = sample->callchain->ips[usr_idx+1]; in get_leaf_frame_caller_aarch64() 51 if (!(sample->user_regs.mask & SMPL_REG_MASK(PERF_REG_ARM64_SP))) { in get_leaf_frame_caller_aarch64() 52 sample->user_regs.cache_mask |= SMPL_REG_MASK(PERF_REG_ARM64_SP); in get_leaf_frame_caller_aarch64() 53 sample->user_regs.cache_regs[PERF_REG_ARM64_SP] = 0; in get_leaf_frame_caller_aarch64() 57 sample->user_regs = old_regs; in get_leaf_frame_caller_aarch64()
|
A D | unwind-libunwind-local.c | 542 if (__write || !stack || !ui->sample->user_regs.regs) { in access_mem() 547 ret = perf_reg_value(&start, &ui->sample->user_regs, in access_mem() 591 if (!ui->sample->user_regs.regs) { in access_reg() 600 ret = perf_reg_value(&val, &ui->sample->user_regs, id); in access_reg() 697 ret = perf_reg_value(&val, &ui->sample->user_regs, in get_entries() 764 if (!data->user_regs.regs) in _unwind__get_entries()
|
A D | unwind-libdw.c | 161 ret = perf_reg_value(&start, &ui->sample->user_regs, PERF_REG_SP); in memory_read() 242 if (!data->user_regs.regs) in unwind__get_entries() 255 err = perf_reg_value(&ip, &data->user_regs, PERF_REG_IP); in unwind__get_entries()
|
A D | sample.h | 104 struct regs_dump user_regs; member
|
/linux-6.3-rc2/tools/perf/arch/x86/util/ |
A D | unwind-libdw.c | 10 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-6.3-rc2/tools/perf/tests/ |
A D | sample-parsing.c | 129 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same() 131 COMP(user_regs.mask); in samples_same() 132 COMP(user_regs.abi); in samples_same() 133 if (s1->user_regs.abi && in samples_same() 134 (!s1->user_regs.regs || !s2->user_regs.regs || in samples_same() 135 memcmp(s1->user_regs.regs, s2->user_regs.regs, sz))) { in samples_same() 244 .user_regs = { in do_test()
|
/linux-6.3-rc2/tools/perf/arch/powerpc/util/ |
A D | unwind-libdw.c | 18 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-6.3-rc2/tools/perf/arch/arm/util/ |
A D | unwind-libdw.c | 10 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-6.3-rc2/arch/x86/xen/ |
A D | smp_pv.c | 276 ctxt->user_regs.eip = (unsigned long)asm_cpu_bringup_and_idle; in cpu_initialize_context() 278 ctxt->user_regs.eflags = 0x1000; /* IOPL_RING1 */ in cpu_initialize_context() 279 ctxt->user_regs.ds = __USER_DS; in cpu_initialize_context() 280 ctxt->user_regs.es = __USER_DS; in cpu_initialize_context() 281 ctxt->user_regs.ss = __KERNEL_DS; in cpu_initialize_context() 282 ctxt->user_regs.cs = __KERNEL_CS; in cpu_initialize_context() 283 ctxt->user_regs.esp = (unsigned long)task_pt_regs(idle); in cpu_initialize_context()
|
/linux-6.3-rc2/tools/perf/arch/riscv/util/ |
A D | unwind-libdw.c | 12 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-6.3-rc2/tools/perf/arch/arm64/util/ |
A D | unwind-libdw.c | 10 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-6.3-rc2/tools/perf/arch/s390/util/ |
A D | unwind-libdw.c | 13 struct regs_dump *user_regs = &ui->sample->user_regs; in libdw__arch_set_initial_registers() local 18 perf_reg_value(&val, user_regs, PERF_REG_S390_##r); \ in libdw__arch_set_initial_registers()
|
/linux-6.3-rc2/tools/perf/arch/csky/util/ |
A D | unwind-libdw.c | 12 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-6.3-rc2/arch/openrisc/include/asm/ |
A D | processor.h | 57 #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-6.3-rc2/arch/powerpc/include/asm/ |
A D | perf_event.h | 28 #define perf_arch_bpf_user_pt_regs(regs) ®s->user_regs
|
/linux-6.3-rc2/arch/sh/include/asm/ |
A D | suspend.h | 11 struct pt_regs user_regs; member
|
/linux-6.3-rc2/arch/arm64/kernel/ |
A D | armv8_deprecated.c | 192 address = (u32)regs->user_regs.regs[rn]; in swp_handler() 193 data = (u32)regs->user_regs.regs[rt2]; in swp_handler() 212 regs->user_regs.regs[destreg] = data; in swp_handler()
|
A D | debug-monitors.c | 156 #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-6.3-rc2/tools/perf/arch/arm/tests/ |
A D | dwarf-unwind.c | 48 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()
|
/linux-6.3-rc2/tools/perf/arch/arm64/tests/ |
A D | dwarf-unwind.c | 48 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()
|
/linux-6.3-rc2/tools/perf/arch/powerpc/tests/ |
A D | dwarf-unwind.c | 48 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()
|
/linux-6.3-rc2/tools/perf/arch/x86/tests/ |
A D | dwarf-unwind.c | 55 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample()
|
/linux-6.3-rc2/arch/s390/include/asm/ |
A D | perf_event.h | 43 #define perf_arch_bpf_user_pt_regs(regs) ®s->user_regs
|
/linux-6.3-rc2/arch/arm64/include/asm/ |
A D | elf.h | 149 *(struct user_pt_regs *)&(dest) = (regs)->user_regs;
|