函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_filter.c Create Date:2022-07-27 13:33:51
Last Modify:2022-05-22 20:19:57 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:reate_system_filter - create a filter for an event_subsystem*@system: event_subsystem to create a filter for*@filter_str: filter string*@filterp: out param for created filter (always updated on return)* Identical to create_filter() except that it creates

函数原型:static int create_system_filter(struct trace_subsystem_dir *dir, struct trace_array *tr, char *filter_str, struct event_filter **filterp)

返回类型:int

参数:

类型参数名称
struct trace_subsystem_dir *dir
struct trace_array *tr
char *filter_str
struct event_filter **filterp
1777  struct filter_parse_error * pe = NULL
1780  err等于create_filter_start(filter_str, true, & pe, filterp)
1781  如果非err
1782  err等于process_system_preds(dir, tr, pe, filter_str)
1783  如果非err
1786  filter_string = NULL
1787  否则
1791  create_filter_finish(pe)
1793  返回:err
调用者
名称描述
apply_subsystem_event_filter