RK3399 platform development series explanation (kernel debugging) 9.1. How to use dynamic debug to print and debug dynamically

Insert picture description here

platform Kernel version Android version
RK3399 Linux4.4 Android7.1

1. defconfig configuration

CONFIG_DEBUG_FS=y
CONFIG_DYNAMIC_DEBUG=y

2. Introduction to dynamic debug parameters

File directory: kernel-4.14\Documentation\admin-guide\dynamic-debug-howto.rst
if CONFIG_DYNAMIC_DEBUGis set

Guess you like

Origin blog.csdn.net/qq_33487044/article/details/113062356