diff options
| author | Andrii Nakryiko <andrii@kernel.org> | 2022-04-28 11:53:49 -0700 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-04-28 23:46:04 +0200 |
| commit | 32c03c4954a03d46f603f94acac9d2705bd5c9c6 (patch) | |
| tree | 749d2f957655dcb434d8b2b502b95d18052258da /net/lapb/lapb_timer.c | |
| parent | cc7d8f2c8ecc003a67d4cf189d04124461524a16 (diff) | |
selftests/bpf: Use target-less SEC() definitions in various tests
Add new or modify existing SEC() definitions to be target-less and
validate that libbpf handles such program definitions correctly.
For kprobe/kretprobe we also add explicit test that generic
bpf_program__attach() works in cases when kprobe definition contains
proper target. It wasn't previously tested as selftests code always
explicitly specified the target regardless.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20220428185349.3799599-4-andrii@kernel.org
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
