diff options
author | Martin KaFai Lau <kafai@fb.com> | 2021-11-05 18:40:20 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-11-06 12:54:12 -0700 |
commit | d99341b373215cf32bfb7f341fb3e720e0e791ef (patch) | |
tree | 54810b9f3412a1609a829507bf943ae58e88b243 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 3990ed4c426652fcd469f8c9dc08156294b36c28 (diff) |
bpf: selftest: Trigger a DCE on the whole subprog
This patch adds a test to trigger the DCE to remove
the whole subprog to ensure the verifier does not
depend on a stable subprog index. The DCE is done
by testing a global const.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211106014020.651638-1-kafai@fb.com
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions