Function report |
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 activity | Download SCCT | Chinese |
Name:perf_compat_ioctl
Proto:static long perf_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
unsigned int | cmd | |
unsigned long | arg |
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) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |