Home
last modified time | relevance | path

Searched refs:regs_user (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/arch/x86/kernel/
Dperf_regs.c103 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/
Dperf_regs.h22 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()
Dperf_event.h1184 struct perf_regs regs_user; member
/linux-6.6.21/arch/s390/kernel/
Dperf_regs.c55 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/
Dperf_regs.c34 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/
Dperf_regs.c34 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/
Dperf_regs.c38 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/
Dperf_regs.c48 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/
Dperf_regs.c63 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/
Dperf_regs.c101 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/
Dperf_regs.c143 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/
Dcore.c6872 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 …]