Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:36:15
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:perf_sample_regs_user

Proto:static void perf_sample_regs_user(struct perf_regs *regs_user, struct pt_regs *regs, struct pt_regs *regs_user_copy)

Type:void

Parameter:

TypeParameterName
struct perf_regs *regs_user
struct pt_regs *regs
struct pt_regs *regs_user_copy
6155  If ser_mode(regs) determines whether a register set came from user* mode Then
6156  abi = perf_reg_abi(current process)
6157  regs = regs
6158  Else if Not (flags & I am a kernel thread ) Then
6159  perf_get_regs_user(regs_user, regs, regs_user_copy)
6160  Else
6161  abi = PERF_SAMPLE_REGS_ABI_NONE
6162  regs = NULL
Caller
NameDescribe
perf_prepare_sample