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

Name:func_set_flag

Proto:static int func_set_flag(struct trace_array *tr, unsigned int old_flags, unsigned int bit, int set)

Type:int

Parameter:

TypeParameterName
struct trace_array *tr
unsigned intold_flags
unsigned intbit
intset
239  Case bit == TRACE_FUNC_OPT_STACK
241  If Not Not set == Not Not (val & TRACE_FUNC_OPT_STACK) Then Break
245  If current_trace != function_trace Then Break
248  register_ftrace_function - unregister a function for profiling.*@ops - ops structure that holds the function to unregister* Unregister a function that was added to be called by ftrace profiling.
250  If set Then
253  Else
258  Break
259  Default
260  Return -EINVAL
263  Return 0