Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Should be used after trace_array_get(), trace_types_lock* ensures that i_cdev was already initialized.

Proto:static inline int tracing_get_cpu(struct inode *inode)

Type:int

Parameter:

TypeParameterName
struct inode *inode
4147  If i_cdev Then Return i_cdev - 1
4149  Return RING_BUFFER_ALL_CPUS
Caller
NameDescribe
__tracing_open
tracing_open
tracing_open_pipe
tracing_entries_read
tracing_entries_write
tracing_buffers_open
tracing_stats_read