Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tracing_err_log_open

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

Type:int

Parameter:

TypeParameterName
struct inode *inode
struct file *file
7244  tr = s or device private pointer
7245  ret = 0
7247  ret = tracing_check_open_get_tr(tr)
7248  If ret Then Return ret
7252  If f_mode & le is open for writing && f_flags & O_TRUNC Then clear_tracing_err_log(tr)
7255  If f_mode & le is open for reading Then
7256  ret = seq_open(file, & tracing_err_log_seq_ops)
7257  If Not ret Then
7259  private = tr
7260  Else
7264  Return ret