How to use dynamic debugging to debug a driver?

Although CONFIG_DYNAMIC_DEBUG has been enabled and the debugfs system has been mounted. When I try to add source files to dynamic_debug, I receive the following error:
image

Try below command.

sudo su
cd /sys/kernel/debug/dynamic_debug
echo file camera_common.c +p > control

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.