Home
last modified time | relevance | path

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

/kernel/trace/
Dtrace_events_trigger.c380 void *data, char *filter_str) in event_trigger_print() argument
391 if (filter_str) in event_trigger_print()
392 seq_printf(m, " if %s\n", filter_str); in event_trigger_print()
725 int set_trigger_filter(char *filter_str, in set_trigger_filter() argument
734 if (!filter_str) /* clear the current filter */ in set_trigger_filter()
737 s = strsep(&filter_str, " \t"); in set_trigger_filter()
742 if (!filter_str) in set_trigger_filter()
747 filter_str, false, &filter); in set_trigger_filter()
763 kfree(data->filter_str); in set_trigger_filter()
764 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.h1555 char *filter_str, bool set_str,
1604 char *filter_str; member
1648 extern int set_trigger_filter(char *filter_str,
1808 int (*set_filter)(char *filter_str,
Dtrace_events_hist.c3149 return test->filter_str; in find_trigger_filter()
5714 if (data->filter_str) in event_hist_trigger_print()
5715 seq_printf(m, " if %s", data->filter_str); in event_hist_trigger_print()
5885 if ((data->filter_str && !data_test->filter_str) || in hist_trigger_match()
5886 (!data->filter_str && data_test->filter_str)) in hist_trigger_match()
5920 if (!ignore_filter && data->filter_str && in hist_trigger_match()
5921 (strcmp(data->filter_str, data_test->filter_str) != 0)) in hist_trigger_match()
/kernel/events/
Dcore.c9491 perf_event_set_addr_filter(struct perf_event *event, char *filter_str) in perf_event_set_addr_filter() argument
9505 ret = perf_event_parse_addr_filter(event, filter_str, &filters); in perf_event_set_addr_filter()
9533 char *filter_str; in perf_event_set_filter() local
9535 filter_str = strndup_user(arg, PAGE_SIZE); in perf_event_set_filter()
9536 if (IS_ERR(filter_str)) in perf_event_set_filter()
9537 return PTR_ERR(filter_str); in perf_event_set_filter()
9555 ret = ftrace_profile_set_filter(event, event->attr.config, filter_str); in perf_event_set_filter()
9560 ret = perf_event_set_addr_filter(event, filter_str); in perf_event_set_filter()
9562 kfree(filter_str); in perf_event_set_filter()