summaryrefslogtreecommitdiff
path: root/kernel/fail_function.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2025-12-30 15:50:06 +0100
committerAndrii Nakryiko <andrii@kernel.org>2026-01-28 11:44:51 -0800
commit8d2c1233f37149e4d1223d06ca7054a7f88c0a24 (patch)
treef794bacae8e452411b997f0f5c982f6fdb4b8205 /kernel/fail_function.c
parent05dc5e9c1fe156fd9dddc4c2f81e8fc6c7e50eb5 (diff)
ftrace: Add update_ftrace_direct_del function
Adding update_ftrace_direct_del function that removes all entries (ip -> addr) provided in hash argument to direct ftrace ops and updates its attachments. The difference to current unregister_ftrace_direct is - hash argument that allows to unregister multiple ip -> direct entries at once - we can call update_ftrace_direct_del multiple times on the same ftrace_ops object, becase we do not need to unregister all entries at once, we can do it gradualy with the help of ftrace_update_ops function This change will allow us to have simple ftrace_ops for all bpf direct interface users in following changes. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org> Link: https://lore.kernel.org/bpf/20251230145010.103439-6-jolsa@kernel.org
Diffstat (limited to 'kernel/fail_function.c')
0 files changed, 0 insertions, 0 deletions