函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 14:55:00
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:perf_ioctl

函数原型:static long perf_ioctl(struct file *file, unsigned int cmd, unsigned long arg)

返回类型:long

参数:

类型参数名称
struct file *file
unsigned intcmd
unsigned longarg
5340  event等于 needed for tty driver, and maybe others
5345  ret等于security_perf_event_write(event)
5346  如果ret则返回:ret
5349  ctx等于perf_event_ctx_lock(event)
5350  ret等于_perf_ioctl(event, cmd, arg)
5351  perf_event_ctx_unlock(event, ctx)
5353  返回:ret
调用者
名称描述
perf_compat_ioctl