summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorEduard Zingerman <eddyz87@gmail.com>2026-02-10 21:13:10 -0800
committerAlexei Starovoitov <ast@kernel.org>2026-02-13 14:12:28 -0800
commitf632de6e195533426017187b85f55f6169b09a50 (patch)
treeca4d39f090eb2bd962adf9d5eaf9088e20b88c08 /tools/perf/scripts/python/stackcollapse.py
parent44331bd6a6107a33f8082521b227ffa4ec063a40 (diff)
selftests/bpf: Migrate align.c tests to test_loader framework
While working on pointer tracking changes I found it necessary to update expected log messages in align.c series of tests. As a preliminary step, migrate these tests to test_loader framework. The tests in question load BPF program and check if expected log is produced, the log is specified as: .matches = { ... {4, "R3", "32"}, ... } Where: - '4' is an *instruction number* (contrary to the field name in struct bpf_reg_match). - 'R3' is the name of the register to check. - '32' is the value expected for this register. Mimic the same logic using __msg macro. Signed-off-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20260211051310.2782558-1-eddyz87@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions