diff options
author | Quentin Monnet <[email protected]> | 2018-10-07 12:56:57 +0100 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-10-08 10:24:13 +0200 |
commit | 7ff0ccde43664e3de9fe60edc19466f16cda6b7a (patch) | |
tree | bd7eaee10d0477f2b1c85e8205795572d7b5ce1b /tools/perf/scripts/python/syscall-counts.py | |
parent | 445496231445aad46866a858a384b428cd073977 (diff) |
nfp: bpf: support pointers to other stack frames for BPF-to-BPF calls
Mark instructions that use pointers to areas in the stack outside of the
current stack frame, and process them accordingly in mem_op_stack().
This way, we also support BPF-to-BPF calls where the caller passes a
pointer to data in its own stack frame to the callee (typically, when
the caller passes an address to one of its local variables located in
the stack, as an argument).
Thanks to Jakub and Jiong for figuring out how to deal with this case,
I just had to turn their email discussion into this patch.
Suggested-by: Jiong Wang <[email protected]>
Suggested-by: Jakub Kicinski <[email protected]>
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