diff options
author | Jiri Olsa <jolsa@kernel.org> | 2022-11-14 15:52:57 +0100 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-11-14 11:36:55 -0800 |
commit | 5fd2a60aecf3a42b14fa371c55b3dbb18b229230 (patch) | |
tree | 88b736f28c4d006a3062f4d87b2fdcd40f52ef84 /kernel/events | |
parent | ed1fe1bebe18884b11e5536b5ac42e3a48960835 (diff) |
libbpf: Use correct return pointer in attach_raw_tp
We need to pass '*link' to final libbpf_get_error,
because that one holds the return value, not 'link'.
Fixes: 4fa5bcfe07f7 ("libbpf: Allow BPF program auto-attach handlers to bail out")
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20221114145257.882322-1-jolsa@kernel.org
Diffstat (limited to 'kernel/events')
0 files changed, 0 insertions, 0 deletions