Skip to contentSkip to conversation

make pr_debug() dynamic - update docs

PATCH In review Jason Baron 2 participants 3 messages Feb 7, 2008 – Feb 8, 2008 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 make pr_debug() dynamic - update docs

-add documentation about pr_debug kernel-parameters.txt

---

 Documentation/kernel-parameters.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
Documentation/kernel-parameters.txt +5 -0
index cf38689..6d524bb 100644
@@ -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
#1 lore raw
Quoted 15 lines · On Thu, 7 Feb 2008 16:13:49 -0500 Jason Baron wrote:

-add documentation about pr_debug kernel-parameters.txt

---

 Documentation/kernel-parameters.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
Documentation/kernel-parameters.txt +0 -0
index cf38689..6d524bb 100644

Documentation/kernel-parameters.txt and is between 256 and 4096 characters. It is defined in the file · line 1500

Quoted 7 lines
Documentation/kernel-parameters.txt +4 -0
@@ -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?

Documentation/kernel-parameters.txt and is between 256 and 4096 characters. It is defined in the file · line 1504

Quoted 3 lines
Documentation/kernel-parameters.txt +0 -0
 	print-fatal-signals=
 			[KNL] debug: print fatal signals
 			print-fatal-signals=1: print segfault info to

---
~Randy

#2 lore raw
Quoted 6 lines · Randy Dunlap
Quoted 6 lines
Documentation/kernel-parameters.txt +0 -0
@@ -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).
 
Quoted 9 lines

Documentation/kernel-parameters.txt and is between 256 and 4096 characters. It is defined in the file · line 1500

Quoted 4 lines
Documentation/kernel-parameters.txt +4 -0
+	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