summaryrefslogtreecommitdiffstats
path: root/kernel/trace/ftrace_internal.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2022-03-15 15:00:26 +0100
committerAlexei Starovoitov <ast@kernel.org>2022-03-18 04:15:17 +0100
commit4f554e955614f19425cee86de4669351741a6280 (patch)
treeeb34e6a359043c9840ebd4ad7ee772e0b5510f9b /kernel/trace/ftrace_internal.h
parentselftests/bpf: Fix tunnel remote IP comments (diff)
downloadlinux-4f554e955614f19425cee86de4669351741a6280.tar.xz
linux-4f554e955614f19425cee86de4669351741a6280.zip
ftrace: Add ftrace_set_filter_ips function
Adding ftrace_set_filter_ips function to be able to set filter on multiple ip addresses at once. With the kprobe multi attach interface we have cases where we need to initialize ftrace_ops object with thousands of functions, so having single function diving into ftrace_hash_move_and_update_ops with ftrace_lock is faster. The functions ips are passed as unsigned long array with count. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org> Tested-by: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/164735282673.1084943.18310504594134769804.stgit@devnote2
Diffstat (limited to 'kernel/trace/ftrace_internal.h')
0 files changed, 0 insertions, 0 deletions