函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\fgraph.c Create Date:2022-07-27 13:24:55
Last Modify:2020-03-17 20:08:56 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:unregister_ftrace_graph

函数原型:void unregister_ftrace_graph(struct fgraph_ops *gops)

返回类型:void

参数:

类型参数名称
struct fgraph_ops *gops
639  mutex_lock( & ftrace_lock)
641  如果此条件成立可能性小(为编译器优化)(!ftrace_graph_active)则转到:out
644  ftrace_graph_active自减
645  The callbacks that hook a function 等于Simply points to ftrace_stub, but with the proper protocol.* Defined by the linker script in linux/vmlinux.lds.h
646  ftrace_graph_entry等于ftrace_graph_entry_stub
647  __ftrace_graph_entry等于ftrace_graph_entry_stub
648  ftrace_shutdown( & graph_ops, FTRACE_STOP_FUNC_RET)
649  unregister_pm_notifier( & ftrace_suspend_notifier)
650  Tracepoint for task switches, performed by the scheduler:
652  out :
653  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.
调用者
名称描述
unregister_irqsoff_function
unregister_wakeup_function
graph_trace_reset