aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2019-01-22 22:45:26 -0800
committerAlexei Starovoitov <[email protected]>2019-01-23 17:35:32 -0800
commit91a87a5823f798f1c7b26783e0d2c6d22a1dc28c (patch)
treeb30aba753f6b53f671b19eac6bede161bfbffee7 /tools/perf/scripts/python/compaction-times.py
parente90287f3aaf666c9e18e60f889f82ecfb0ee3c5d (diff)
nfp: bpf: split up the skip flag
We fail program loading if jump lands on a skipped instruction. This is for historical reasons, it used to be that we only skipped instructions optimized out based on prior context, and therefore the optimization would be buggy if we jumped directly to such instruction (because the context would be skipped by the jump). There are cases where instructions can be skipped without any context, for example there is no point in generating code for: r0 |= 0 We will also soon support dropping dead code, so make the skip logic differentiate between "optimized with preceding context" vs other skip types. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions