summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorEduard Zingerman <eddyz87@gmail.com>2026-02-11 08:13:10 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-02-14 01:12:28 +0300
commitf632de6e195533426017187b85f55f6169b09a50 (patch)
treeca4d39f090eb2bd962adf9d5eaf9088e20b88c08 /scripts/stackusage
parent44331bd6a6107a33f8082521b227ffa4ec063a40 (diff)
downloadlinux-f632de6e195533426017187b85f55f6169b09a50.tar.xz
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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions