lkml.org 
[lkml]   [2015]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: enable dynamic debug - doubt
From
On Thu, Nov 19, 2015 at 2:38 AM, Peter Hurley <peter@hurleysoftware.com> wrote:
>
> On 11/17/2015 07:40 AM, 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).
>
> That's not the only method. You'll want to read
> Documentation/dynamic-debug-howto.txt; specifically, "Debug Messages at
> Module Initialization Time" for ways to enable dynamic debug messages at
> module load time.
>
> Regards,
> Peter Hurley
>
> > 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?
>
>



I just glanced through the Documentation/dynamic-debug-howto.txt and
now I am able to enable "Debug Messages at Module Initialization
Time".

Thanks Peter & Andy for the clarification.


--
Thanks,
Sekhar


\
 
 \ /
  Last update: 2015-11-19 10:01    [W:0.114 / U:1.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site