diff options
author | Andrii Nakryiko <[email protected]> | 2023-11-01 20:37:55 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-11-09 18:58:39 -0800 |
commit | c697289efe4ef38bc5c62f119cb74433f784b826 (patch) | |
tree | 8d0218e3e7fb02b1647586e03d5ca0a01c133934 /tools/perf/scripts/python/sched-migration.py | |
parent | c31534267c180f7ed00288d239a501b554885300 (diff) |
bpf: move is_branch_taken() down
Move is_branch_taken() slightly down. In subsequent patched we'll need
both flip_opcode() and is_pkt_ptr_branch_taken() for is_branch_taken(),
but instead of sprinkling forward declarations around, it makes more
sense to move is_branch_taken() lower below is_pkt_ptr_branch_taken(),
and also keep it closer to very tightly related reg_set_min_max(), as
they are two critical parts of the same SCALAR range tracking logic.
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