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:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:allocate_ftrace_ops

Proto:static int allocate_ftrace_ops(struct trace_array *tr)

Type:int

Parameter:

TypeParameterName
struct trace_array *tr
41  ops = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
42  If Not ops Then Return -ENOMEM
46  func = function_trace_call
47  flags = FTRACE_OPS_FL_RECURSION_SAFE | FTRACE_OPS_FL_PID
49  ops = ops
50  private = tr
51  Return 0
Caller
NameDescribe
ftrace_create_function_files