函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:func_set_flag

函数原型:static int func_set_flag(struct trace_array *tr, unsigned int old_flags, unsigned int bit, int set)

返回类型:int

参数:

类型参数名称
struct trace_array *tr
unsigned intold_flags
unsigned intbit
intset
239  :bit恒等于TRACE_FUNC_OPT_STACK
241  如果非非set恒等于非非val按位与TRACE_FUNC_OPT_STACK的值则退出
245  如果current_trace不等于function_trace退出
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  如果set
253  否则
258  退出
259  默认
260  返回:负EINVAL
263  返回:0