android performance debug
作者:互联网
1 检查kernel中的deconfig
将deconfig中以上这些文件去掉,这些主要用于debug和log,对系统性能有一定的影响。
CONFIG_PREEMPT_COUNT=y
CONFIG_PREEMPT_TRACER=y
CONFIG_SCHED_DEBUG=y
CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400
CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_DEBUG_ATOMIC_SLEEP=y
CONFIG_DEBUG_STACK_USAGE=y
CONFIG_DEBUG_LIST=y
CONFIG_FAULT_INJECTION_DEBUG_FS=y
CONFIG_LOCKUP_DETECTOR
标签:deconfig,KMEMLEAK,DEBUG,PREEMPT,debug,performance,android,CONFIG 来源: https://blog.csdn.net/sdrgtywretyeruet/article/details/115438274