函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tracing_check_open_get_tr

函数原型:int tracing_check_open_get_tr(struct trace_array *tr)

返回类型:int

参数:

类型参数名称
struct trace_array *tr
327  ret等于security_locked_down(LOCKDOWN_TRACEFS)
328  如果ret则返回:ret
331  如果Kill all tracing for good (never come back).* It is initialized to 1 but will turn to zero if the initialization* of the tracer is successful. But that is the only place that sets* this back to zero.则返回:负ENODEV
334  如果trtrace_array_get(tr)小于0则返回:负ENODEV
337  返回:0
调用者
名称描述
tracing_open_generic
tracing_open_generic_trOpen and update trace_array ref count.* Must have the current trace_array passed to it.
tracing_open
show_traces_open
tracing_trace_options_open
tracing_saved_tgids_open
tracing_saved_cmdlines_open
tracing_open_pipe
tracing_clock_open
tracing_time_stamp_mode_open
tracing_err_log_open
tracing_buffers_open
ftrace_event_set_open
ftrace_event_set_pid_open
save_hist_vars
dyn_event_open
ftrace_pid_open