函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dyn_events_release_all - Release all specific events*@type: the dyn_event_operations * which filters releasing events* This releases all events which ->ops matches @type

函数原型:int dyn_events_release_all(struct dyn_event_operations *type)

返回类型:int

参数:

类型参数名称
struct dyn_event_operations *type
149  ret等于0
151  mutex_lock( & event_mutex)
152  r_each_dyn_event - iterate over the dyn_event list*@pos: the struct dyn_event * to use as a loop cursor* This is just a basement of for_each macro. Wrap this for* each actual event structure with ops filtering.(ev)
153  如果typeops不等于type则继续下一循环
155  如果is_busy(ev)则
156  ret等于负EBUSY
157  转到:out
160  r_each_dyn_event - iterate over the dyn_event list safely*@pos: the struct dyn_event * to use as a loop cursor*@n: the struct dyn_event * to use as temporary storage(ev, tmp)
161  如果typeops不等于type则继续下一循环
163  ret等于free(ev)
164  如果ret退出
167  out :
168  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.
170  返回:ret
调用者
名称描述
probes_open
dyn_event_open
probes_open
synth_events_open