]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lib/stackdepot: check disabled flag when fetching
authorAndrey Konovalov <andreyknvl@google.com>
Mon, 20 Nov 2023 17:47:00 +0000 (18:47 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 20 Nov 2023 21:16:37 +0000 (13:16 -0800)
commitc0135e8c7ef35406c05744166d67401c0b7cdd57
tree1c3a66de2c020de0bd62e341ce7fa17020156799
parent6c0c80e5335948c7ea9ac934f846624e5f83a724
lib/stackdepot: check disabled flag when fetching

Do not try fetching a stack trace from the stack depot if the
stack_depot_disabled flag is enabled.

Link: https://lkml.kernel.org/r/c3bfa3b7ab00b2e48ab75a3fbb9c67555777cb08.1700502145.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Marco Elver <elver@google.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/stackdepot.c