Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dyn_event_open

Proto:static int dyn_event_open(struct inode *inode, struct file *file)

Type:int

Parameter:

TypeParameterName
struct inode *inode
struct file *file
177  ret = tracing_check_open_get_tr(NULL)
178  If ret Then Return ret
181  If f_mode & le is open for writing && f_flags & O_TRUNC Then
182  ret = dyn_events_release_all - Release all specific events*@type: the dyn_event_operations * which filters releasing events* This releases all events which ->ops matches @type
183  If ret < 0 Then Return ret
187  Return seq_open(file, & dyn_event_seq_op)