diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2018-06-14 18:27:48 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-14 18:55:24 -0400 |
| commit | f1b4bd0676c2b3d4a023cf3f5d535e618f7e6eff (patch) | |
| tree | 80328fd79511f46faa93e7ac4d8f8bce9603cc1c /lib | |
| parent | 758517202bd2e427664857c9f2aa59da36848aca (diff) | |
fault-injection: reorder config entries
Reorder Kconfig entries, so that menuconfig displays proper indentation.
Link: http://lkml.kernel.org/r/alpine.LRH.2.02.1804251601160.30569@file01.intranet.prod.int.rdu2.redhat.com
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Kconfig.debug | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index d543c65ce0eb..8838d1158d19 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -1506,6 +1506,10 @@ config NETDEV_NOTIFIER_ERROR_INJECT | |||
| 1506 | 1506 | ||
| 1507 | If unsure, say N. | 1507 | If unsure, say N. |
| 1508 | 1508 | ||
| 1509 | config FUNCTION_ERROR_INJECTION | ||
| 1510 | def_bool y | ||
| 1511 | depends on HAVE_FUNCTION_ERROR_INJECTION && KPROBES | ||
| 1512 | |||
| 1509 | config FAULT_INJECTION | 1513 | config FAULT_INJECTION |
| 1510 | bool "Fault-injection framework" | 1514 | bool "Fault-injection framework" |
| 1511 | depends on DEBUG_KERNEL | 1515 | depends on DEBUG_KERNEL |
| @@ -1513,10 +1517,6 @@ config FAULT_INJECTION | |||
| 1513 | Provide fault-injection framework. | 1517 | Provide fault-injection framework. |
| 1514 | For more details, see Documentation/fault-injection/. | 1518 | For more details, see Documentation/fault-injection/. |
| 1515 | 1519 | ||
| 1516 | config FUNCTION_ERROR_INJECTION | ||
| 1517 | def_bool y | ||
| 1518 | depends on HAVE_FUNCTION_ERROR_INJECTION && KPROBES | ||
| 1519 | |||
| 1520 | config FAILSLAB | 1520 | config FAILSLAB |
| 1521 | bool "Fault-injection capability for kmalloc" | 1521 | bool "Fault-injection capability for kmalloc" |
| 1522 | depends on FAULT_INJECTION | 1522 | depends on FAULT_INJECTION |
| @@ -1547,16 +1547,6 @@ config FAIL_IO_TIMEOUT | |||
| 1547 | Only works with drivers that use the generic timeout handling, | 1547 | Only works with drivers that use the generic timeout handling, |
| 1548 | for others it wont do anything. | 1548 | for others it wont do anything. |
| 1549 | 1549 | ||
| 1550 | config FAIL_MMC_REQUEST | ||
| 1551 | bool "Fault-injection capability for MMC IO" | ||
| 1552 | depends on FAULT_INJECTION_DEBUG_FS && MMC | ||
| 1553 | help | ||
| 1554 | Provide fault-injection capability for MMC IO. | ||
| 1555 | This will make the mmc core return data errors. This is | ||
| 1556 | useful to test the error handling in the mmc block device | ||
| 1557 | and to test how the mmc host driver handles retries from | ||
| 1558 | the block device. | ||
| 1559 | |||
| 1560 | config FAIL_FUTEX | 1550 | config FAIL_FUTEX |
| 1561 | bool "Fault-injection capability for futexes" | 1551 | bool "Fault-injection capability for futexes" |
| 1562 | select DEBUG_FS | 1552 | select DEBUG_FS |
| @@ -1564,6 +1554,12 @@ config FAIL_FUTEX | |||
| 1564 | help | 1554 | help |
| 1565 | Provide fault-injection capability for futexes. | 1555 | Provide fault-injection capability for futexes. |
| 1566 | 1556 | ||
| 1557 | config FAULT_INJECTION_DEBUG_FS | ||
| 1558 | bool "Debugfs entries for fault-injection capabilities" | ||
| 1559 | depends on FAULT_INJECTION && SYSFS && DEBUG_FS | ||
| 1560 | help | ||
| 1561 | Enable configuration of fault-injection capabilities via debugfs. | ||
| 1562 | |||
| 1567 | config FAIL_FUNCTION | 1563 | config FAIL_FUNCTION |
| 1568 | bool "Fault-injection capability for functions" | 1564 | bool "Fault-injection capability for functions" |
| 1569 | depends on FAULT_INJECTION_DEBUG_FS && FUNCTION_ERROR_INJECTION | 1565 | depends on FAULT_INJECTION_DEBUG_FS && FUNCTION_ERROR_INJECTION |
| @@ -1574,11 +1570,15 @@ config FAIL_FUNCTION | |||
| 1574 | an error value and have to handle it. This is useful to test the | 1570 | an error value and have to handle it. This is useful to test the |
| 1575 | error handling in various subsystems. | 1571 | error handling in various subsystems. |
| 1576 | 1572 | ||
| 1577 | config FAULT_INJECTION_DEBUG_FS | 1573 | config FAIL_MMC_REQUEST |
| 1578 | bool "Debugfs entries for fault-injection capabilities" | 1574 | bool "Fault-injection capability for MMC IO" |
| 1579 | depends on FAULT_INJECTION && SYSFS && DEBUG_FS | 1575 | depends on FAULT_INJECTION_DEBUG_FS && MMC |
| 1580 | help | 1576 | help |
| 1581 | Enable configuration of fault-injection capabilities via debugfs. | 1577 | Provide fault-injection capability for MMC IO. |
| 1578 | This will make the mmc core return data errors. This is | ||
| 1579 | useful to test the error handling in the mmc block device | ||
| 1580 | and to test how the mmc host driver handles retries from | ||
| 1581 | the block device. | ||
| 1582 | 1582 | ||
| 1583 | config FAULT_INJECTION_STACKTRACE_FILTER | 1583 | config FAULT_INJECTION_STACKTRACE_FILTER |
| 1584 | bool "stacktrace filter for fault-injection capabilities" | 1584 | bool "stacktrace filter for fault-injection capabilities" |
