aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorRolf Eike Beer <[email protected]>2022-10-19 09:32:35 +0200
committerKees Cook <[email protected]>2022-10-25 15:19:48 -0700
commitbfb4a2b95875a47a01234f2de113ec089d524e71 (patch)
tree5504d985271fe5c15cb193423169553bdc4acd3b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent8f6e3f9e5a0f58e458a348b7e36af11d0e9702af (diff)
exec: simplify initial stack size expansion
I had a hard time trying to understand completely why it is using vm_end in one side of the expression and vm_start in the other one, and using something in the "if" clause that is not an exact copy of what is used below. The whole point is that the stack_size variable that was used in the "if" clause is the difference between vm_start and vm_end, which is not far away but makes this thing harder to read than it must be. Signed-off-by: Rolf Eike Beer <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions