Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events.c Create Date:2022-07-28 12:20:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:event_remove

Proto:static void event_remove(struct trace_event_call *call)

Type:void

Parameter:

TypeParameterName
struct trace_event_call *call
2081  cycle (tr = ({
2081  __mptr = next
2081  Do
2081  When 0 cycle
2081  __mptr - __builtin_offsetof(typeof( * tr), list)
2081  cycle (tr = ({}); & tr->list != ( & ftrace_trace_arrays);tr = ({
2081  __mptr = next
2081  Do
2081  When 0 cycle
2081  __mptr - __builtin_offsetof(typeof( * (tr)), list)
2081  }))
2081  cycle (file = ({
2081  __mptr = next
2081  Do
2081  When 0 cycle
2081  __mptr - __builtin_offsetof(typeof( * file), list)
2081  cycle (file = ({}); & file->list != ( & tr->events);file = ({
2081  __mptr = next
2081  Do
2081  When 0 cycle
2081  __mptr - __builtin_offsetof(typeof( * (file)), list)
2081  }))
2082  If event_call != call Then Continue
2095  Break
2098  If funcs Then Used by module code with the trace_event_sem held for write.
2100  remove_event_from_tracers(call)
2101  deletes entry from list
Caller
NameDescribe
__trace_remove_event_callMust be called under locking of trace_types_lock, event_mutex and* trace_event_sem.