Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:function_trace_init

Proto:static int function_trace_init(struct trace_array *tr)

Type:int

Parameter:

TypeParameterName
struct trace_array *tr
92  If Not ops Then Return -ENOMEM
96  If flags & TRACE_ARRAY_FL_GLOBAL && val & TRACE_FUNC_OPT_STACK Then func = function_stack_trace_call
99  Else func = function_trace_call
102  ftrace_init_array_ops(tr, func)
104  cpu = get_cpu()
105  put_cpu()
107  tracing_start_cmdline_record()
108  tracing_start_function_trace(tr)
109  Return 0