summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYonghong Song <yonghong.song@linux.dev>2026-05-16 01:50:56 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-05-17 03:46:16 +0300
commitd1dbe443a0abb4ea3ec35a16e36efe6d3bbf72f6 (patch)
tree9e23942f3600de6eec59956d7930199d3bd7000c /include
parent0e2647792f60df746422d6089daf9d56945d5f91 (diff)
downloadlinux-d1dbe443a0abb4ea3ec35a16e36efe6d3bbf72f6.tar.xz
bpf: Fix arg_track_join log to use sa prefix for stack arg slots
arg_track_join() logs state transitions at CFG merge points. For stack arg slots (r >= MAX_BPF_REG), it printed "r11:", "r12:", etc., which is misleading since r11 is a special register (BPF_REG_PARAMS) not meaningful to the user. Fix it to print "sa0:", "sa1:", etc., matching the per-instruction transition log in arg_track_log() which already uses the "sa" prefix. Update the existing stack_arg_pruning_type_mismatch selftest to expect the corrected format. Fixes: 2af4e792773f ("bpf: Extend liveness analysis to track stack argument slots") Signed-off-by: Yonghong Song <yonghong.song@linux.dev> Link: https://lore.kernel.org/r/20260515225056.823086-1-yonghong.song@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions