函数逻辑报告 |
Source Code:kernel\tracepoint.c |
Create Date:2022-07-27 12:55:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Remove a probe function from a tracepoint.* Note: only waiting an RCU period after setting elem->call to the empty* function insures that the original callback is not used anymore. This insured* by preempt_disable around the call site.
函数原型:static int tracepoint_remove_func(struct tracepoint *tp, struct tracepoint_func *func)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct tracepoint * | tp | |
struct tracepoint_func * | func |
273 | old等于func_remove( & tp_funcs, func) |
274 | 如果是错误则 |
275 | WARN_ON_ONCE(错误 != - ENOMEM) |
276 | 返回:错误 |
279 | 如果非tp_funcs则 |
281 | 如果unregfunc且static_key_enabled( & key)则unregfunc() |
284 | 如果static_key_enabled( & key)则static_key_slow_dec( & key) |
288 | release_probes(old) |
289 | 返回:0 |
名称 | 描述 |
---|---|
tracepoint_probe_unregister | racepoint_probe_unregister - Disconnect a probe from a tracepoint*@tp: tracepoint*@probe: probe function pointer*@data: tracepoint data* Returns 0 if ok, error value on error. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |