diff options
| author | Andrey Konovalov <[email protected]> | 2023-11-20 18:47:04 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-10 16:51:44 -0800 |
| commit | fc60e0caa94dd7ca0e97a1d42527f71c9d51cd2d (patch) | |
| tree | 70518bad60587d739babc3e1cb081333e7ac5eeb /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 83130ab2d8a49e86c70d628d1446a84c8e6ad1a4 (diff) | |
lib/stackdepot: use fixed-sized slots for stack records
Instead of storing stack records in stack depot pools one right after
another, use fixed-sized slots.
Add a new Kconfig option STACKDEPOT_MAX_FRAMES that allows to select the
size of the slot in frames. Use 64 as the default value, which is the
maximum stack trace size both KASAN and KMSAN use right now.
Also add descriptions for other stack depot Kconfig options.
This is preparatory patch for implementing the eviction of stack records
from the stack depot.
Link: https://lkml.kernel.org/r/dce7d030a99ff61022509665187fac45b0827298.1700502145.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <[email protected]>
Cc: 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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions