summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-01-23 09:45:27 +0300
committerAlexei Starovoitov <ast@kernel.org>2019-01-24 04:35:32 +0300
commite2fc61146aa6dea81f3231530c130be72af05c5a (patch)
treecdfd74460761b1938afbf88ddc817b3240571e44 /tools/perf/scripts/python/bin
parent91a87a5823f798f1c7b26783e0d2c6d22a1dc28c (diff)
downloadlinux-e2fc61146aa6dea81f3231530c130be72af05c5a.tar.xz
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 <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions