Function report |
Source Code:kernel\trace\trace_events_filter.c |
Create Date:2022-07-28 12:25:28 |
Last Modify:2022-05-22 20:19:57 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:create_filter_start
Proto:static int create_filter_start(char *filter_string, bool set_str, struct filter_parse_error **pse, struct event_filter **filterp)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char * | filter_string | |
bool | set_str | |
struct filter_parse_error ** | pse | |
struct event_filter ** | filterp |
1682 | struct filter_parse_error * pe = NULL |
1683 | err = 0 |
1685 | If WARN_ON_ONCE( * pse || * filterp) Then Return -EINVAL |
1688 | filter = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
1690 | filter_string = kstrdup(filter_string, GFP_KERNEL) |
1691 | If Not filter_string Then err = -ENOMEM |
1695 | pe = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
1707 | Return 0 |
Name | Describe |
---|---|
create_filter | reate_filter - create a filter for a trace_event_call*@call: trace_event_call to create a filter for*@filter_str: filter string*@set_str: remember @filter_str and enable detailed error in filter*@filterp: out param for created filter (always updated on |
create_system_filter | 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 |
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 |