diff options
| author | Jiri Olsa <jolsa@kernel.org> | 2026-06-06 15:39:30 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-06-07 20:03:00 +0300 |
| commit | 8a35e8db740f96ec17b85db5a0f83c028c707a3e (patch) | |
| tree | b6aa497fdda171aad043bcc596fcbfbef29d55bc /include/uapi/linux | |
| parent | e6abd4cd157bf63cd89c74f8f10abae76e7b0359 (diff) | |
| download | linux-8a35e8db740f96ec17b85db5a0f83c028c707a3e.tar.xz | |
bpf: Add struct bpf_trampoline_ops object
In following changes we will need to override ftrace direct attachment
behaviour. In order to do that we are adding struct bpf_trampoline_ops
object that defines callbacks for ftrace direct attachment:
register_fentry
unregister_fentry
modify_fentry
The new struct bpf_trampoline_ops object is passed as an argument to
__bpf_trampoline_link/unlink_prog functions.
At the moment the default trampoline_ops is set to the current ftrace
direct attachment functions, so there's no functional change for the
current code.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20260606123955.345967-6-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
