-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.config.slider.debug_memory
53 lines (51 loc) · 1.73 KB
/
build.config.slider.debug_memory
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
TRIM_NONLISTED_KMI=0
KMI_SYMBOL_LIST_STRICT_MODE=0
POST_DEFCONFIG_CMDS="${POST_DEFCONFIG_CMDS} && update_debug_config"
function update_debug_config() {
${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
-e CONFIG_SOFTLOCKUP_DETECTOR \
-e CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC \
-e CONFIG_HARDLOCKUP_DETECTOR_OTHER_CPU \
-e CONFIG_BOOTPARAM_HARDLOCKUP_PANIC \
-e CONFIG_DETECT_HUNG_TASK \
-e CONFIG_BOOTPARAM_HUNG_TASK_PANIC \
-e CONFIG_WQ_WATCHDOG \
-e CONFIG_PANIC_ON_RT_THROTTLING \
-e CONFIG_RCU_EQS_DEBUG \
-e CONFIG_LOCK_STAT \
-e CONFIG_DEVMEM \
-e CONFIG_DEBUG_OBJECTS \
-e CONFIG_DEBUG_OBJECTS_FREE \
-e CONFIG_DEBUG_OBJECTS_TIMERS \
-e CONFIG_DEBUG_OBJECTS_WORK \
-e CONFIG_DEBUG_OBJECTS_RCU_HEAD \
-e CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER \
-e CONFIG_DEBUG_VM \
-e CONFIG_DEBUG_VM_VMACACHE \
-e CONFIG_DEBUG_VM_RB \
-e CONFIG_DEBUG_MEMORY_INIT \
-e CONFIG_DEBUG_STACK_USAGE \
-e CONFIG_DEBUG_PAGEALLOC \
-e CONFIG_DEBUG_PAGEALLOC_ENABLE_DEFAULT \
-e CONFIG_SCHED_STACK_END_CHECK \
-e CONFIG_SLUB_DEBUG \
-e CONFIG_SLUB_DEBUG_PANIC_ON \
-e CONFIG_PAGE_OWNER \
-e CONFIG_PAGE_OWNER_ENABLE_DEFAULT \
-e CONFIG_PAGE_POISONING \
-e CONFIG_PAGE_POISONING_ENABLE_DEFAULT \
-e CONFIG_DEBUG_RT_MUTEXES \
-e CONFIG_DEBUG_SPINLOCK \
-e CONFIG_DEBUG_SPINLOCK_PANIC_ON_BUG \
-e CONFIG_DEBUG_MUTEXES \
-e CONFIG_DEBUG_PREEMPT \
-e CONFIG_DEBUG_ATOMIC_SLEEP \
-e CONFIG_DEBUG_LIST \
-e CONFIG_PANIC_ON_DATA_CORRUPTION \
-e CONFIG_REGMAP_ALLOW_WRITE_DEBUGFS \
-e LTO_NONE \
-d LTO_CLANG \
-d SHADOW_CALL_STACK
(cd ${OUT_DIR} && \
make O=${OUT_DIR} "${TOOL_ARGS[@]}" ${MAKE_ARGS} olddefconfig)
}