Documentation: Document ARM's user_debug parameter
PATCH 1/1 Documentation: Document ARM's user_debug parameter
Usually kernel parameters are documented in kernel-parameters.txt but user_debug is only documented in the Kconfig. Document the option and point to the Kconfig help text for more info.
--- Documentation/kernel-parameters.txt | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
Documentation/kernel-parameters.txt +10 -0
@@ -2612,6 +2612,16 @@ bytes respectively. Such letter suffixes can also be entirely omitted. medium is write-protected). Example: quirks=0419:aaf5:rl,0421:0433:rc + user_debug= [KNL,ARM] + Format: <int> + See arch/arm/Kconfig.debug help text. + 1 - undefined instruction events + 2 - system calls + 4 - invalid data aborts + 8 - SIGSEGV faults + 16 - SIGBUS faults + Example: user_debug=31 + userpte= [X86] Flags controlling user PTE allocations.
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
Randy Dunlap
AppliedQuoted 6 lines · On Sun, 24 Jul 2011 18:15:14 -0700 Stephen Boyd wrote:
Usually kernel parameters are documented in kernel-parameters.txt but
user_debugis only documented in theKconfig. Document the option and point to theKconfighelp text for more info.Signed-off-by Stephen Boyd <[email protected]>Cc Russell King <[email protected]>
Is this a superset of 'print_fatal_signals'?
Applied, thanks.
Quoted 28 lines
--- Documentation/kernel-parameters.txt | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)Documentation/kernel-parameters.txt +10
-0@@ -2612,6 +2612,16 @@ bytes respectively. Such letter suffixes can also be entirely omitted. medium is write-protected). Example: quirks=0419:aaf5:rl,0421:0433:rc + user_debug= [KNL,ARM] + Format: <int> + See arch/arm/Kconfig.debug help text. + 1 - undefined instruction events + 2 - system calls + 4 - invalid data aborts + 8 - SIGSEGV faults + 16 - SIGBUS faults + Example: user_debug=31 + userpte= [X86] Flags controlling user PTE allocations.Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
Quoted 25 lines · Randy Dunlap
Quoted 6 lines · On Sun, 24 Jul 2011 18:15:14 -0700 Stephen Boyd wrote:
Usually kernel parameters are documented in kernel-parameters.txt but
user_debugis only documented in theKconfig. Document the option and point to theKconfighelp text for more info.Signed-off-by Stephen Boyd <[email protected]>Cc Russell King <[email protected]>Is this a superset of '
print_fatal_signals'?Applied, thanks.
Quoted 12 lines
--- Documentation/kernel-parameters.txt | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)Documentation/kernel-parameters.txt +0
-0@@ -2612,6 +2612,16 @@ bytes respectively. Such letter suffixes can also be entirely omitted. medium is write-protected). Example: quirks=0419:aaf5:rl,0421:0433:rc
Quoted 5 lines
Documentation/kernel-parameters.txt bytes respectively. Such letter suffixes can also be entirely omitted. · line 2619
Quoted 5 lines
Documentation/kernel-parameters.txt +5
-0+ user_debug= [KNL,ARM] + Format: <int> + See arch/arm/Kconfig.debug help text. + 1 - undefined instruction events + 2 - system calls
linux$ git grep UDBG_SYSCALL -- arch/arm/
include/asm/system.h:#define UDBG_SYSCALL (1 << 1)kernel/traps.c: if (user_debug & UDBG_SYSCALL) {kernel/traps.c: if (user_debug & UDBG_SYSCALL) {
Looking@kernel/traps.c, it looks like only undefined or obsolete syscalls are logged. It could be worth clarifying this in the wording, both here and in arch/arm/Kconfig.debug.
Cheers
---Dave
Quoted 20 lines
Quoted 11 lines
Documentation/kernel-parameters.txt +5
-0+ 4 - invalid data aborts + 8 - SIGSEGV faults + 16 - SIGBUS faults + Example: user_debug=31 + userpte= [X86] Flags controlling user PTE allocations.Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.---
~Randy
*** Remember to useDocumentation/SubmitChecklistwhen testing your code ***_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel