函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Must be called with event_mutex held

函数原型:int event_trace_del_tracer(struct trace_array *tr)

返回类型:int

参数:

类型参数名称
struct trace_array *tr
3051  lockdep_assert_held( & event_mutex)
3054  clear_event_triggers(tr)
3057  __ftrace_clear_event_pids(tr)
3060  __ftrace_set_clr_event(NULL, NULL, NULL, set) will set/unset all events.
3063  tracepoint_synchronize_unregister()
3065  lock for writing
3066  Remove the event directory structure for a trace directory.
3067  tracefs_remove_recursive(event_dir)
3068  lease a write lock
3070  event_dir = NULL
3072  返回:0
调用者
名称描述
__remove_instance