diff options
author | Andrii Nakryiko <[email protected]> | 2023-11-01 20:37:49 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-11-09 18:58:39 -0800 |
commit | c51d5ad6543cc36334ef1fcd762d0df767a0bf7e (patch) | |
tree | 400e30036ffb1509ed621b4a781d87bdec4239e5 /tools/perf/scripts/python/task-analyzer.py | |
parent | 6593f2e6741f03b49bffc9d55ddd4c1c47853c39 (diff) |
bpf: improve deduction of 64-bit bounds from 32-bit bounds
Add a few interesting cases in which we can tighten 64-bit bounds based
on newly learnt information about 32-bit bounds. E.g., when full u64/s64
registers are used in BPF program, and then eventually compared as
u32/s32. The latter comparison doesn't change the value of full
register, but it does impose new restrictions on possible lower 32 bits
of such full registers. And we can use that to derive additional full
register bounds information.
Acked-by: Eduard Zingerman <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Shung-Hsi Yu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions