aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorQuentin Monnet <[email protected]>2018-10-07 12:56:49 +0100
committerDaniel Borkmann <[email protected]>2018-10-08 10:24:12 +0200
commitc5da54d93eb43461a5b79e1fdad8409abad83a77 (patch)
tree5ef452ec5ae10b8a364c41eb1c89d7cb91b91005 /tools/perf/scripts/python/syscall-counts.py
parent1a7e62e6329c210ff67c5706fbe91187f2452baf (diff)
nfp: bpf: copy eBPF subprograms information from kernel verifier
In order to support BPF-to-BPF calls in offloaded programs, the nfp driver must collect information about the distinct subprograms: namely, the number of subprograms composing the complete program and the stack depth of those subprograms. The latter in particular is non-trivial to collect, so we copy those elements from the kernel verifier via the newly added post-verification hook. The struct nfp_prog is extended to store this information. Stack depths are stored in an array of dedicated structs. Subprogram start indexes are not collected. Instead, meta instructions associated to the start of a subprogram will be marked with a flag in a later patch. Signed-off-by: Quentin Monnet <[email protected]> Reviewed-by: Jiong Wang <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions