diff options
author | Yonghong Song <[email protected]> | 2024-11-12 08:39:17 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-11-12 16:26:24 -0800 |
commit | f4b21ed0b9d6c9fe155451a1fb3531fb44b0afa8 (patch) | |
tree | 55525aa9db8b64605b76e2f110776181ebc15487 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e00931c02568dc6ac76f94b1ab471de05e6fdfe8 (diff) |
bpf, x86: Avoid repeated usage of bpf_prog->aux->stack_depth
Refactor the code to avoid repeated usage of bpf_prog->aux->stack_depth
in do_jit() func. If the private stack is used, the stack_depth will be
0 for that prog. Refactoring make it easy to adjust stack_depth.
Signed-off-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions