Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/trace/
Dtrace_events_trigger.c415 void *data, char *filter_str) in event_trigger_print() argument
426 if (filter_str) in event_trigger_print()
427 seq_printf(m, " if %s\n", filter_str); in event_trigger_print()
1048 int set_trigger_filter(char *filter_str, in set_trigger_filter() argument
1057 if (!filter_str) /* clear the current filter */ in set_trigger_filter()
1060 s = strsep(&filter_str, " \t"); in set_trigger_filter()
1065 if (!filter_str) in set_trigger_filter()
1070 filter_str, false, &filter); in set_trigger_filter()
1086 kfree(data->filter_str); in set_trigger_filter()
1087 data->filter_str = NULL; in set_trigger_filter()
[all …]
Dtrace_eprobe.c31 char *filter_str; member
55 kfree(ep->filter_str); in trace_event_probe_cleanup()
651 if (ep->filter_str) { in new_eprobe_trigger()
653 ep->filter_str, false, &filter); in new_eprobe_trigger()
923 ep->filter_str = kzalloc(len, GFP_KERNEL); in trace_eprobe_parse_filter()
924 if (!ep->filter_str) in trace_eprobe_parse_filter()
927 p = ep->filter_str; in trace_eprobe_parse_filter()
945 ret = create_event_filter(top_trace_array(), ep->event, ep->filter_str, in trace_eprobe_parse_filter()
953 kfree(ep->filter_str); in trace_eprobe_parse_filter()
954 ep->filter_str = NULL; in trace_eprobe_parse_filter()
[all …]
Dtrace_events_filter.c1956 char *filter_str, bool set_str, in create_event_filter() argument
1959 return create_filter(tr, call, filter_str, set_str, filterp); in create_event_filter()
1972 char *filter_str, struct event_filter **filterp) in create_system_filter() argument
1977 err = create_filter_start(filter_str, true, &pe, filterp); in create_system_filter()
1979 err = process_system_preds(dir, dir->tr, pe, filter_str); in create_system_filter()
2254 char *filter_str) in ftrace_profile_set_filter() argument
2272 err = create_filter(NULL, call, filter_str, false, &filter); in ftrace_profile_set_filter()
Dtrace.h1482 char *filter_str, bool set_str,
1540 char *filter_str; member
1580 extern int set_trigger_filter(char *filter_str,
1776 int (*set_filter)(char *filter_str,
Dtrace_events_hist.c2809 return test->filter_str; in find_trigger_filter()
5827 if (data->filter_str) in event_hist_trigger_print()
5828 seq_printf(m, " if %s", data->filter_str); in event_hist_trigger_print()
5995 if ((data->filter_str && !data_test->filter_str) || in hist_trigger_match()
5996 (!data->filter_str && data_test->filter_str)) in hist_trigger_match()
6030 if (!ignore_filter && data->filter_str && in hist_trigger_match()
6031 (strcmp(data->filter_str, data_test->filter_str) != 0)) in hist_trigger_match()
/linux-6.1.9/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.h726 const char *filter_str);
/linux-6.1.9/include/linux/
Dtrace_events.h868 char *filter_str);
/linux-6.1.9/kernel/events/
Dcore.c10676 perf_event_set_addr_filter(struct perf_event *event, char *filter_str) in perf_event_set_addr_filter() argument
10690 ret = perf_event_parse_addr_filter(event, filter_str, &filters); in perf_event_set_addr_filter()
10718 char *filter_str; in perf_event_set_filter() local
10720 filter_str = strndup_user(arg, PAGE_SIZE); in perf_event_set_filter()
10721 if (IS_ERR(filter_str)) in perf_event_set_filter()
10722 return PTR_ERR(filter_str); in perf_event_set_filter()
10740 ret = ftrace_profile_set_filter(event, event->attr.config, filter_str); in perf_event_set_filter()
10745 ret = perf_event_set_addr_filter(event, filter_str); in perf_event_set_filter()
10747 kfree(filter_str); in perf_event_set_filter()