kunit: fix bug in the order of lines in debugfs logs
[platform/kernel/linux-starfive.git] / lib / Kconfig.debug
index 3638b34..12dfe66 100644 (file)
@@ -2092,6 +2092,7 @@ config TEST_MIN_HEAP
 config TEST_SORT
        tristate "Array-based sort test" if !KUNIT_ALL_TESTS
        depends on KUNIT
+       select STACKTRACE if ARCH_CORRECT_STACKTRACE_ON_KRETPROBE
        default KUNIT_ALL_TESTS
        help
          This option enables the self-test function of 'sort()' at boot,