diff options
author | Andrii Nakryiko <[email protected]> | 2023-11-01 20:37:56 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-11-09 18:58:40 -0800 |
commit | b74c2a842bba941945279027083fcee1e9aaa73f (patch) | |
tree | b74a08de9ced5f5a686a7cbf080296652d03421b /tools/perf/scripts/python/task-analyzer.py | |
parent | c697289efe4ef38bc5c62f119cb74433f784b826 (diff) |
bpf: generalize is_branch_taken to handle all conditional jumps in one place
Make is_branch_taken() a single entry point for branch pruning decision
making, handling both pointer vs pointer, pointer vs scalar, and scalar
vs scalar cases in one place. This also nicely cleans up check_cond_jmp_op().
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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions