Searched refs:filter_str (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/kernel/trace/ |
D | trace_events_trigger.c | 417 void *data, char *filter_str) in event_trigger_print() argument 428 if (filter_str) in event_trigger_print() 429 seq_printf(m, " if %s\n", filter_str); in event_trigger_print() 1050 int set_trigger_filter(char *filter_str, in set_trigger_filter() argument 1059 if (!filter_str) /* clear the current filter */ in set_trigger_filter() 1062 s = strsep(&filter_str, " \t"); in set_trigger_filter() 1067 if (!filter_str) in set_trigger_filter() 1072 filter_str, true, &filter); in set_trigger_filter() 1101 kfree(data->filter_str); in set_trigger_filter() 1102 data->filter_str = NULL; in set_trigger_filter() [all …]
|
D | trace_eprobe.c | 31 char *filter_str; member 59 kfree(ep->filter_str); in trace_event_probe_cleanup() 556 if (ep->filter_str) { in new_eprobe_trigger() 558 ep->filter_str, false, &filter); in new_eprobe_trigger() 833 ep->filter_str = kzalloc(len, GFP_KERNEL); in trace_eprobe_parse_filter() 834 if (!ep->filter_str) in trace_eprobe_parse_filter() 837 p = ep->filter_str; in trace_eprobe_parse_filter() 851 ret = create_event_filter(top_trace_array(), ep->event, ep->filter_str, in trace_eprobe_parse_filter() 859 kfree(ep->filter_str); in trace_eprobe_parse_filter() 860 ep->filter_str = NULL; in trace_eprobe_parse_filter() [all …]
|
D | trace_events_filter.c | 2308 char *filter_str, bool set_str, in create_event_filter() argument 2311 return create_filter(tr, call, filter_str, set_str, filterp); in create_event_filter() 2324 char *filter_str, struct event_filter **filterp) in create_system_filter() argument 2329 err = create_filter_start(filter_str, true, &pe, filterp); in create_system_filter() 2331 err = process_system_preds(dir, dir->tr, pe, filter_str); in create_system_filter() 2609 char *filter_str) in ftrace_profile_set_filter() argument 2627 err = create_filter(NULL, call, filter_str, false, &filter); in ftrace_profile_set_filter()
|
D | trace.h | 1527 char *filter_str, bool set_str, 1585 char *filter_str; member 1625 extern int set_trigger_filter(char *filter_str, 1824 int (*set_filter)(char *filter_str,
|
D | trace_events_hist.c | 2854 return test->filter_str; in find_trigger_filter() 6067 if (data->filter_str) in event_hist_trigger_print() 6068 seq_printf(m, " if %s", data->filter_str); in event_hist_trigger_print() 6235 if ((data->filter_str && !data_test->filter_str) || in hist_trigger_match() 6236 (!data->filter_str && data_test->filter_str)) in hist_trigger_match() 6270 if (!ignore_filter && data->filter_str && in hist_trigger_match() 6271 (strcmp(data->filter_str, data_test->filter_str) != 0)) in hist_trigger_match()
|
/linux-6.6.21/include/linux/ |
D | trace_events.h | 896 char *filter_str);
|
/linux-6.6.21/kernel/events/ |
D | core.c | 10947 perf_event_set_addr_filter(struct perf_event *event, char *filter_str) in perf_event_set_addr_filter() argument 10961 ret = perf_event_parse_addr_filter(event, filter_str, &filters); in perf_event_set_addr_filter() 10989 char *filter_str; in perf_event_set_filter() local 10991 filter_str = strndup_user(arg, PAGE_SIZE); in perf_event_set_filter() 10992 if (IS_ERR(filter_str)) in perf_event_set_filter() 10993 return PTR_ERR(filter_str); in perf_event_set_filter() 11011 ret = ftrace_profile_set_filter(event, event->attr.config, filter_str); in perf_event_set_filter() 11016 ret = perf_event_set_addr_filter(event, filter_str); in perf_event_set_filter() 11018 kfree(filter_str); in perf_event_set_filter()
|