aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2023-11-01 20:37:56 -0700
committerAlexei Starovoitov <[email protected]>2023-11-09 18:58:40 -0800
commitb74c2a842bba941945279027083fcee1e9aaa73f (patch)
treeb74a08de9ced5f5a686a7cbf080296652d03421b /tools/perf/scripts/python/sched-migration.py
parentc697289efe4ef38bc5c62f119cb74433f784b826 (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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions