aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <[email protected]>2020-09-29 14:30:26 +0200
committerAlexei Starovoitov <[email protected]>2020-09-29 11:43:43 -0700
commitf970cbcdcdb5b3468a6c05332818d226fb60038f (patch)
tree335ff76350c26bf77870612b974de3c06d5fe7aa /tools/perf/scripts/python
parentf1fc8ece6c077bd6d460d99f4f83b9d20992b68b (diff)
selftests: Make sure all 'skel' variables are declared static
If programs in prog_tests using skeletons declare the 'skel' variable as global but not static, that will lead to linker errors on the final link of the prog_tests binary due to duplicate symbols. Fix a few instances of this. Fixes: b18c1f0aa477 ("bpf: selftest: Adapt sock_fields test to use skel and global variables") Fixes: 9a856cae2217 ("bpf: selftest: Add test_btf_skc_cls_ingress") Signed-off-by: Toke Høiland-Jørgensen <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions