mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 02:59:05 -04:00
Adding tests for attach fails on tracing multi link. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/r/20260606123955.345967-27-jolsa@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
19 lines
284 B
C
19 lines
284 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <vmlinux.h>
|
|
#include <bpf/bpf_helpers.h>
|
|
#include <bpf/bpf_tracing.h>
|
|
|
|
char _license[] SEC("license") = "GPL";
|
|
|
|
SEC("fentry.multi")
|
|
int BPF_PROG(test_fentry)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
SEC("fentry.multi.s")
|
|
int BPF_PROG(test_fentry_s)
|
|
{
|
|
return 0;
|
|
}
|