2009-05-29 20:28:36

by Rafael Seste

[permalink] [raw]
Subject: Howto enable dynamic debug

Hi all,

I'm trying to enable the bluetooth dynamic debug.
I compiled the kernel with the dynamic_debug enable. I mounted the debugfs:

mount -t debugfs debugfs /sys/kernel/debug

In the file /sys/kernel/debug/dynamic_debug/control there isn't any
bluetooth module (sco, bluetooth, rfcomm....). I trying to debug sco
module but nothing happens.

The command below only works if the module is in control file?
echo -n 'module sco +p' > /sys/kernel/debug/dynamic_debug/control

what am I doing wrong??
kernel 2.6.30-rc6

Where msg will be printed? syslog, message?

Rafael S. Seste
Eng Computa??o - Unicamp