diff options
| author | Andrey Konovalov <[email protected]> | 2023-11-20 18:47:03 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-10 16:51:44 -0800 |
| commit | 83130ab2d8a49e86c70d628d1446a84c8e6ad1a4 (patch) | |
| tree | e7ad11a02ee24c13c62160dd2fbb803a772b2a9c /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5f9ce55e020742e3c86a06941fbe9f37f9c022dd (diff) | |
lib/stackdepot: add depot_fetch_stack helper
Add a helper depot_fetch_stack function that fetches the pointer to a
stack record.
With this change, all static depot_* functions now operate on stack pools
and the exported stack_depot_* functions operate on the hash table.
Link: https://lkml.kernel.org/r/170d8c202f29dc8e3d5491ee074d1e9e029a46db.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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions