函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_dynevent.c Create Date:2022-07-27 13:53:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dyn_event_open

函数原型:static int dyn_event_open(struct inode *inode, struct file *file)

返回类型:int

参数:

类型参数名称
struct inode *inode
struct file *file
177  ret等于tracing_check_open_get_tr(NULL)
178  如果ret则返回:ret
181  如果f_mode按位与le is open for writing f_flags按位与O_TRUNC
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  如果ret小于0则返回:ret
187  返回:seq_open(file, & dyn_event_seq_op)