Skip to contentSkip to conversation

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

PATCH Applied [email protected] 3 participants 3 messages Mar 13, 2017 – Mar 15, 2017 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 tools/perf/Documentation/perf-report.txt | 3 +++
 1 file changed, 3 insertions(+)
tools/perf/Documentation/perf-report.txt +3 -0
index c04cc06..c831ebc 100644
@@ -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
Signature · 1 line
2.7.4
maintainer Applied
#1 lore raw

Em Mon, Mar 13, 2017 at 04:32:52PM +0800, [email protected] escreveu:

Quoted 6 lines

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.

Quoted 21 lines
---
 tools/perf/Documentation/perf-report.txt | 3 +++
 1 file changed, 3 insertions(+)
tools/perf/Documentation/perf-report.txt +3 -0
index c04cc06..c831ebc 100644
@@ -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
Signature · 1 line
2.7.4
#2 lore raw
In reply to [email protected]
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.

---
 tools/perf/Documentation/perf-report.txt | 3 +++
 1 file changed, 3 insertions(+)
tools/perf/Documentation/perf-report.txt +3 -0
index 33f9190..672b149a 100644
@@ -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