Home
last modified time | relevance | path

Searched refs:filter_str (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/kernel/trace/
Dtrace_events_trigger.c387 void *data, char *filter_str) in event_trigger_print() argument
398 if (filter_str) in event_trigger_print()
399 seq_printf(m, " if %s\n", filter_str); in event_trigger_print()
738 int set_trigger_filter(char *filter_str, in set_trigger_filter() argument
747 if (!filter_str) /* clear the current filter */ in set_trigger_filter()
750 s = strsep(&filter_str, " \t"); in set_trigger_filter()
755 if (!filter_str) in set_trigger_filter()
760 filter_str, false, &filter); in set_trigger_filter()
776 kfree(data->filter_str); in set_trigger_filter()
777 data->filter_str = NULL; in set_trigger_filter()
[all …]
Dtrace_events_filter.c1758 char *filter_str, bool set_str, in create_event_filter() argument
1761 return create_filter(tr, call, filter_str, set_str, filterp); in create_event_filter()
1775 char *filter_str, struct event_filter **filterp) in create_system_filter() argument
1780 err = create_filter_start(filter_str, true, &pe, filterp); in create_system_filter()
1782 err = process_system_preds(dir, tr, pe, filter_str); in create_system_filter()
2057 char *filter_str) in ftrace_profile_set_filter() argument
2075 err = create_filter(NULL, call, filter_str, false, &filter); in ftrace_profile_set_filter()
Dtrace.h1665 char *filter_str, bool set_str,
1717 char *filter_str; member
1761 extern int set_trigger_filter(char *filter_str,
1921 int (*set_filter)(char *filter_str,
Dtrace_events_hist.c2336 return test->filter_str; in find_trigger_filter()
5217 if (data->filter_str) in event_hist_trigger_print()
5218 seq_printf(m, " if %s", data->filter_str); in event_hist_trigger_print()
5388 if ((data->filter_str && !data_test->filter_str) || in hist_trigger_match()
5389 (!data->filter_str && data_test->filter_str)) in hist_trigger_match()
5423 if (!ignore_filter && data->filter_str && in hist_trigger_match()
5424 (strcmp(data->filter_str, data_test->filter_str) != 0)) in hist_trigger_match()
/kernel/linux/linux-5.10/tools/lib/traceevent/
Dparse-filter.c1178 process_event(struct tep_event *event, const char *filter_str, in process_event() argument
1183 init_input_buf(filter_str, strlen(filter_str)); in process_event()
1204 const char *filter_str, char *error_str) in filter_event() argument
1210 if (filter_str) { in filter_event()
1211 ret = process_event(event, filter_str, &arg, error_str); in filter_event()
1255 const char *filter_str) in tep_filter_add_filter_str() argument
1272 filter_start = strchr(filter_str, ':'); in tep_filter_add_filter_str()
1274 len = filter_start - filter_str; in tep_filter_add_filter_str()
1276 len = strlen(filter_str); in tep_filter_add_filter_str()
1279 next_event = strchr(filter_str, ','); in tep_filter_add_filter_str()
[all …]
Devent-parse.h725 const char *filter_str);
/kernel/linux/linux-5.10/include/linux/
Dtrace_events.h747 char *filter_str);
/kernel/linux/linux-5.10/kernel/events/
Dcore.c10282 perf_event_set_addr_filter(struct perf_event *event, char *filter_str) in perf_event_set_addr_filter() argument
10296 ret = perf_event_parse_addr_filter(event, filter_str, &filters); in perf_event_set_addr_filter()
10324 char *filter_str; in perf_event_set_filter() local
10326 filter_str = strndup_user(arg, PAGE_SIZE); in perf_event_set_filter()
10327 if (IS_ERR(filter_str)) in perf_event_set_filter()
10328 return PTR_ERR(filter_str); in perf_event_set_filter()
10346 ret = ftrace_profile_set_filter(event, event->attr.config, filter_str); in perf_event_set_filter()
10351 ret = perf_event_set_addr_filter(event, filter_str); in perf_event_set_filter()
10353 kfree(filter_str); in perf_event_set_filter()