diff options
| author | Andrey Konovalov <[email protected]> | 2023-12-21 21:04:46 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-29 11:58:44 -0800 |
| commit | 3067b919ed81e17b8b8fb932c43f200775b1d545 (patch) | |
| tree | 042af0fec3f1c1f5169c9aaf627524cb9ce4e033 /tools/perf/scripts/python/stackcollapse.py | |
| parent | c20e3feadd4505c46a87dcabef5b129a97992466 (diff) | |
kasan: clean up kasan_requires_meta
Currently, for Generic KASAN mode, kasan_requires_meta is defined to
return kasan_stack_collection_enabled.
Even though the Generic mode does not support disabling stack trace
collection, kasan_requires_meta was implemented in this way to make it
easier to implement the disabling for the Generic mode in the future.
However, for the Generic mode, the per-object metadata also stores the
quarantine link. So even if disabling stack collection is implemented,
the per-object metadata will still be required.
Fix kasan_requires_meta to return true for the Generic mode and update the
related comments.
This change does not fix any observable bugs but rather just brings the
code to a cleaner state.
Link: https://lkml.kernel.org/r/8086623407095ac1c82377a2107dcc5845f99cfa.1703188911.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Marco Elver <[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