函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Should be used after trace_array_get(), trace_types_lock* ensures that i_cdev was already initialized.

函数原型:static inline int tracing_get_cpu(struct inode *inode)

返回类型:int

参数:

类型参数名称
struct inode *inode
4147  如果i_cdev则返回:i_cdev减1
4149  返回:RING_BUFFER_ALL_CPUS
调用者
名称描述
__tracing_open
tracing_open
tracing_open_pipe
tracing_entries_read
tracing_entries_write
tracing_buffers_open
tracing_stats_read