函数逻辑报告 |
Source Code:kernel\tracepoint.c |
Create Date:2022-07-27 12:55:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Add the probe function to a tracepoint.
函数原型:static int tracepoint_add_func(struct tracepoint *tp, struct tracepoint_func *func, int prio)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct tracepoint * | tp | |
struct tracepoint_func * | func | |
int | prio |
233 | 如果regfunc且非static_key_enabled( & key)则 |
242 | 如果是错误则 |
243 | WARN_ON_ONCE(错误 != - ENOMEM) |
244 | 返回:错误 |
254 | 如果非static_key_enabled( & key)则static_key_slow_inc( & key) |
256 | release_probes(old) |
257 | 返回:0 |
名称 | 描述 |
---|---|
tracepoint_probe_register_prio | racepoint_probe_register_prio - Connect a probe to a tracepoint with priority*@tp: tracepoint*@probe: probe handler*@data: tracepoint data*@prio: priority of this function over other registered functions* Returns 0 if ok, error value on error |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |