/linux-6.6.21/arch/x86/kernel/ |
D | perf_regs.c | 103 void perf_get_regs_user(struct perf_regs *regs_user, in perf_get_regs_user() argument 106 regs_user->regs = task_pt_regs(current); in perf_get_regs_user() 107 regs_user->abi = perf_reg_abi(current); in perf_get_regs_user() 133 void perf_get_regs_user(struct perf_regs *regs_user, in perf_get_regs_user() argument 140 regs_user->regs = user_regs; in perf_get_regs_user() 141 regs_user->abi = perf_reg_abi(current); in perf_get_regs_user() 153 regs_user->abi = PERF_SAMPLE_REGS_ABI_NONE; in perf_get_regs_user() 154 regs_user->regs = NULL; in perf_get_regs_user() 197 regs_user->abi = user_64bit_mode(user_regs) ? in perf_get_regs_user() 200 regs_user->regs = regs_user_copy; in perf_get_regs_user()
|
/linux-6.6.21/include/linux/ |
D | perf_regs.h | 22 void perf_get_regs_user(struct perf_regs *regs_user, 43 static inline void perf_get_regs_user(struct perf_regs *regs_user, in perf_get_regs_user() argument 46 regs_user->regs = task_pt_regs(current); in perf_get_regs_user() 47 regs_user->abi = perf_reg_abi(current); in perf_get_regs_user()
|
D | perf_event.h | 1184 struct perf_regs regs_user; member
|
/linux-6.6.21/arch/s390/kernel/ |
D | perf_regs.c | 55 void perf_get_regs_user(struct perf_regs *regs_user, in perf_get_regs_user() argument 64 regs_user->regs = task_pt_regs(current); in perf_get_regs_user() 65 if (user_mode(regs_user->regs)) in perf_get_regs_user() 67 regs_user->abi = perf_reg_abi(current); in perf_get_regs_user()
|
/linux-6.6.21/arch/arm/kernel/ |
D | perf_regs.c | 34 void perf_get_regs_user(struct perf_regs *regs_user, in perf_get_regs_user() argument 37 regs_user->regs = task_pt_regs(current); in perf_get_regs_user() 38 regs_user->abi = perf_reg_abi(current); in perf_get_regs_user()
|
/linux-6.6.21/arch/csky/kernel/ |
D | perf_regs.c | 34 void perf_get_regs_user(struct perf_regs *regs_user, in perf_get_regs_user() argument 37 regs_user->regs = task_pt_regs(current); in perf_get_regs_user() 38 regs_user->abi = perf_reg_abi(current); in perf_get_regs_user()
|
/linux-6.6.21/arch/riscv/kernel/ |
D | perf_regs.c | 38 void perf_get_regs_user(struct perf_regs *regs_user, in perf_get_regs_user() argument 41 regs_user->regs = task_pt_regs(current); in perf_get_regs_user() 42 regs_user->abi = perf_reg_abi(current); in perf_get_regs_user()
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | perf_regs.c | 48 void perf_get_regs_user(struct perf_regs *regs_user, in perf_get_regs_user() argument 51 regs_user->regs = task_pt_regs(current); in perf_get_regs_user() 52 regs_user->abi = perf_reg_abi(current); in perf_get_regs_user()
|
/linux-6.6.21/arch/mips/kernel/ |
D | perf_regs.c | 63 void perf_get_regs_user(struct perf_regs *regs_user, in perf_get_regs_user() argument 66 regs_user->regs = task_pt_regs(current); in perf_get_regs_user() 67 regs_user->abi = perf_reg_abi(current); in perf_get_regs_user()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | perf_regs.c | 101 void perf_get_regs_user(struct perf_regs *regs_user, in perf_get_regs_user() argument 104 regs_user->regs = task_pt_regs(current); in perf_get_regs_user() 105 regs_user->abi = perf_reg_abi(current); in perf_get_regs_user()
|
/linux-6.6.21/arch/powerpc/perf/ |
D | perf_regs.c | 143 void perf_get_regs_user(struct perf_regs *regs_user, in perf_get_regs_user() argument 146 regs_user->regs = task_pt_regs(current); in perf_get_regs_user() 147 regs_user->abi = (regs_user->regs) ? perf_reg_abi(current) : in perf_get_regs_user()
|
/linux-6.6.21/kernel/events/ |
D | core.c | 6872 static void perf_sample_regs_user(struct perf_regs *regs_user, in perf_sample_regs_user() argument 6876 regs_user->abi = perf_reg_abi(current); in perf_sample_regs_user() 6877 regs_user->regs = regs; in perf_sample_regs_user() 6879 perf_get_regs_user(regs_user, regs); in perf_sample_regs_user() 6881 regs_user->abi = PERF_SAMPLE_REGS_ABI_NONE; in perf_sample_regs_user() 6882 regs_user->regs = NULL; in perf_sample_regs_user() 7398 u64 abi = data->regs_user.abi; in perf_output_sample() 7409 data->regs_user.regs, in perf_output_sample() 7417 data->regs_user.regs); in perf_output_sample() 7680 perf_sample_regs_user(&data->regs_user, regs); in perf_prepare_sample() [all …]
|