Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:synth_events_open

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

Type:int

Parameter:

TypeParameterName
struct inode *inode
struct file *file
1476  ret = security_locked_down(LOCKDOWN_TRACEFS)
1477  If ret Then Return ret
1480  If f_mode & le is open for writing && f_flags & O_TRUNC Then
1481  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
1482  If ret < 0 Then Return ret
1486  Return seq_open(file, & synth_events_seq_op)