diff options
| author | Jakub Kicinski <[email protected]> | 2019-01-22 22:45:21 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-01-23 17:35:32 -0800 |
| commit | a1b14abc009d9c13be355dbd4a4c4d47816ad3db (patch) | |
| tree | 755c19bcbbdbc875252133b72d706f23ffbb06b6 /tools/perf/scripts/python | |
| parent | 52875a04f4b26e7ef30a288ea096f7cfec0e93cd (diff) | |
bpf: verifier: remove unconditional branches by 0
Unconditional branches by 0 instructions are basically noops
but they can result from earlier optimizations, e.g. a conditional
jumps which would never be taken or a conditional jump around
dead code.
Remove those branches.
v0.2:
- s/opt_remove_dead_branches/opt_remove_nops/ (Jiong).
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Jiong Wang <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions