Skip to contentSkip to conversation

kdb: add usage string of 'per_cpu' command

PATCH In review Namhyung Kim 2 participants 2 messages Mar 2, 2011 – Mar 25, 2011 KGDB / KDB /debug_core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kdb: add usage string of 'per_cpu' command

---
 kernel/debug/kdb/kdb_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/debug/kdb/kdb_main.c +1 -1
index bd3e8e29caa3..2486021ff5d9 100644
@@ -2892,7 +2892,7 @@ static void __init kdb_inittab(void)
 	  "Send a signal to a process", 0, KDB_REPEAT_NONE);
 	kdb_register_repeat("summary", kdb_summary, "",
 	  "Summarize the system", 4, KDB_REPEAT_NONE);
-	kdb_register_repeat("per_cpu", kdb_per_cpu, "",
+	kdb_register_repeat("per_cpu", kdb_per_cpu, "<sym> [<bytes>] [<cpu>]",
 	  "Display per_cpu variables", 3, KDB_REPEAT_NONE);
 	kdb_register_repeat("grephelp", kdb_grep_help, "",
 	  "Display help on | grep", 0, KDB_REPEAT_NONE);
Signature · 1 line
1.7.4
maintainer
#1 lore raw
Quoted 10 lines · Namhyung Kim
---
 kernel/debug/kdb/kdb_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/debug/kdb/kdb_main.c +0 -0
index bd3e8e29caa3..2486021ff5d9 100644

kernel/debug/kdb/kdb_main.c static void __init kdb_inittab(void) · line 2898

Quoted 8 lines
kernel/debug/kdb/kdb_main.c +1 -1
@@ -2892,7 +2892,7 @@ static void __init kdb_inittab(void)
 	  "Send a signal to a process", 0, KDB_REPEAT_NONE);
 	kdb_register_repeat("summary", kdb_summary, "",
 	  "Summarize the system", 4, KDB_REPEAT_NONE);
-	kdb_register_repeat("per_cpu", kdb_per_cpu, "",
+	kdb_register_repeat("per_cpu", kdb_per_cpu, "<sym> [<bytes>] [<cpu>]",
 	  "Display per_cpu variables", 3, KDB_REPEAT_NONE);
 	kdb_register_repeat("grephelp", kdb_grep_help, "",
 	  "Display help on | grep", 0, KDB_REPEAT_NONE);

Thanks,

I added this to the queued patches.

Jason.