mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
1deacd7a1d
warning: (OPTPROBES && KPROBES && HAVE_OPTPROBES && !PREEMPT && DEBUG_KERNEL || MTD_UBI_DEBUG && MTD && SYSFS && MTD_UBI || UBIFS_FS_DEBUG && MISC_FILESYSTEMS && UBIFS_FS || LOCKDEP && DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT || LATENCYTOP && HAVE_LATENCYTOP_SUPPORT && DEBUG_KERNEL && STACKTRACE_SUPPORT && PROC_FS) selects KALLSYMS_ALL which has unmet direct dependencies (DEBUG_KERNEL && KALLSYMS) Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
95 lines
2.4 KiB
Plaintext
95 lines
2.4 KiB
Plaintext
comment "UBI debugging options"
|
|
depends on MTD_UBI
|
|
|
|
config MTD_UBI_DEBUG
|
|
bool "UBI debugging"
|
|
depends on SYSFS
|
|
depends on MTD_UBI
|
|
select DEBUG_FS
|
|
select KALLSYMS_ALL if KALLSYMS && DEBUG_KERNEL
|
|
help
|
|
This option enables UBI debugging.
|
|
|
|
config MTD_UBI_DEBUG_MSG
|
|
bool "UBI debugging messages"
|
|
depends on MTD_UBI_DEBUG
|
|
default n
|
|
help
|
|
This option enables UBI debugging messages.
|
|
|
|
config MTD_UBI_DEBUG_PARANOID
|
|
bool "Extra self-checks"
|
|
default n
|
|
depends on MTD_UBI_DEBUG
|
|
help
|
|
This option enables extra checks in UBI code. Note this slows UBI down
|
|
significantly.
|
|
|
|
config MTD_UBI_DEBUG_DISABLE_BGT
|
|
bool "Do not enable the UBI background thread"
|
|
depends on MTD_UBI_DEBUG
|
|
default n
|
|
help
|
|
This option switches the background thread off by default. The thread
|
|
may be also be enabled/disabled via UBI sysfs.
|
|
|
|
config MTD_UBI_DEBUG_EMULATE_BITFLIPS
|
|
bool "Emulate flash bit-flips"
|
|
depends on MTD_UBI_DEBUG
|
|
default n
|
|
help
|
|
This option emulates bit-flips with probability 1/50, which in turn
|
|
causes scrubbing. Useful for debugging and stressing UBI.
|
|
|
|
config MTD_UBI_DEBUG_EMULATE_WRITE_FAILURES
|
|
bool "Emulate flash write failures"
|
|
depends on MTD_UBI_DEBUG
|
|
default n
|
|
help
|
|
This option emulates write failures with probability 1/100. Useful for
|
|
debugging and testing how UBI handlines errors.
|
|
|
|
config MTD_UBI_DEBUG_EMULATE_ERASE_FAILURES
|
|
bool "Emulate flash erase failures"
|
|
depends on MTD_UBI_DEBUG
|
|
default n
|
|
help
|
|
This option emulates erase failures with probability 1/100. Useful for
|
|
debugging and testing how UBI handlines errors.
|
|
|
|
menu "Additional UBI debugging messages"
|
|
depends on MTD_UBI_DEBUG
|
|
|
|
config MTD_UBI_DEBUG_MSG_BLD
|
|
bool "Additional UBI initialization and build messages"
|
|
default n
|
|
depends on MTD_UBI_DEBUG
|
|
help
|
|
This option enables detailed UBI initialization and device build
|
|
debugging messages.
|
|
|
|
config MTD_UBI_DEBUG_MSG_EBA
|
|
bool "Eraseblock association unit messages"
|
|
default n
|
|
depends on MTD_UBI_DEBUG
|
|
help
|
|
This option enables debugging messages from the UBI eraseblock
|
|
association unit.
|
|
|
|
config MTD_UBI_DEBUG_MSG_WL
|
|
bool "Wear-leveling unit messages"
|
|
default n
|
|
depends on MTD_UBI_DEBUG
|
|
help
|
|
This option enables debugging messages from the UBI wear-leveling
|
|
unit.
|
|
|
|
config MTD_UBI_DEBUG_MSG_IO
|
|
bool "Input/output unit messages"
|
|
default n
|
|
depends on MTD_UBI_DEBUG
|
|
help
|
|
This option enables debugging messages from the UBI input/output unit.
|
|
|
|
endmenu # UBI debugging messages
|