Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/Documentation/trace/
Dftrace-uses.rst190 int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf,
216 ret = ftrace_set_filter(&ops, "schedule", strlen("schedule"), 0);
218 To add more functions, call the ftrace_set_filter() more than once with the
226 ret = ftrace_set_filter(&ops, NULL, 0, 1);
254 This takes the same parameters as ftrace_set_filter() but will add the
274 the ftrace_set_filter() call. At no time will all functions call the callback.
278 ftrace_set_filter(&ops, "schedule", strlen("schedule"), 1);
284 ftrace_set_filter(&ops, "try_to_wake_up", strlen("try_to_wake_up"), 1);
290 ftrace_set_filter(&ops, "schedule", strlen("schedule"), 1);
296 ftrace_set_filter(&ops, NULL, 0, 1);
[all …]
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_selftest.c212 ftrace_set_filter(&test_probe1, func1_name, len1, 1); in trace_selftest_ops()
213 ftrace_set_filter(&test_probe2, func2_name, len2, 1); in trace_selftest_ops()
214 ftrace_set_filter(&test_probe3, func1_name, len1, 1); in trace_selftest_ops()
215 ftrace_set_filter(&test_probe3, func2_name, len2, 0); in trace_selftest_ops()
478 ret = ftrace_set_filter(&test_rec_probe, func_name, len, 1); in trace_selftest_function_recursion()
511 ret = ftrace_set_filter(&test_recsafe_probe, func_name, len, 1); in trace_selftest_function_recursion()
592 ret = ftrace_set_filter(&test_regs_probe, func_name, len, 1); in trace_selftest_function_regs()
Dtrace_boot.c257 if (ftrace_set_filter(tr->ops, q, strlen(q), 0) < 0) in trace_boot_set_ftrace_filter()
Dtrace.h1223 extern int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf,
Dtrace_events_filter.c2027 ret = ftrace_set_filter(ops, re, len, reset); in ftrace_function_set_regexp()
Dftrace.c5460 int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf, in ftrace_set_filter() function
5466 EXPORT_SYMBOL_GPL(ftrace_set_filter);
/kernel/linux/linux-5.10/include/linux/
Dftrace.h466 int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf,
741 #define ftrace_set_filter(ops, buf, len, reset) ({ -ENODEV; }) macro