Function report |
Source Code:kernel\trace\trace_events_trigger.c |
Create Date:2022-07-28 12:26:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:trace_event_trigger_enable_disable
Proto:int trace_event_trigger_enable_disable(struct trace_event_file *file, int trigger_enable)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct trace_event_file * | file | |
int | trigger_enable |
444 | ret = 0 |
446 | If trigger_enable Then |
447 | If atomic_inc_return( & trigger-mode reference counter ) > 1 Then Return ret |
450 | ret = trace_event_enable_disable(file, 1, 1) |
451 | Else |
452 | If atomic_dec_return( & trigger-mode reference counter ) > 0 Then Return ret |
455 | ret = trace_event_enable_disable(file, 0, 1) |
458 | Return ret |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |