2011-03-02 12:09:05

by Namhyung Kim

[permalink] [raw]
Subject: [PATCH] kdb: add usage string of 'per_cpu' command

Signed-off-by: Namhyung Kim <[email protected]>
---
kernel/debug/kdb/kdb_main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/debug/kdb/kdb_main.c b/kernel/debug/kdb/kdb_main.c
index bd3e8e29caa3..2486021ff5d9 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);
--
1.7.4


2011-03-25 20:38:07

by Jason Wessel

[permalink] [raw]
Subject: Re: [Kgdb-bugreport] [PATCH] kdb: add usage string of 'per_cpu' command

On 03/02/2011 06:08 AM, Namhyung Kim wrote:
> Signed-off-by: Namhyung Kim <[email protected]>
> ---
> kernel/debug/kdb/kdb_main.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/debug/kdb/kdb_main.c b/kernel/debug/kdb/kdb_main.c
> index bd3e8e29caa3..2486021ff5d9 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);


Thanks,

I added this to the queued patches.

Jason.