diff options
author | Maxim Mikityanskiy <maxim@isovalent.com> | 2024-01-08 22:52:00 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-01-23 14:40:22 -0800 |
commit | 8e0e074aafb8fec227363ed905ddd2ac7e4575e4 (patch) | |
tree | a8a939758f2ad18de7b344d1980e87ab0cd2c322 /tools/testing/selftests/bpf/prog_tests/tracing_struct.c | |
parent | b827eee4c4d83ad92094b38d49cfec6844fb5863 (diff) |
bpf: Add the assign_scalar_id_before_mov function
Extract the common code that generates a register ID for src_reg before
MOV if needed into a new function. This function will also be used in
a following commit.
Signed-off-by: Maxim Mikityanskiy <maxim@isovalent.com>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20240108205209.838365-7-maxtram95@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions