Merge branch 'urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6
[deliverable/linux.git] / drivers / mtd / ubi / Kconfig.debug
CommitLineData
801c135c 1comment "UBI debugging options"
801c135c
AB
2
3config MTD_UBI_DEBUG
4 bool "UBI debugging"
5 depends on SYSFS
801c135c 6 select DEBUG_FS
1deacd7a 7 select KALLSYMS_ALL if KALLSYMS && DEBUG_KERNEL
801c135c
AB
8 help
9 This option enables UBI debugging.
10
1dd78632
HS
11if MTD_UBI_DEBUG
12
801c135c
AB
13config MTD_UBI_DEBUG_MSG
14 bool "UBI debugging messages"
801c135c
AB
15 help
16 This option enables UBI debugging messages.
17
18config MTD_UBI_DEBUG_PARANOID
19 bool "Extra self-checks"
801c135c
AB
20 help
21 This option enables extra checks in UBI code. Note this slows UBI down
22 significantly.
23
24config MTD_UBI_DEBUG_DISABLE_BGT
25 bool "Do not enable the UBI background thread"
801c135c
AB
26 help
27 This option switches the background thread off by default. The thread
28 may be also be enabled/disabled via UBI sysfs.
29
801c135c
AB
30config MTD_UBI_DEBUG_EMULATE_BITFLIPS
31 bool "Emulate flash bit-flips"
801c135c
AB
32 help
33 This option emulates bit-flips with probability 1/50, which in turn
34 causes scrubbing. Useful for debugging and stressing UBI.
35
36config MTD_UBI_DEBUG_EMULATE_WRITE_FAILURES
37 bool "Emulate flash write failures"
801c135c
AB
38 help
39 This option emulates write failures with probability 1/100. Useful for
40 debugging and testing how UBI handlines errors.
41
42config MTD_UBI_DEBUG_EMULATE_ERASE_FAILURES
43 bool "Emulate flash erase failures"
801c135c
AB
44 help
45 This option emulates erase failures with probability 1/100. Useful for
46 debugging and testing how UBI handlines errors.
47
1dd78632 48comment "Additional UBI debugging messages"
801c135c
AB
49
50config MTD_UBI_DEBUG_MSG_BLD
51 bool "Additional UBI initialization and build messages"
801c135c
AB
52 help
53 This option enables detailed UBI initialization and device build
54 debugging messages.
55
56config MTD_UBI_DEBUG_MSG_EBA
57 bool "Eraseblock association unit messages"
801c135c
AB
58 help
59 This option enables debugging messages from the UBI eraseblock
60 association unit.
61
62config MTD_UBI_DEBUG_MSG_WL
63 bool "Wear-leveling unit messages"
801c135c
AB
64 help
65 This option enables debugging messages from the UBI wear-leveling
66 unit.
67
68config MTD_UBI_DEBUG_MSG_IO
69 bool "Input/output unit messages"
801c135c
AB
70 help
71 This option enables debugging messages from the UBI input/output unit.
72
1dd78632 73endif # MTD_UBI_DEBUG
This page took 0.388437 seconds and 5 git commands to generate.