diff options
author | Andrii Nakryiko <[email protected]> | 2021-09-28 09:19:46 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-09-28 13:51:20 -0700 |
commit | 7c80c87ad56a05ec56069c3f5d7e60b5b1eb19b4 (patch) | |
tree | 314da3ed262c2dc43d60dfeca2ac47fd430e19cd /tools/perf/scripts/python | |
parent | dd94d45cf0acb1d82748b17e1106b2c8b487b28b (diff) |
selftests/bpf: Switch sk_lookup selftests to strict SEC("sk_lookup") use
Update "sk_lookup/" definition to be a stand-alone type specifier,
with backwards-compatible prefix match logic in non-libbpf-1.0 mode.
Currently in selftests all the "sk_lookup/<whatever>" uses just use
<whatever> for duplicated unique name encoding, which is redundant as
BPF program's name (C function name) uniquely and descriptively
identifies the intended use for such BPF programs.
With libbpf's SEC_DEF("sk_lookup") definition updated, switch existing
sk_lookup programs to use "unqualified" SEC("sk_lookup") section names,
with no random text after it.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Dave Marchevsky <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions