函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:event_remove

函数原型:static void event_remove(struct trace_event_call *call)

返回类型:void

参数:

类型参数名称
struct trace_event_call *call
2081  循环(tr = ({
2081  __mptr等于链表后项
2081  循环
2081  当0循环
2081  __mptr__builtin_offsetof(typeof( * tr), list)
2081  循环(tr = ({}); & tr->list != ( & ftrace_trace_arrays);tr = ({
2081  __mptr等于链表后项
2081  循环
2081  当0循环
2081  __mptr__builtin_offsetof(typeof( * (tr)), list)
2081  }))
2081  循环(file = ({
2081  __mptr等于链表后项
2081  循环
2081  当0循环
2081  __mptr__builtin_offsetof(typeof( * file), list)
2081  循环(file = ({}); & file->list != ( & tr->events);file = ({
2081  __mptr等于链表后项
2081  循环
2081  当0循环
2081  __mptr__builtin_offsetof(typeof( * (file)), list)
2081  }))
2082  如果event_call不等于call则继续下一循环
2095  退出
2098  如果funcsUsed by module code with the trace_event_sem held for write.
2100  remove_event_from_tracers(call)
2101  删除链表项
调用者
名称描述
__trace_remove_event_callMust be called under locking of trace_types_lock, event_mutex and* trace_event_sem.