Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_compat_ioctl

Proto:static long perf_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)

Type:long

Parameter:

TypeParameterName
struct file *file
unsigned intcmd
unsigned longarg
5361  Case _IOC_NR(cmd) == _IOC_NR(PERF_EVENT_IOC_SET_FILTER)
5362  Case _IOC_NR(cmd) == _IOC_NR(PERF_EVENT_IOC_ID)
5363  Case _IOC_NR(cmd) == _IOC_NR(PERF_EVENT_IOC_QUERY_BPF)
5364  Case _IOC_NR(cmd) == _IOC_NR(PERF_EVENT_IOC_MODIFY_ATTRIBUTES)
5366  If _IOC_SIZE(cmd) == sizeof(compat_uptr_t) Then
5367  cmd &= ~IOCSIZE_MASK
5368  cmd |= size of * << IOCSIZE_SHIFT
5370  Break
5372  Return perf_ioctl(file, cmd, arg)