Home
last modified time | relevance | path

Searched refs:ftrace_set_filter (Results 1 – 6 of 6) sorted by relevance

/linux/Documentation/trace/
H A Dftrace-uses.rst236 int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf,
262 ret = ftrace_set_filter(&ops, "schedule", strlen("schedule"), 0);
264 To add more functions, call the ftrace_set_filter() more than once with the
272 ret = ftrace_set_filter(&ops, NULL, 0, 1);
300 This takes the same parameters as ftrace_set_filter() but will add the
320 the ftrace_set_filter() call. At no time will all functions call the callback.
324 ftrace_set_filter(&ops, "schedule", strlen("schedule"), 1);
330 ftrace_set_filter(&ops, "try_to_wake_up", strlen("try_to_wake_up"), 1);
336 ftrace_set_filter(&ops, "schedule", strlen("schedule"), 1);
342 ftrace_set_filter(&ops, NULL, 0, 1);
[all …]
/linux/include/linux/
H A Dftrace.h723 int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf,
1003 #define ftrace_set_filter(ops, buf, len, reset) ({ -ENODEV; }) macro
/linux/kernel/trace/
H A Dtrace_boot.c570 if (ftrace_set_filter(tr->ops, q, strlen(q), 0) < 0) in trace_boot_set_ftrace_filter()
H A Dtrace.h1220 extern int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf,
H A Dtrace_events_filter.c2482 ret = ftrace_set_filter(ops, re, len, reset); in ftrace_function_set_regexp()
H A Dftrace.c6235 int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf, in ftrace_set_filter() function
6241 EXPORT_SYMBOL_GPL(ftrace_set_filter);