Commit fa6b979c authored by Jiri Olsa's avatar Jiri Olsa Committed by Greg Kroah-Hartman
Browse files

libbpf: Fix error message in attach_kprobe_multi



[ Upstream commit 7c13ef16 ]

We just failed to retrieve pattern, so we need to print spec instead.

Fixes: ddc6b049 ("libbpf: Add bpf_program__attach_kprobe_multi_opts function")
Reported-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240502075541.1425761-2-jolsa@kernel.org


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 48e88dc8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment