Re: [PATCH] perf kallsyms: Fix the usage on the man page
From: Namhyung Kim
Date: Sun Feb 11 2018 - 20:50:30 EST
On Mon, Feb 12, 2018 at 04:37:44AM +0900, Sangwon Hong wrote:
> First, all man pages highlight only perf and subcommands except perf
> kallsyms, which includes the full usage. Fix it for commands to monopolize
> underlines.
>
> Second, options can skip when executing perf kallsyms, so add square
> brackets between <option>.
>
> Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
> Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
> Cc: Taeung Song <treeze.taeung@xxxxxxxxx>
> Signed-off-by: Sangwon Hong <qpakzk@xxxxxxxxx>
Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>
Thanks,
Namhyung
> ---
> tools/perf/Documentation/perf-kallsyms.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/Documentation/perf-kallsyms.txt b/tools/perf/Documentation/perf-kallsyms.txt
> index 954ea9e..cf9f404 100644
> --- a/tools/perf/Documentation/perf-kallsyms.txt
> +++ b/tools/perf/Documentation/perf-kallsyms.txt
> @@ -8,7 +8,7 @@ perf-kallsyms - Searches running kernel for symbols
> SYNOPSIS
> --------
> [verse]
> -'perf kallsyms <options> symbol_name[,symbol_name...]'
> +'perf kallsyms' [<options>] symbol_name[,symbol_name...]
>
> DESCRIPTION
> -----------
> --
> 2.7.4
>