函数逻辑报告 |
Source Code:kernel\trace\trace_events_trigger.c |
Create Date:2022-07-27 13:34:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:trace_event_trigger_enable_disable
函数原型:int trace_event_trigger_enable_disable(struct trace_event_file *file, int trigger_enable)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct trace_event_file * | file | |
int | trigger_enable |
444 | ret等于0 |
446 | 如果trigger_enable则 |
447 | 如果atomic_inc_return( & trigger-mode reference counter )大于1则返回:ret |
449 | 设置内存位 |
450 | ret等于trace_event_enable_disable(file, 1, 1) |
451 | 否则 |
452 | 如果atomic_dec_return( & trigger-mode reference counter )大于0则返回:ret |
455 | ret等于trace_event_enable_disable(file, 0, 1) |
458 | 返回:ret |
名称 | 描述 |
---|---|
clear_event_triggers | lear_event_triggers - Clear all triggers associated with a trace array*@tr: The trace array to clear* For each trigger, the triggering event has its tm_ref decremented* via trace_event_trigger_enable_disable(), and any associated event* (in the case of |
register_trigger | gister_trigger - Generic event_command @reg implementation*@glob: The raw string used to register the trigger*@ops: The trigger ops associated with the trigger*@data: Trigger-specific data to associate with the trigger*@file: The trace_event_file |
unregister_trigger | register_trigger - Generic event_command @unreg implementation*@glob: The raw string used to register the trigger*@ops: The trigger ops associated with the trigger*@test: Trigger-specific data used to find the trigger to remove*@file: The trace_event_file |
event_enable_register_trigger | |
event_enable_unregister_trigger | |
hist_trigger_enable | |
hist_unregister_trigger | |
hist_unreg_all | |
hist_enable_unreg_all |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |