[lkml]   [2015]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: enable dynamic debug - doubt
On Tue, Nov 17, 2015 at 2:40 PM, Muni Sekhar <> wrote:
> [ Please keep me in CC as I'm not subscribed to the list]
> Hello,
> The behaviour of dynamic debug prints are controlled via writing to a
> control file in the 'debugfs'
> filesystem(<debugfs>/dynamic_debug/control).
> Here I would like to know what order should the echo(for eg: echo -n
> 'module sdhci +p' > /sys/kernel/debug/dynamic_debug/control) be
> applied in relation to the module load - before or after?

Just imagine how debugfs works. It has probes over the code where
*_dbg/debug() prints are used. Those special data structures are kept
in the specific part of the file / kernel. If there is no module, how
will kernel know that there is a portion of such data there?

With Best Regards,
Andy Shevchenko

 \ /
  Last update: 2015-11-18 20:21    [W:0.064 / U:6.796 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site