diff options
author | Andrii Nakryiko <[email protected]> | 2021-09-28 09:19:39 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-09-28 13:51:19 -0700 |
commit | c22bdd28257f3532092746b31856932d84ca2e2b (patch) | |
tree | f3311c20a34b3f7ca25f739d897eadd8dcf0878a /tools/testing/selftests/bpf/progs/test_skb_helpers.c | |
parent | 8fffa0e3451abdd84e4b4e427f7e66040eb24f43 (diff) |
selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc")
Convert all SEC("classifier*") uses to a new and strict SEC("tc")
section name. In reference_tracking selftests switch from ambiguous
searching by program title (section name) to non-ambiguous searching by
name in some selftests, getting closer to completely removing
bpf_object__find_program_by_title().
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_skb_helpers.c')
-rw-r--r-- | tools/testing/selftests/bpf/progs/test_skb_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/progs/test_skb_helpers.c b/tools/testing/selftests/bpf/progs/test_skb_helpers.c index bb3fbf1a29e3..507215791c5b 100644 --- a/tools/testing/selftests/bpf/progs/test_skb_helpers.c +++ b/tools/testing/selftests/bpf/progs/test_skb_helpers.c @@ -14,7 +14,7 @@ struct { char _license[] SEC("license") = "GPL"; -SEC("classifier/test_skb_helpers") +SEC("tc") int test_skb_helpers(struct __sk_buff *skb) { struct task_struct *task; |