Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_event_get

Proto:struct file *perf_event_get(unsigned int fd)

Type:struct file

Parameter:

TypeParameterName
unsigned intfd
12023  file = fget(fd)
12024  If Not file Then Return ERR_PTR( - EBADF)
12027  If f_op != perf_fops Then
12028  fput(file)
12029  Return ERR_PTR( - EBADF)
12032  Return file