Lines Matching refs:filter_string
417 kfree(filter->filter_string);
418 filter->filter_string = NULL;
422 char *filter_string)
424 kfree(filter->filter_string);
425 filter->filter_string = kstrdup(filter_string, GFP_KERNEL);
426 if (!filter->filter_string)
438 BUG_ON(!filter->filter_string);
439 newlen = strlen(filter->filter_string) + strlen(string) + 1;
444 strcpy(new_filter_string, filter->filter_string);
446 kfree(filter->filter_string);
447 filter->filter_string = new_filter_string;
479 if (filter && filter->filter_string)
480 trace_seq_printf(s, "%s\n", filter->filter_string);
492 if (filter && filter->filter_string)
493 trace_seq_printf(s, "%s\n", filter->filter_string);
581 kfree(filter->filter_string);
1193 char *filter_string,
1251 char *filter_string)
1264 err = replace_preds(call, filter, ps, filter_string, true);
1270 err = replace_preds(call, filter, ps, filter_string, false);
1275 replace_filter_string(filter, filter_string);
1287 int apply_event_filter(struct ftrace_event_call *call, char *filter_string)
1298 if (!strcmp(strstrip(filter_string), "0")) {
1310 replace_filter_string(call->filter, filter_string);
1312 parse_init(ps, filter_ops, filter_string);
1319 err = replace_preds(call, call->filter, ps, filter_string, false);
1335 char *filter_string)
1346 if (!strcmp(strstrip(filter_string), "0")) {
1357 replace_filter_string(system->filter, filter_string);
1359 parse_init(ps, filter_ops, filter_string);
1366 err = replace_system_preds(system, ps, filter_string);