函数逻辑报告 |
Source Code:kernel\trace\trace_events_trigger.c |
Create Date:2022-07-27 13:34:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:int set_trigger_filter(char *filter_str, struct event_trigger_data *trigger_data, struct trace_event_file *file)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | filter_str | |
struct event_trigger_data * | trigger_data | |
struct trace_event_file * | file |
730 | data等于trigger_data |
735 | 如果非filter_str则转到:assign |
743 | 如果非filter_str则转到: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 | 如果tmp则 |
764 | kfree(filter_str) |
765 | filter_str = NULL |
767 | 如果filter_str则 |
768 | filter_str等于kstrdup(filter_str, GFP_KERNEL) |
769 | 如果非filter_str则 |
775 | out : |
776 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |