Re: [PATCH 1/2] perf kmem: Document a missing option & an argument

From: Namhyung Kim
Date: Sun Feb 11 2018 - 20:51:34 EST


On Mon, Feb 12, 2018 at 05:38:36AM +0900, Sangwon Hong wrote:
> First, perf kmem has --force option, but didn't document it on the man
> page. So add missing --force option.
>
> Second, --time option has to get a value, but didn't specify it on the
> man page. So describe --time option's argument.
>
> 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>

A nit below though..


> ---
> tools/perf/Documentation/perf-kmem.txt | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/tools/perf/Documentation/perf-kmem.txt b/tools/perf/Documentation/perf-kmem.txt
> index 479fc32..c4aa843 100644
> --- a/tools/perf/Documentation/perf-kmem.txt
> +++ b/tools/perf/Documentation/perf-kmem.txt
> @@ -25,6 +25,9 @@ OPTIONS
> --input=<file>::
> Select the input file (default: perf.data unless stdin is a fifo)
>
> +-f::
> +--force::
> + Don't do ownership validation

Please add a blank line here

Thanks,
Namhyung


> -v::
> --verbose::
> Be more verbose. (show symbol address, etc)
> @@ -61,7 +64,7 @@ OPTIONS
> default, but this option shows live (currently allocated) pages
> instead. (This option works with --page option only)
>
> ---time::
> +--time=<start>,<stop>::
> Only analyze samples within given time window: <start>,<stop>. Times
> have the format seconds.microseconds. If start is not given (i.e., time
> string is ',x.y') then analysis starts at the beginning of the file. If
> --
> 2.7.4
>