Searched refs:ftrace_set_filter (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/kernel/trace/ |
D | trace_selftest.c | 209 ftrace_set_filter(&test_probe1, func1_name, len1, 1); in trace_selftest_ops() 210 ftrace_set_filter(&test_probe2, func2_name, len2, 1); in trace_selftest_ops() 211 ftrace_set_filter(&test_probe3, func1_name, len1, 1); in trace_selftest_ops() 212 ftrace_set_filter(&test_probe3, func2_name, len2, 0); in trace_selftest_ops() 294 ftrace_set_filter(&test_probe3, func1_name, len1, 0); in trace_selftest_ops() 509 ret = ftrace_set_filter(&test_rec_probe, func_name, len, 1); in trace_selftest_function_recursion() 542 ret = ftrace_set_filter(&test_recsafe_probe, func_name, len, 1); in trace_selftest_function_recursion() 625 ret = ftrace_set_filter(&test_regs_probe, func_name, len, 1); in trace_selftest_function_regs()
|
D | fprobe.c | 192 ret = ftrace_set_filter(&fp->ops, str, len, 0); in register_fprobe()
|
D | trace_boot.c | 570 if (ftrace_set_filter(tr->ops, q, strlen(q), 0) < 0) in trace_boot_set_ftrace_filter()
|
D | trace.h | 1084 extern int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf,
|
D | trace_events_filter.c | 2034 ret = ftrace_set_filter(ops, re, len, reset); in ftrace_function_set_regexp()
|
D | ftrace.c | 5845 int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf, in ftrace_set_filter() function 5851 EXPORT_SYMBOL_GPL(ftrace_set_filter);
|
/linux-5.19.10/Documentation/trace/ |
D | ftrace-uses.rst | 236 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-5.19.10/include/linux/ |
D | ftrace.h | 530 int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf, 821 #define ftrace_set_filter(ops, buf, len, reset) ({ -ENODEV; }) macro
|