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


Groups > linux.kernel > #1272578

Re: enable dynamic debug - doubt

From Peter Hurley <peter@hurleysoftware.com>
Newsgroups linux.kernel
Subject Re: enable dynamic debug - doubt
Date 2015-11-18 22:10 +0100
Message-ID <qwi9k-8vZ-27@gated-at.bofh.it> (permalink)
References <qvNRU-54p-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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?


--
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 | NextPrevious in thread | Next 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