函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:gister_ftrace_function - register a function for profiling*@ops - ops structure that holds the function for profiling

函数原型:int register_ftrace_function(struct ftrace_ops *ops)

返回类型:int

参数:

类型参数名称
struct ftrace_ops *ops
7234  ret等于负1
7236  ftrace_ops_init(ops)
7238  mutex_lock( & ftrace_lock)
7240  ret等于Keep as macros so we do not need to define the commands (ops, 0)
7242  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
7244  返回:ret
调用者
名称描述
tracing_start_function_trace
func_set_flag
register_irqsoff_function
register_wakeup_function
stack_trace_sysctl
stack_trace_init
perf_ftrace_function_register
klp_patch_func