diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2022-08-17 08:03:30 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-12-15 16:40:43 -0800 |
commit | 4acb9e5139f20c79eb08a95dc5a28186ae7a5088 (patch) | |
tree | 7efa51f1fe4b75261af8ab091e8bd614f94bed14 /tools | |
parent | a7ebbbb159c181c696770feeb89bf0334aaff6d8 (diff) | |
download | linux-4acb9e5139f20c79eb08a95dc5a28186ae7a5088.tar.gz linux-4acb9e5139f20c79eb08a95dc5a28186ae7a5088.tar.bz2 linux-4acb9e5139f20c79eb08a95dc5a28186ae7a5088.zip |
fault-injection: skip stacktrace filtering by default
If FAULT_INJECTION_STACKTRACE_FILTER is enabled, the depth is default to
32. This means fail_stacktrace() will iter each entry's stacktrace, even
if filter is not configured.
This patch changes to quick return from fail_stacktrace() if stacktrace
filter is not set.
Link: https://lkml.kernel.org/r/20220817080332.1052710-3-weiyongjun1@huawei.com
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Isabella Basso <isabbasso@riseup.net>
Cc: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: Kees Cook <keescook@chromium.org>
Cc: Miguel Ojeda <ojeda@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions