diff options
| author | Jiri Olsa <[email protected]> | 2021-12-08 20:32:43 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-12-13 09:24:22 -0800 |
| commit | 5edf6a1983b90371da888ca86493937ec1c8a2b5 (patch) | |
| tree | 9196ba513a825efee7ab98d34b52bd989819ba66 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | 2b070c2bc885977ca8fe76ba8f6b9d73d8d20e39 (diff) | |
bpf, x64: Replace some stack_size usage with offset variables
As suggested by Andrii, adding variables for registers and ip
address offsets, which makes the code more clear, rather than
abusing single stack_size variable for everything.
Also describing the stack layout in the comment.
There is no function change.
Suggested-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: John Fastabend <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions