aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2019-01-22 22:45:27 -0800
committerAlexei Starovoitov <[email protected]>2019-01-23 17:35:32 -0800
commite2fc61146aa6dea81f3231530c130be72af05c5a (patch)
treecdfd74460761b1938afbf88ddc817b3240571e44 /tools/perf/scripts/python/compaction-times.py
parent91a87a5823f798f1c7b26783e0d2c6d22a1dc28c (diff)
nfp: bpf: save original program length
Instead of passing env->prog->len around, and trying to adjust for optimized out instructions just save the initial number of instructions in struct nfp_prog. 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