-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
113 lines (86 loc) · 2.21 KB
/
Kconfig
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# SPDX-License-Identifier: GPL-2.0
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
mainmenu "Linux/$(ARCH) $(KERNELVERSION) Kernel Configuration"
comment "Compiler: $(CC_VERSION_TEXT)"
#ifdef CONFIG_OPLUS_SYSTEM_KERNEL
config OPLUS_SYSTEM_KERNEL_QCOM
bool "config oplus system feature "
default y
help
define this config to Distinguish between qcom and mtk platform
config OPLUS_SYSTEM_KERNEL_MTK
bool "config oplus system feature "
default n
help
define this config to Distinguish between qcom and mtk platform
config OPLUS_SLUB_TEST
string
default "$(OPLUS_SLUB_TEST)"
config OPLUS_KASAN_TEST
string
default "$(OPLUS_KASAN_TEST)"
config OPLUS_KMEMLEAK_TEST
string
default "$(OPLUS_KMEMLEAK_TEST)"
config OPLUS_AGING_TEST
string
default "$(OPLUS_AGING_TEST)"
config OPLUS_PAGEOWNER_TEST
string
default "$(OPLUS_PAGEOWNER_TEST)"
config OPLUS_AGING_DEBUG
bool "oplus aging add config"
select IPC_LOGGING
select QCOM_RTB
select QCOM_RTB_SEPARATE_CPUS
select SCSI_LOGGING
select SCSI_UFSHCD_CMD_LOGGING
select KPROBES
select MHI_DEBUG
default y if OPLUS_AGING_TEST = "true"
default n
config OPLUS_KASAN_DEBUG
bool "oplus kasan debug"
select KASAN
select KASAN_GENERIC
#select KCOV
#select KCOV_ENABLE_COMPARISONS
default y if OPLUS_KASAN_TEST = "true"
default n
config OPLUS_KMEMLEAK_DEBUG
bool "oplus kmemleak debug"
select DEBUG_KMEMLEAK
select SLUB_DEBUG
select SLABTRACE_DEBUG
default y if OPLUS_KMEMLEAK_TEST = "true"
default n
config OPLUS_SLUB_DEBUG
bool "oplus slub debug"
select SLUB_DEBUG
select SLUB_DEBUG_ON
select SLUB_DEBUG_PANIC_ON
default y if OPLUS_SLUB_TEST = "true"
default n
config OPLUS_PAGEOWNER_DEBUG
bool "oplus pageowner debug"
select PAGE_OWNER
select PAGE_OWNER_ENABLE_DEFAULT
default y if OPLUS_PAGEOWNER_TEST = "true"
default n
#endif /*CONFIG_OPLUS_SYSTEM_KERNEL*/
source "scripts/Kconfig.include"
source "init/Kconfig"
source "kernel/Kconfig.freezer"
source "fs/Kconfig.binfmt"
source "mm/Kconfig"
source "net/Kconfig"
source "drivers/Kconfig"
source "fs/Kconfig"
source "security/Kconfig"
source "crypto/Kconfig"
source "lib/Kconfig"
source "lib/Kconfig.debug"
source "techpack/Kconfig"