Re: [PATCH 1/2] perf timechart: fix documentation
From: Namhyung Kim
Date: Tue Jun 10 2014 - 03:15:09 EST
Hi Stanislav,
On Mon, 9 Jun 2014 13:21:11 +0400, Stanislav Fomichev wrote:
> Move options away from examples.
I think it's better to move RECORD OPTIONS as well.
Thanks,
Namhyung
>
> Signed-off-by: Stanislav Fomichev <stfomichev@xxxxxxxxxxxxxx>
> ---
> tools/perf/Documentation/perf-timechart.txt | 23 +++++++++++------------
> 1 file changed, 11 insertions(+), 12 deletions(-)
>
> diff --git a/tools/perf/Documentation/perf-timechart.txt b/tools/perf/Documentation/perf-timechart.txt
> index bc5990c33dc0..fab20d4504d2 100644
> --- a/tools/perf/Documentation/perf-timechart.txt
> +++ b/tools/perf/Documentation/perf-timechart.txt
> @@ -43,6 +43,17 @@ TIMECHART OPTIONS
>
> --symfs=<directory>::
> Look for files with symbols relative to this directory.
> +-n::
> +--proc-num::
> + Print task info for at least given number of tasks.
> +-t::
> +--topology::
> + Sort CPUs according to topology.
> +--highlight=<duration_nsecs|task_name>::
> + Highlight tasks (using different color) that run more than given
> + duration or tasks with given name. If number is given it's interpreted
> + as number of nanoseconds. If non-numeric string is given it's
> + interpreted as task name.
>
> EXAMPLES
> --------
> @@ -64,18 +75,6 @@ Record system-wide timechart:
>
> $ perf timechart --highlight gcc
>
> --n::
> ---proc-num::
> - Print task info for at least given number of tasks.
> --t::
> ---topology::
> - Sort CPUs according to topology.
> ---highlight=<duration_nsecs|task_name>::
> - Highlight tasks (using different color) that run more than given
> - duration or tasks with given name. If number is given it's interpreted
> - as number of nanoseconds. If non-numeric string is given it's
> - interpreted as task name.
> -
> RECORD OPTIONS
> --------------
> -P::
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/