diff options
author | 2021-11-05 13:45:31 -0700 | |
---|---|---|
committer | 2021-11-06 13:30:43 -0700 | |
commit | a9ab52bbcb52df49ec4b30e6741e120588989455 (patch) | |
tree | 37e924c963ac848b649211d9e33c9f0ab782dcee /tools/perf/scripts/python/export-to-postgresql.py | |
parent | kfence: count unexpectedly skipped allocations (diff) | |
download | wireguard-linux-a9ab52bbcb52df49ec4b30e6741e120588989455.tar.xz wireguard-linux-a9ab52bbcb52df49ec4b30e6741e120588989455.zip |
kfence: move saving stack trace of allocations into __kfence_alloc()
Move the saving of the stack trace of allocations into __kfence_alloc(),
so that the stack entries array can be used outside of
kfence_guarded_alloc() and we avoid potentially unwinding the stack
multiple times.
Link: https://lkml.kernel.org/r/20210923104803.2620285-3-elver@google.com
Signed-off-by: Marco Elver <elver@google.com>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Acked-by: Alexander Potapenko <glider@google.com>
Cc: Aleksandr Nogikh <nogikh@google.com>
Cc: Jann Horn <jannh@google.com>
Cc: Taras Madan <tarasmadan@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions