Function report |
Source Code:kernel\trace\trace_events_trigger.c |
Create Date:2022-07-28 12:26:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:set_trigger_filter - Generic event_command @set_filter implementation*@filter_str: The filter string for the trigger, NULL to remove filter*@trigger_data: Trigger-specific data*@file: The trace_event_file associated with the event* Common implementation
Proto:int set_trigger_filter(char *filter_str, struct event_trigger_data *trigger_data, struct trace_event_file *file)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char * | filter_str | |
struct event_trigger_data * | trigger_data | |
struct trace_event_file * | file |
730 | data = trigger_data |
735 | If Not filter_str Then Go to assign |
740 | If Not strlen - Find the length of a string*@s: The string to be sized || strcmp(s, "if") != 0 Then Go to out |
743 | If Not filter_str Then Go to out |
747 | ret = create_event_filter(tr, event_call, filter_str, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., & filter) |
753 | assign : |
758 | If tmp Then |
764 | kfree(filter_str) |
765 | filter_str = NULL |
767 | If filter_str Then |
768 | filter_str = kstrdup(filter_str, GFP_KERNEL) |
769 | If Not filter_str Then |
775 | out : |
776 | 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 |