diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-11-17 19:46:18 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-11-18 11:39:59 -0800 |
commit | 009f5465be3636e9ce795cfbd5d3109d8978774d (patch) | |
tree | 002d13a634eec591e43f86ef1c86db862dd26eec /tools/testing/selftests/bpf/prog_tests/align.c | |
parent | 42feb6620accded89cad5f455665e21281813d79 (diff) |
bpf: extract register state printing
Extract printing register state representation logic into a separate
helper, as we are going to reuse it for spilled register state printing
in the next patch. This also nicely reduces code nestedness.
No functional changes.
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Acked-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20231118034623.3320920-4-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/align.c')
0 files changed, 0 insertions, 0 deletions