summaryrefslogtreecommitdiffstats
path: root/kernel/debug
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-03-15 13:28:00 +0100
committerJason Wessel <jason.wessel@windriver.com>2011-03-25 22:37:31 +0100
commit0d3db28daed2529ab90933a3aaaaf46446fdfda8 (patch)
tree1d8d490d4c2f96fdd5e4359640ac021e9d2f9072 /kernel/debug
parentkgdb,x86_64: fix compile warning found with sparse (diff)
downloadlinux-0d3db28daed2529ab90933a3aaaaf46446fdfda8.tar.xz
linux-0d3db28daed2529ab90933a3aaaaf46446fdfda8.zip
kdb: add usage string of 'per_cpu' command
Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'kernel/debug')
-rw-r--r--kernel/debug/kdb/kdb_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/debug/kdb/kdb_main.c b/kernel/debug/kdb/kdb_main.c
index 38a85428c70f..6bc6e3bc4f9c 100644
--- a/kernel/debug/kdb/kdb_main.c
+++ b/kernel/debug/kdb/kdb_main.c
@@ -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);