diff options
| author | Andrey Konovalov <[email protected]> | 2023-11-20 18:47:08 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-10 16:51:45 -0800 |
| commit | a5d21f71715a0459e5313881203f86eefbeefb3b (patch) | |
| tree | c8bf7e59f1dfbbd10e8b40ec3703c916e07fcfdb /tools/perf/scripts/python/task-analyzer.py | |
| parent | b6a353d3ebc2b5eea3cab81ed81764bb1dd6f4ab (diff) | |
lib/stackdepot: store next pool pointer in new_pool
Instead of using the last pointer in stack_pools for storing the pointer
to a new pool (which does not yet store any stack records), use a new
new_pool variable.
This a purely code readability change: it seems more logical to store the
pointer to a pool with a special meaning in a dedicated variable.
Link: https://lkml.kernel.org/r/448bc18296c16bef95cb3167697be6583dcc8ce3.1700502145.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <[email protected]>
Reviewed-by: Alexander Potapenko <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Evgenii Stepanov <[email protected]>
Cc: Marco Elver <[email protected]>
Cc: Oscar Salvador <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions