Searched refs:ftrace_set_filter (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/Documentation/trace/ |
D | ftrace-uses.rst | 190 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/ |
D | trace_selftest.c | 212 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()
|
D | trace_boot.c | 257 if (ftrace_set_filter(tr->ops, q, strlen(q), 0) < 0) in trace_boot_set_ftrace_filter()
|
D | trace.h | 1223 extern int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf,
|
D | trace_events_filter.c | 2027 ret = ftrace_set_filter(ops, re, len, reset); in ftrace_function_set_regexp()
|
D | ftrace.c | 5460 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/ |
D | ftrace.h | 466 int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf, 741 #define ftrace_set_filter(ops, buf, len, reset) ({ -ENODEV; }) macro
|