Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events.c Create Date:2022-07-28 12:20:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ftrace_event_open

Proto:static int ftrace_event_open(struct inode *inode, struct file *file, const struct seq_operations *seq_ops)

Type:int

Parameter:

TypeParameterName
struct inode *inode
struct file *file
const struct seq_operations *seq_ops
1793  ret = security_locked_down(LOCKDOWN_TRACEFS)
1794  If ret Then Return ret
1797  ret = seq_open(file, seq_ops)
1798  If ret < 0 Then Return ret
1800  m = needed for tty driver, and maybe others
1802  private = s or device private pointer
1804  Return ret
Caller
NameDescribe
ftrace_event_avail_open
ftrace_event_set_open
ftrace_event_set_pid_open