diff options
| author | Andrii Nakryiko <[email protected]> | 2023-12-05 10:42:44 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-12-05 13:40:21 -0800 |
| commit | e322f0bcb8d371f4606eaf141c7f967e1a79bcb7 (patch) | |
| tree | 465b4dead3816fce4a5b27dafd7f566fb5b75da4 /tools/perf/scripts/python/bin | |
| parent | b33ceb6a3d2ee07fdd836373383a6d4783581324 (diff) | |
bpf: preserve constant zero when doing partial register restore
Similar to special handling of STACK_ZERO, when reading 1/2/4 bytes from
stack from slot that has register spilled into it and that register has
a constant value zero, preserve that zero and mark spilled register as
precise for that. This makes spilled const zero register and STACK_ZERO
cases equivalent in their behavior.
Acked-by: Eduard Zingerman <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions