aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-12-13 17:47:10 -0800
committerAlexei Starovoitov <ast@kernel.org>2019-12-15 16:41:12 -0800
commit330a73a7b6ca93a415de1b7da68d7a0698fe4937 (patch)
tree7f0220e2dd38b8f7c99c9b4780c97cd6513be982 /tools/perf/scripts/python/export-to-sqlite.py
parentbpftool: Generate externs datasec in BPF skeleton (diff)
downloadlinux-dev-330a73a7b6ca93a415de1b7da68d7a0698fe4937.tar.xz
linux-dev-330a73a7b6ca93a415de1b7da68d7a0698fe4937.zip
selftests/bpf: Add tests for libbpf-provided externs
Add a set of tests validating libbpf-provided extern variables. One crucial feature that's tested is dead code elimination together with using invalid BPF helper. CONFIG_MISSING is not supposed to exist and should always be specified by libbpf as zero, which allows BPF verifier to correctly do branch pruning and not fail validation, when invalid BPF helper is called from dead if branch. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20191214014710.3449601-5-andriin@fb.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions