File: Kconfig.debug

package info (click to toggle)
linux-2.6 2.6.32-48squeeze20
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 494,000 kB
  • ctags: 1,415,173
  • sloc: ansic: 7,636,125; asm: 225,085; xml: 32,978; makefile: 19,314; perl: 11,533; sh: 3,561; cpp: 3,365; yacc: 2,964; python: 2,893; lex: 1,824; lisp: 218; pascal: 116; awk: 109; sed: 30
file content (94 lines) | stat: -rw-r--r-- 2,444 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
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
	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