2017-03-13 08:35:38

by Du, Changbin

[permalink] [raw]
Subject: [PATCH] perf report: Document +field style argument support for --field option

From: Changbin Du <[email protected]>

Commit 2f3f9bcf000b ("perf tools: Add +field argument support for --field
option") by Jiri Olsa <[email protected]> introduced +field style argument
support for --field option. This is useful but not updated documentation.
This add a little description there.

Signed-off-by: Changbin Du <[email protected]>
---
tools/perf/Documentation/perf-report.txt | 3 +++
1 file changed, 3 insertions(+)

diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt
index c04cc06..c831ebc 100644
--- a/tools/perf/Documentation/perf-report.txt
+++ b/tools/perf/Documentation/perf-report.txt
@@ -172,6 +172,9 @@ OPTIONS
By default, every sort keys not specified in -F will be appended
automatically.

+ If the keys starts with a prefix '+', then will append field(s) to
+ default field order. For example: perf report -F +period,sample.
+
-p::
--parent=<regex>::
A regex filter to identify parent. The parent is a caller of this
--
2.7.4


2017-03-13 14:45:59

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: Re: [PATCH] perf report: Document +field style argument support for --field option

Em Mon, Mar 13, 2017 at 04:32:52PM +0800, [email protected] escreveu:
> From: Changbin Du <[email protected]>
>
> Commit 2f3f9bcf000b ("perf tools: Add +field argument support for --field
> option") by Jiri Olsa <[email protected]> introduced +field style argument
> support for --field option. This is useful but not updated documentation.
> This add a little description there.

thanks, applied.

> Signed-off-by: Changbin Du <[email protected]>
> ---
> tools/perf/Documentation/perf-report.txt | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt
> index c04cc06..c831ebc 100644
> --- a/tools/perf/Documentation/perf-report.txt
> +++ b/tools/perf/Documentation/perf-report.txt
> @@ -172,6 +172,9 @@ OPTIONS
> By default, every sort keys not specified in -F will be appended
> automatically.
>
> + If the keys starts with a prefix '+', then will append field(s) to
> + default field order. For example: perf report -F +period,sample.
> +
> -p::
> --parent=<regex>::
> A regex filter to identify parent. The parent is a caller of this
> --
> 2.7.4

Subject: [tip:perf/core] perf report: Document +field style argument support for --field option

Commit-ID: d35fa1e75fdb308ae8a1a3efffe7ddedbd6051e2
Gitweb: http://git.kernel.org/tip/d35fa1e75fdb308ae8a1a3efffe7ddedbd6051e2
Author: Changbin Du <[email protected]>
AuthorDate: Mon, 13 Mar 2017 16:32:52 +0800
Committer: Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Mon, 13 Mar 2017 11:44:44 -0300

perf report: Document +field style argument support for --field option

Commit 2f3f9bcf000b ("perf tools: Add +field argument support for
--field option") by Jiri Olsa <[email protected]> introduced +field style
argument support for --field option.

This is useful but not updated documentation. This add a little
description there.

Signed-off-by: Changbin Du <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Slightly improved the phrase structure ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
tools/perf/Documentation/perf-report.txt | 3 +++
1 file changed, 3 insertions(+)

diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt
index 33f9190..672b149a 100644
--- a/tools/perf/Documentation/perf-report.txt
+++ b/tools/perf/Documentation/perf-report.txt
@@ -173,6 +173,9 @@ OPTIONS
By default, every sort keys not specified in -F will be appended
automatically.

+ If the keys starts with a prefix '+', then it will append the specified
+ field(s) to the default field order. For example: perf report -F +period,sample.
+
-p::
--parent=<regex>::
A regex filter to identify parent. The parent is a caller of this