Function report |
Source Code:kernel\trace\trace_events_trigger.c |
Create Date:2022-07-28 12:26:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static int register_trigger(char *glob, struct event_trigger_ops *ops, struct event_trigger_data *data, struct trace_event_file *file)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char * | glob | |
| struct event_trigger_ops * | ops | |
| struct event_trigger_data * | data | |
| struct trace_event_file * | file |
| 540 | ret = 0 |
| 542 | lockdep_assert_held( & event_mutex) |
| 545 | If trigger_type == trigger_type Then |
| 551 | If init Then |
| 558 | ret++ |
| 561 | If trace_event_trigger_enable_disable(file, 1) < 0 Then |
| 564 | ret-- |
| 566 | out : |
| 567 | Return ret |
| 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 |