LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [patch 4/4] make pr_debug() dynamic - update docs
@ 2008-02-07 21:13 Jason Baron
  2008-02-07 21:26 ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Baron @ 2008-02-07 21:13 UTC (permalink / raw)
  To: mathieu.desnoyers; +Cc: akpm, mingo, fche, linux-kernel


-add documentation about pr_debug kernel-parameters.txt

Signed-off-by: Jason Baron <jbaron@redhat.com>
---

 Documentation/kernel-parameters.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index cf38689..6d524bb 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1494,6 +1494,11 @@ and is between 256 and 4096 characters. It is defined in the file
 			autoconfiguration.
 			Ranges are in pairs (memory base and size).
 
+	pr_debug
+			Enables pr_debug() calls if the immediate
+			infrastructure has been enabled. These can also be
+			switched on/off via /proc/sys/debug/pr_debug.
+
 	print-fatal-signals=
 			[KNL] debug: print fatal signals
 			print-fatal-signals=1: print segfault info to

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch 4/4] make pr_debug() dynamic - update docs
  2008-02-07 21:13 [patch 4/4] make pr_debug() dynamic - update docs Jason Baron
@ 2008-02-07 21:26 ` Randy Dunlap
  2008-02-08 15:56   ` Jason Baron
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2008-02-07 21:26 UTC (permalink / raw)
  To: Jason Baron; +Cc: mathieu.desnoyers, akpm, mingo, fche, linux-kernel

On Thu, 7 Feb 2008 16:13:49 -0500 Jason Baron wrote:

> 
> -add documentation about pr_debug kernel-parameters.txt
> 
> Signed-off-by: Jason Baron <jbaron@redhat.com>
> ---
> 
>  Documentation/kernel-parameters.txt |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> 
> diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> index cf38689..6d524bb 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -1494,6 +1494,11 @@ and is between 256 and 4096 characters. It is defined in the file
>  			autoconfiguration.
>  			Ranges are in pairs (memory base and size).
>  
> +	pr_debug
> +			Enables pr_debug() calls if the immediate
> +			infrastructure has been enabled. These can also be
> +			switched on/off via /proc/sys/debug/pr_debug.

Is this actually Enables/disables?
I.e., is this actually pr_debug=<int> ?
If so, please document that also.  If not, why not?

>  	print-fatal-signals=
>  			[KNL] debug: print fatal signals
>  			print-fatal-signals=1: print segfault info to



---
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch 4/4] make pr_debug() dynamic - update docs
  2008-02-07 21:26 ` Randy Dunlap
@ 2008-02-08 15:56   ` Jason Baron
  0 siblings, 0 replies; 3+ messages in thread
From: Jason Baron @ 2008-02-08 15:56 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: mathieu.desnoyers, akpm, mingo, fche, linux-kernel

On Thu, Feb 07, 2008 at 01:26:04PM -0800, Randy Dunlap wrote:
> > --- a/Documentation/kernel-parameters.txt
> > +++ b/Documentation/kernel-parameters.txt
> > @@ -1494,6 +1494,11 @@ and is between 256 and 4096 characters. It is defined in the file
> >  			autoconfiguration.
> >  			Ranges are in pairs (memory base and size).
> >  
> > +	pr_debug
> > +			Enables pr_debug() calls if the immediate
> > +			infrastructure has been enabled. These can also be
> > +			switched on/off via /proc/sys/debug/pr_debug.
> 
> Is this actually Enables/disables?
> I.e., is this actually pr_debug=<int> ?
> If so, please document that also.  If not, why not?
> 

The intention is that pr_debug is off by default. If you pass 'pr_debug' at the
command line, it is turned on early in the boot process. I orginally 
implemented it as pr_debug=<int>, but I believe just the string is simpler.

thanks,

-Jason



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-08 15:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-07 21:13 [patch 4/4] make pr_debug() dynamic - update docs Jason Baron
2008-02-07 21:26 ` Randy Dunlap
2008-02-08 15:56   ` Jason Baron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).