Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:show_traces_open

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

Type:int

Parameter:

TypeParameterName
struct inode *inode
struct file *file
4469  tr = s or device private pointer
4473  ret = tracing_check_open_get_tr(tr)
4474  If ret Then Return ret
4477  ret = seq_open(file, & show_traces_seq_ops)
4478  If ret Then
4479  race_array_put - Decrement the reference counter for this trace array.* NOTE: Use this when we no longer need the trace array returned by* trace_array_get_by_name(). This ensures the trace array can be later* destroyed.
4480  Return ret
4483  m = needed for tty driver, and maybe others
4484  private = tr
4486  Return 0