diff options
author | Puranjay Mohan <[email protected]> | 2024-07-08 11:47:58 +0000 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2024-07-08 15:44:08 +0200 |
commit | a5912c37faf723c0812a6a2c9dd18ffbd34a233b (patch) | |
tree | 03cb7edb8f866105dad4b46de6a812839a732c0e /tools/perf/scripts/python/syscall-counts.py | |
parent | fd8db07705c55a995c42b1e71afc42faad675b0b (diff) |
riscv, bpf: Optimize stack usage of trampoline
When BPF_TRAMP_F_CALL_ORIG is not set, stack space for passing arguments
on stack doesn't need to be reserved because the original function is
not called.
Only reserve space for stacked arguments when BPF_TRAMP_F_CALL_ORIG is
set.
Signed-off-by: Puranjay Mohan <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Pu Lehui <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions