Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tracing_check_open_get_tr

Proto:int tracing_check_open_get_tr(struct trace_array *tr)

Type:int

Parameter:

TypeParameterName
struct trace_array *tr
327  ret = security_locked_down(LOCKDOWN_TRACEFS)
328  If ret Then Return ret
331  If 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. Then Return -ENODEV
334  If tr && trace_array_get(tr) < 0 Then Return -ENODEV
337  Return 0
Caller
NameDescribe
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