Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_filter.c Create Date:2022-07-28 12:25:32
Last Modify:2022-05-22 20:19:57 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static int create_system_filter(struct trace_subsystem_dir *dir, struct trace_array *tr, char *filter_str, struct event_filter **filterp)

Type:int

Parameter:

TypeParameterName
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  If Not err Then
1782  err = process_system_preds(dir, tr, pe, filter_str)
1783  If Not err Then
1786  filter_string = NULL
1787  Else
1791  create_filter_finish(pe)
1793  Return err
Caller
NameDescribe
apply_subsystem_event_filter