Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1272937

Re: enable dynamic debug - doubt

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Muni Sekhar <munisekharrms@gmail.com>
Newsgroups linux.kernel
Subject Re: enable dynamic debug - doubt
Date Thu, 19 Nov 2015 09:50:01 +0100
Message-ID <qwt4J-6WM-9@gated-at.bofh.it> (permalink)
References <qvNRU-54p-7@gated-at.bofh.it> <qwi9k-8vZ-27@gated-at.bofh.it>
X-Original-To Peter Hurley <peter@hurleysoftware.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vam/jwg0m6NJny3+i6+/cIQPeSBCwn8SMvCrVskeGZA=; b=UJ6nMPtlh7TOGe3WTYBHk19AjAB1v9Ls8bcYB2RurX4/ulW5quR693k+KihhRqtySF HTg2hbcSNLYu0jkTufKAxfLspD0Mj5ScBAVSRpFTlgqmMfu2J8RjgLzlo76+6Bh7MTVQ tSjsU/um+bxc+wNUYGMAfA3qMkrpTz4X5FJtKGehqn/K+UiO46cka3NBUVx/XtaXmUUL q2kWM8HkpEm6ceBfJLOrctFpj8PW8fgTaSi2gm00Im7J5HsmoUUxqkQaSmDkRZ6suYST TXNp8pv2nG65+wj2FvZxcROXYnO0vOMu6HZ2STZmvrietmuGWyPSJ4EdL8smDX7iHzJB y0KA==
MIME-Version 1.0
X-Received by 10.107.15.148 with SMTP id 20mr7014866iop.66.1447922841186; Thu, 19 Nov 2015 00:47:21 -0800 (PST)
Content-Type text/plain; charset=UTF-8
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 42
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org
X-Original-Date Thu, 19 Nov 2015 14:17:21 +0530
X-Original-Message-ID <CAHhAz+jqL_Kj-kvzCDGyqgVyV+dTwq_P1juJ9oiumhT1jvsGag@mail.gmail.com>
X-Original-References <CAHhAz+g_p9_RnsHtm5fODD29oTp-71cMR0Hk7yG3g+ARD9hEeQ@mail.gmail.com> <564CE8E6.8060903@hurleysoftware.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1272937

Show key headers only | View raw


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

enable dynamic debug - doubt Muni Sekhar <munisekharrms@gmail.com> - 2015-11-17 13:50 +0100
  Re: enable dynamic debug - doubt Andy Shevchenko <andy.shevchenko@gmail.com> - 2015-11-18 20:20 +0100
  Re: enable dynamic debug - doubt Peter Hurley <peter@hurleysoftware.com> - 2015-11-18 22:10 +0100
    Re: enable dynamic debug - doubt Muni Sekhar <munisekharrms@gmail.com> - 2015-11-19 09:50 +0100

csiph-web