Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1326506 > unrolled thread

[PATCH 0/8] perf config: Document config variables in man page

Started byTaeung Song <treeze.taeung@gmail.com>
First post2016-02-04 10:30 +0100
Last post2016-02-05 14:50 +0100
Articles 20 on this page of 24 — 5 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/8] perf config: Document config variables in man page Taeung Song <treeze.taeung@gmail.com> - 2016-02-04 10:30 +0100
    [PATCH 1/8] perf config: Document 'ui.show-headers' variable in man page Taeung Song <treeze.taeung@gmail.com> - 2016-02-04 10:30 +0100
      [tip:perf/core] perf config: Document 'ui.show-headers'   variable in man page tip-bot for Taeung Song <tipbot@zytor.com> - 2016-02-09 13:20 +0100
    [PATCH 4/8] perf config: Document 'top.children' variable in man page Taeung Song <treeze.taeung@gmail.com> - 2016-02-04 10:30 +0100
      [tip:perf/core] perf config: Document 'top.children'   variable in man page tip-bot for Taeung Song <tipbot@zytor.com> - 2016-02-09 13:20 +0100
    [PATCH 8/8] perf config: Document 'record.build-id' variable in man page Taeung Song <treeze.taeung@gmail.com> - 2016-02-04 10:30 +0100
      [tip:perf/core] perf config: Document 'record.build-id'   variable in man page tip-bot for Taeung Song <tipbot@zytor.com> - 2016-02-09 13:20 +0100
    [PATCH 7/8] perf config: Document 'kmem.default' variable in man page Taeung Song <treeze.taeung@gmail.com> - 2016-02-04 10:30 +0100
      [tip:perf/core] perf config: Document 'kmem.default'   variable in man page tip-bot for Taeung Song <tipbot@zytor.com> - 2016-02-09 13:20 +0100
    [PATCH 5/8] perf config: Document 'man.viewer' variable in man page Taeung Song <treeze.taeung@gmail.com> - 2016-02-04 10:30 +0100
      [tip:perf/core] perf config: Document 'man.viewer'   variable in man page tip-bot for Taeung Song <tipbot@zytor.com> - 2016-02-09 13:20 +0100
    [PATCH 2/8] perf config: Document variables for 'call-graph' section in man page Taeung Song <treeze.taeung@gmail.com> - 2016-02-04 10:30 +0100
      [tip:perf/core] perf config: Document variables for 'call-graph'   section in man page tip-bot for Taeung Song <tipbot@zytor.com> - 2016-02-09 13:20 +0100
    [PATCH 3/8] perf config: Document variables for 'report' section in man page Taeung Song <treeze.taeung@gmail.com> - 2016-02-04 10:30 +0100
      [tip:perf/core] perf config: Document variables for 'report'   section in man page tip-bot for Taeung Song <tipbot@zytor.com> - 2016-02-09 13:20 +0100
    [PATCH 6/8] perf config: Document 'pager.<subcommand>' variables in man page Taeung Song <treeze.taeung@gmail.com> - 2016-02-04 10:30 +0100
      [tip:perf/core] perf config: Document 'pager.<subcommand>'   variables in man page tip-bot for Taeung Song <tipbot@zytor.com> - 2016-02-09 13:20 +0100
    Re: [PATCH 0/8] perf config: Document config variables in man page Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-02-04 16:00 +0100
      Re: [PATCH 0/8] perf config: Document config variables in man page Taeung Song <treeze.taeung@gmail.com> - 2016-02-05 11:50 +0100
      Re: [PATCH 0/8] perf config: Document config variables in man page Taeung Song <treeze.taeung@gmail.com> - 2016-02-05 12:10 +0100
        Re: [PATCH 0/8] perf config: Document config variables in man page Namhyung Kim <namhyung@kernel.org> - 2016-02-05 14:10 +0100
          Re: [PATCH 0/8] perf config: Document config variables in man page Arnaldo Carvalho de Melo <arnaldo.melo@gmail.com> - 2016-02-05 14:40 +0100
            Re: [PATCH 0/8] perf config: Document config variables in man page Namhyung Kim <namhyung@kernel.org> - 2016-02-05 14:50 +0100
            Re: [PATCH 0/8] perf config: Document config variables in man page Taeung Song <treeze.taeung@gmail.com> - 2016-02-05 14:50 +0100

Page 1 of 2  [1] 2  Next page →


#1326506 — [PATCH 0/8] perf config: Document config variables in man page

FromTaeung Song <treeze.taeung@gmail.com>
Date2016-02-04 10:30 +0100
Subject[PATCH 0/8] perf config: Document config variables in man page
Message-ID<qYooF-6GV-1@gated-at.bofh.it>
Document perf config informations each section
in Documentation/perf-config.txt excluding 'help' section.

Taeung Song (8):
  perf config: Document 'ui.show-headers' variable in man page
  perf config: Document variables for 'call-graph' section in man page
  perf config: Document variables for 'report' section in man page
  perf config: Document 'top.children' variable in man page
  perf config: Document 'man.viewer' variable in man page
  perf config: Document 'pager.<subcommand>' variables in man page
  perf config: Document 'kmem.default' variable in man page
  perf config: Document 'record.build-id' variable in man page

 tools/perf/Documentation/perf-config.txt | 141 +++++++++++++++++++++++++++++++
 1 file changed, 141 insertions(+)

-- 
2.5.0

[toc] | [next] | [standalone]


#1326507 — [PATCH 1/8] perf config: Document 'ui.show-headers' variable in man page

FromTaeung Song <treeze.taeung@gmail.com>
Date2016-02-04 10:30 +0100
Subject[PATCH 1/8] perf config: Document 'ui.show-headers' variable in man page
Message-ID<qYooG-6GV-7@gated-at.bofh.it>
In reply to#1326506
Explain 'ui.show-headers' variable.

Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
---
 tools/perf/Documentation/perf-config.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index 74589c6..4278722 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -296,6 +296,12 @@ hist.*::
 	       and 'baz' to 50.00% for each, while 'absolute' would show their
 	       current overhead (33.33%).
 
+ui.*::
+	ui.show-headers::
+		This option controls display of column headers (like 'Overhead' and 'Symbol')
+		in 'report' and 'top'. If this option is false, they are hidden.
+		This option is only applied to TUI.
+
 SEE ALSO
 --------
 linkperf:perf[1]
-- 
2.5.0

[toc] | [prev] | [next] | [standalone]


#1330165 — [tip:perf/core] perf config: Document 'ui.show-headers' variable in man page

Fromtip-bot for Taeung Song <tipbot@zytor.com>
Date2016-02-09 13:20 +0100
Subject[tip:perf/core] perf config: Document 'ui.show-headers' variable in man page
Message-ID<r0fqZ-3Sj-67@gated-at.bofh.it>
In reply to#1326507
Commit-ID:  67f43c009778ddaae812aae29731bb04c256165e
Gitweb:     http://git.kernel.org/tip/67f43c009778ddaae812aae29731bb04c256165e
Author:     Taeung Song <treeze.taeung@gmail.com>
AuthorDate: Thu, 4 Feb 2016 18:25:06 +0900
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 4 Feb 2016 11:36:13 -0300

perf config: Document 'ui.show-headers' variable in man page

This option controls display of column headers (like 'Overhead' and
'Symbol') in 'report' and 'top'. If this option is false, they are
hidden.  This option is only applied to TUI.

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1454577913-16401-2-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/Documentation/perf-config.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index 74589c6..4278722 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -296,6 +296,12 @@ hist.*::
 	       and 'baz' to 50.00% for each, while 'absolute' would show their
 	       current overhead (33.33%).
 
+ui.*::
+	ui.show-headers::
+		This option controls display of column headers (like 'Overhead' and 'Symbol')
+		in 'report' and 'top'. If this option is false, they are hidden.
+		This option is only applied to TUI.
+
 SEE ALSO
 --------
 linkperf:perf[1]

[toc] | [prev] | [next] | [standalone]


#1326508 — [PATCH 4/8] perf config: Document 'top.children' variable in man page

FromTaeung Song <treeze.taeung@gmail.com>
Date2016-02-04 10:30 +0100
Subject[PATCH 4/8] perf config: Document 'top.children' variable in man page
Message-ID<qYooG-6GV-3@gated-at.bofh.it>
In reply to#1326506
Explain 'top.children' variable.

Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
---
 tools/perf/Documentation/perf-config.txt | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index 72071ab..0154bc9 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -403,6 +403,13 @@ report.*::
 		     0.07%   0.00%  noploop  ld-2.15.so         [.] strcmp
 		     0.03%   0.00%  noploop  [kernel.kallsyms]  [k] timerqueue_del
 
+top.*::
+	top.children::
+		This option means same as report.children. So if it is true,
+		the output of 'top' command will have 'Children' overhead column
+		as well as 'Self' overhead column by default.
+		The default is true.
+
 SEE ALSO
 --------
 linkperf:perf[1]
-- 
2.5.0

[toc] | [prev] | [next] | [standalone]


#1330157 — [tip:perf/core] perf config: Document 'top.children' variable in man page

Fromtip-bot for Taeung Song <tipbot@zytor.com>
Date2016-02-09 13:20 +0100
Subject[tip:perf/core] perf config: Document 'top.children' variable in man page
Message-ID<r0fqY-3Sj-47@gated-at.bofh.it>
In reply to#1326508
Commit-ID:  0b04c84087d3188c648628a6c73738314724c921
Gitweb:     http://git.kernel.org/tip/0b04c84087d3188c648628a6c73738314724c921
Author:     Taeung Song <treeze.taeung@gmail.com>
AuthorDate: Thu, 4 Feb 2016 18:25:09 +0900
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 4 Feb 2016 11:46:12 -0300

perf config: Document 'top.children' variable in man page

Explain 'top.children' variable.

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1454577913-16401-5-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/Documentation/perf-config.txt | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index f38f46f..5e1db5ae 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -405,6 +405,13 @@ report.*::
 		     0.07%   0.00%  noploop  ld-2.15.so         [.] strcmp
 		     0.03%   0.00%  noploop  [kernel.kallsyms]  [k] timerqueue_del
 
+top.*::
+	top.children::
+		Same as 'report.children'. So if it is enabled, the output of 'top'
+		command will have 'Children' overhead column as well as 'Self' overhead
+		column by default.
+		The default is 'true'.
+
 SEE ALSO
 --------
 linkperf:perf[1]

[toc] | [prev] | [next] | [standalone]


#1326509 — [PATCH 8/8] perf config: Document 'record.build-id' variable in man page

FromTaeung Song <treeze.taeung@gmail.com>
Date2016-02-04 10:30 +0100
Subject[PATCH 8/8] perf config: Document 'record.build-id' variable in man page
Message-ID<qYooG-6GV-9@gated-at.bofh.it>
In reply to#1326506
Explain 'record.build-id' variable.

Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
---
 tools/perf/Documentation/perf-config.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index 1d24d94..88bc921 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -429,6 +429,14 @@ kmem.*::
 		This option decides which allocator is to be analyzed if neither
 		'--slab' nor '--page' option is used. Default is 'slab'.
 
+record.*::
+	record.build-id::
+		This option can be 'cache', 'no-cache' or 'skip'.
+		'cache' is to post-process data and save/update the binaries into
+		the build-id cache (in ~/.debug). This is the default.
+		But if this option is 'no-cache', not update the build-id cache.
+		'skip' mean that skip post-processing and do not update the cache.
+
 SEE ALSO
 --------
 linkperf:perf[1]
-- 
2.5.0

[toc] | [prev] | [next] | [standalone]


#1330145 — [tip:perf/core] perf config: Document 'record.build-id' variable in man page

Fromtip-bot for Taeung Song <tipbot@zytor.com>
Date2016-02-09 13:20 +0100
Subject[tip:perf/core] perf config: Document 'record.build-id' variable in man page
Message-ID<r0fqW-3Sj-17@gated-at.bofh.it>
In reply to#1326509
Commit-ID:  a9edec3ce211d776736b35b14b9bd2c0b5ed860b
Gitweb:     http://git.kernel.org/tip/a9edec3ce211d776736b35b14b9bd2c0b5ed860b
Author:     Taeung Song <treeze.taeung@gmail.com>
AuthorDate: Thu, 4 Feb 2016 18:25:13 +0900
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 4 Feb 2016 11:49:16 -0300

perf config: Document 'record.build-id' variable in man page

Explain 'record.build-id' variable.

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1454577913-16401-9-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/Documentation/perf-config.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index fb1f4a9..c7158bf 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -431,6 +431,14 @@ kmem.*::
 		This option decides which allocator is to be analyzed if neither
 		'--slab' nor '--page' option is used. Default is 'slab'.
 
+record.*::
+	record.build-id::
+		This option can be 'cache', 'no-cache' or 'skip'.
+		'cache' is to post-process data and save/update the binaries into
+		the build-id cache (in ~/.debug). This is the default.
+		But if this option is 'no-cache', it will not update the build-id cache.
+		'skip' skips post-processing and does not update the cache.
+
 SEE ALSO
 --------
 linkperf:perf[1]

[toc] | [prev] | [next] | [standalone]


#1326510 — [PATCH 7/8] perf config: Document 'kmem.default' variable in man page

FromTaeung Song <treeze.taeung@gmail.com>
Date2016-02-04 10:30 +0100
Subject[PATCH 7/8] perf config: Document 'kmem.default' variable in man page
Message-ID<qYooG-6GV-17@gated-at.bofh.it>
In reply to#1326506
Explain 'kmem.default' variable.

Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
---
 tools/perf/Documentation/perf-config.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index fb1be76..1d24d94 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -424,6 +424,11 @@ pager.*::
 		When the subcommand is run on stdio, determine whether it uses
 		pager or not based on this value. Default is 'unspecified'.
 
+kmem.*::
+	kmem.default::
+		This option decides which allocator is to be analyzed if neither
+		'--slab' nor '--page' option is used. Default is 'slab'.
+
 SEE ALSO
 --------
 linkperf:perf[1]
-- 
2.5.0

[toc] | [prev] | [next] | [standalone]


#1330164 — [tip:perf/core] perf config: Document 'kmem.default' variable in man page

Fromtip-bot for Taeung Song <tipbot@zytor.com>
Date2016-02-09 13:20 +0100
Subject[tip:perf/core] perf config: Document 'kmem.default' variable in man page
Message-ID<r0fqY-3Sj-65@gated-at.bofh.it>
In reply to#1326510
Commit-ID:  57f0dafe6a41de6c9d81bc6c403349a261e10fc4
Gitweb:     http://git.kernel.org/tip/57f0dafe6a41de6c9d81bc6c403349a261e10fc4
Author:     Taeung Song <treeze.taeung@gmail.com>
AuthorDate: Thu, 4 Feb 2016 18:25:12 +0900
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 4 Feb 2016 11:47:39 -0300

perf config: Document 'kmem.default' variable in man page

Explain 'kmem.default' variable.

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1454577913-16401-8-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/Documentation/perf-config.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index 99aa72e..fb1f4a9 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -426,6 +426,11 @@ pager.*::
 		When the subcommand is run on stdio, determine whether it uses
 		pager or not based on this value. Default is 'unspecified'.
 
+kmem.*::
+	kmem.default::
+		This option decides which allocator is to be analyzed if neither
+		'--slab' nor '--page' option is used. Default is 'slab'.
+
 SEE ALSO
 --------
 linkperf:perf[1]

[toc] | [prev] | [next] | [standalone]


#1326511 — [PATCH 5/8] perf config: Document 'man.viewer' variable in man page

FromTaeung Song <treeze.taeung@gmail.com>
Date2016-02-04 10:30 +0100
Subject[PATCH 5/8] perf config: Document 'man.viewer' variable in man page
Message-ID<qYooG-6GV-15@gated-at.bofh.it>
In reply to#1326506
Explain 'man.viewer' variable and how to add
new man viewer tools.

Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
---
 tools/perf/Documentation/perf-config.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index 0154bc9..a30d225 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -410,6 +410,15 @@ top.*::
 		as well as 'Self' overhead column by default.
 		The default is true.
 
+man.*::
+	man.viewer::
+		This option can assign a tool to view manual pages when 'help'
+		subcommand was invoked. Supported tools are 'man', 'woman'
+		(with emacs client) and 'konqueror'. Default is 'man'.
+
+		New man viewer tool can be also added using 'man.<tool>.cmd'
+		or use different path using 'man.<tool>.path' config option.
+
 SEE ALSO
 --------
 linkperf:perf[1]
-- 
2.5.0

[toc] | [prev] | [next] | [standalone]


#1330153 — [tip:perf/core] perf config: Document 'man.viewer' variable in man page

Fromtip-bot for Taeung Song <tipbot@zytor.com>
Date2016-02-09 13:20 +0100
Subject[tip:perf/core] perf config: Document 'man.viewer' variable in man page
Message-ID<r0fqX-3Sj-35@gated-at.bofh.it>
In reply to#1326511
Commit-ID:  08b75b409e3799553a3536e628f1dba4c87d7c14
Gitweb:     http://git.kernel.org/tip/08b75b409e3799553a3536e628f1dba4c87d7c14
Author:     Taeung Song <treeze.taeung@gmail.com>
AuthorDate: Thu, 4 Feb 2016 18:25:10 +0900
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 4 Feb 2016 11:46:54 -0300

perf config: Document 'man.viewer' variable in man page

Explain 'man.viewer' variable and how to add new man viewer tools.

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1454577913-16401-6-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/Documentation/perf-config.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index 5e1db5ae..fd3f048 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -412,6 +412,15 @@ top.*::
 		column by default.
 		The default is 'true'.
 
+man.*::
+	man.viewer::
+		This option can assign a tool to view manual pages when 'help'
+		subcommand was invoked. Supported tools are 'man', 'woman'
+		(with emacs client) and 'konqueror'. Default is 'man'.
+
+		New man viewer tool can be also added using 'man.<tool>.cmd'
+		or use different path using 'man.<tool>.path' config option.
+
 SEE ALSO
 --------
 linkperf:perf[1]

[toc] | [prev] | [next] | [standalone]


#1326512 — [PATCH 2/8] perf config: Document variables for 'call-graph' section in man page

FromTaeung Song <treeze.taeung@gmail.com>
Date2016-02-04 10:30 +0100
Subject[PATCH 2/8] perf config: Document variables for 'call-graph' section in man page
Message-ID<qYooG-6GV-21@gated-at.bofh.it>
In reply to#1326506
Explain 'call-graph' section and its variables.

'record-mode', 'dump-size', 'print-type', 'order',
'sort-key', 'threshold' and 'print-limit'.

Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
---
 tools/perf/Documentation/perf-config.txt | 67 ++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index 4278722..42310ae 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -302,6 +302,73 @@ ui.*::
 		in 'report' and 'top'. If this option is false, they are hidden.
 		This option is only applied to TUI.
 
+call-graph.*::
+	When sub-commands 'top' and 'report' work with -g/—-children
+	there're options in control of call-graph.
+
+	call-graph.record-mode::
+		The record-mode can be 'fp' (frame pointer), 'dwarf' and 'lbr'.
+		The value of 'dwarf' is effective only if perf detect needed library
+		(libunwind or a recent version of libdw).
+		'lbr' only work for cpus that support it.
+
+	call-graph.dump-size::
+		The size of stack to dump in order to do post-unwinding. Default is 8192 (byte).
+		When using dwarf into record-mode, the default size will be used if omitted.
+
+	call-graph.print-type::
+		The print-types can be graph (graph absolute), fractal (graph relative),
+		flat and folded. This option controls a way to show overhead for each callchain
+		entry. Suppose a following example.
+
+                Overhead  Symbols
+                ........  .......
+                  40.00%  foo
+                          |
+                          ---foo
+                             |
+                             |--50.00%--bar
+                             |          main
+                             |
+                              --50.00%--baz
+                                        main
+
+		This output is a 'fractal' format. The 'foo' came from 'bar' and 'baz' exactly
+		half and half so 'fractal' shows 50.00% for each
+		(meaning that it assumes 100% total overhead of 'foo').
+
+		The 'graph' uses absolute overhead value of 'foo' as total so each of
+		'bar' and 'baz' callchain will have 20.00% of overhead.
+		If 'flat' is used, single column and linear exposure of call chains.
+		'folded' mean call chains are displayed in a line, separated by semicolons.
+
+	call-graph.order::
+		This option controls print order of callchains. The default is
+		'callee' which means callee is printed at top and then followed by its
+		caller and so on. The 'caller' prints it in reverse order.
+
+		If this option is not set and report.children or top.children is
+		set to true (or the equivalent command line option is given),
+		the default value of this option is changed to 'caller' for the
+		execution of 'perf report' or 'perf top'. Other commands will
+		still default to 'callee'.
+
+	call-graph.sort-key::
+		The callchains are merged if they contain same information.
+		The sort-key option determines a way to compare the callchains.
+		A value of 'sort-key' can be 'function' or 'address'.
+		The default is 'function'.
+
+	call-graph.threshold::
+		When there're many callchains it'd print tons of lines. So perf omits
+		small callchains under a certain overhead (threshold) and this option
+		control the threshold. Default is 0.5 (%). The overhead is calculated
+		by value depends on call-graph.print-type.
+
+	call-graph.print-limit::
+		This is a maximum number of lines of callchain printed for a single
+		histogram entry. Default is 0 which means no limitation.
+
 SEE ALSO
 --------
 linkperf:perf[1]
-- 
2.5.0

[toc] | [prev] | [next] | [standalone]


#1330142 — [tip:perf/core] perf config: Document variables for 'call-graph' section in man page

Fromtip-bot for Taeung Song <tipbot@zytor.com>
Date2016-02-09 13:20 +0100
Subject[tip:perf/core] perf config: Document variables for 'call-graph' section in man page
Message-ID<r0fqW-3Sj-9@gated-at.bofh.it>
In reply to#1326512
Commit-ID:  56c94dc56f9e4c1c09fbe26ad65715caa2259438
Gitweb:     http://git.kernel.org/tip/56c94dc56f9e4c1c09fbe26ad65715caa2259438
Author:     Taeung Song <treeze.taeung@gmail.com>
AuthorDate: Thu, 4 Feb 2016 18:25:07 +0900
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 4 Feb 2016 11:37:32 -0300

perf config: Document variables for 'call-graph' section in man page

Explain 'call-graph' section and its variables:

  'record-mode', 'dump-size', 'print-type', 'order', 'sort-key',
  'threshold' and 'print-limit'.

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1454577913-16401-3-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/Documentation/perf-config.txt | 67 ++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index 4278722..42310ae 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -302,6 +302,73 @@ ui.*::
 		in 'report' and 'top'. If this option is false, they are hidden.
 		This option is only applied to TUI.
 
+call-graph.*::
+	When sub-commands 'top' and 'report' work with -g/—-children
+	there're options in control of call-graph.
+
+	call-graph.record-mode::
+		The record-mode can be 'fp' (frame pointer), 'dwarf' and 'lbr'.
+		The value of 'dwarf' is effective only if perf detect needed library
+		(libunwind or a recent version of libdw).
+		'lbr' only work for cpus that support it.
+
+	call-graph.dump-size::
+		The size of stack to dump in order to do post-unwinding. Default is 8192 (byte).
+		When using dwarf into record-mode, the default size will be used if omitted.
+
+	call-graph.print-type::
+		The print-types can be graph (graph absolute), fractal (graph relative),
+		flat and folded. This option controls a way to show overhead for each callchain
+		entry. Suppose a following example.
+
+                Overhead  Symbols
+                ........  .......
+                  40.00%  foo
+                          |
+                          ---foo
+                             |
+                             |--50.00%--bar
+                             |          main
+                             |
+                              --50.00%--baz
+                                        main
+
+		This output is a 'fractal' format. The 'foo' came from 'bar' and 'baz' exactly
+		half and half so 'fractal' shows 50.00% for each
+		(meaning that it assumes 100% total overhead of 'foo').
+
+		The 'graph' uses absolute overhead value of 'foo' as total so each of
+		'bar' and 'baz' callchain will have 20.00% of overhead.
+		If 'flat' is used, single column and linear exposure of call chains.
+		'folded' mean call chains are displayed in a line, separated by semicolons.
+
+	call-graph.order::
+		This option controls print order of callchains. The default is
+		'callee' which means callee is printed at top and then followed by its
+		caller and so on. The 'caller' prints it in reverse order.
+
+		If this option is not set and report.children or top.children is
+		set to true (or the equivalent command line option is given),
+		the default value of this option is changed to 'caller' for the
+		execution of 'perf report' or 'perf top'. Other commands will
+		still default to 'callee'.
+
+	call-graph.sort-key::
+		The callchains are merged if they contain same information.
+		The sort-key option determines a way to compare the callchains.
+		A value of 'sort-key' can be 'function' or 'address'.
+		The default is 'function'.
+
+	call-graph.threshold::
+		When there're many callchains it'd print tons of lines. So perf omits
+		small callchains under a certain overhead (threshold) and this option
+		control the threshold. Default is 0.5 (%). The overhead is calculated
+		by value depends on call-graph.print-type.
+
+	call-graph.print-limit::
+		This is a maximum number of lines of callchain printed for a single
+		histogram entry. Default is 0 which means no limitation.
+
 SEE ALSO
 --------
 linkperf:perf[1]

[toc] | [prev] | [next] | [standalone]


#1326513 — [PATCH 3/8] perf config: Document variables for 'report' section in man page

FromTaeung Song <treeze.taeung@gmail.com>
Date2016-02-04 10:30 +0100
Subject[PATCH 3/8] perf config: Document variables for 'report' section in man page
Message-ID<qYooH-6GV-25@gated-at.bofh.it>
In reply to#1326506
Explain 'report' section's variables.

'percent-limit', 'queue-size' and 'children'.

Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
---
 tools/perf/Documentation/perf-config.txt | 34 ++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index 42310ae..72071ab 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -369,6 +369,40 @@ call-graph.*::
 		This is a maximum number of lines of callchain printed for a single
 		histogram entry. Default is 0 which means no limitation.
 
+report.*::
+	report.percent-limit::
+		This one is mostly same as call-graph.threshold but works for
+		histogram entries. Entries have overhead lower than this percentage
+		will not be printed. Default is 0. If percent-limit is 10,
+		entries which have more than 10% of overhead will be printed only.
+
+	report.queue-size::
+		This option is to setup the maximum allocation size of internal
+		event queue for ordering events. Default is 0, meaning no limit.
+
+	report.children::
+		The children means that functions called from another function.
+		If this option is true, perf report cumulates callchains of children
+		and show (accumulated) total overhead as well as self overhead.
+		Please refer to the perf-report manual. The default is true.
+
+	report.group::
+		This option is to show event group information together.
+		If it is 'true', event group view can be enabled by default i.e.
+
+		# group: {ref-cycles,cycles}
+		# ========
+		#
+		# Samples: 7K of event 'anon group { ref-cycles, cycles }'
+		# Event count (approx.): 6876107743
+		#
+		#         Overhead  Command      Shared Object                      Symbol
+		# ................  .......  .................  ..........................
+		#
+		    99.84%  99.76%  noploop  noploop            [.] main
+		     0.07%   0.00%  noploop  ld-2.15.so         [.] strcmp
+		     0.03%   0.00%  noploop  [kernel.kallsyms]  [k] timerqueue_del
+
 SEE ALSO
 --------
 linkperf:perf[1]
-- 
2.5.0

[toc] | [prev] | [next] | [standalone]


#1330160 — [tip:perf/core] perf config: Document variables for 'report' section in man page

Fromtip-bot for Taeung Song <tipbot@zytor.com>
Date2016-02-09 13:20 +0100
Subject[tip:perf/core] perf config: Document variables for 'report' section in man page
Message-ID<r0fqY-3Sj-55@gated-at.bofh.it>
In reply to#1326513
Commit-ID:  806cb95bb6cb25105b37d971d9916105898cb6fe
Gitweb:     http://git.kernel.org/tip/806cb95bb6cb25105b37d971d9916105898cb6fe
Author:     Taeung Song <treeze.taeung@gmail.com>
AuthorDate: Thu, 4 Feb 2016 18:25:08 +0900
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 4 Feb 2016 11:44:25 -0300

perf config: Document variables for 'report' section in man page

Explain 'report' section's variables:

  'percent-limit', 'queue-size' and 'children'.

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1454577913-16401-4-git-send-email-treeze.taeung@gmail.com
[ Fix some grammar issues, add some more info ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/Documentation/perf-config.txt | 36 ++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index 42310ae..f38f46f 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -369,6 +369,42 @@ call-graph.*::
 		This is a maximum number of lines of callchain printed for a single
 		histogram entry. Default is 0 which means no limitation.
 
+report.*::
+	report.percent-limit::
+		This one is mostly the same as call-graph.threshold but works for
+		histogram entries. Entries having an overhead lower than this
+		percentage will not be printed. Default is '0'. If percent-limit
+		is '10', only entries which have more than 10% of overhead will be
+		printed.
+
+	report.queue-size::
+		This option sets up the maximum allocation size of the internal
+		event queue for ordering events. Default is 0, meaning no limit.
+
+	report.children::
+		'Children' means functions called from another function.
+		If this option is true, 'perf report' cumulates callchains of children
+		and show (accumulated) total overhead as well as 'Self' overhead.
+		Please refer to the 'perf report' manual. The default is 'true'.
+
+	report.group::
+		This option is to show event group information together.
+		Example output with this turned on, notice that there is one column
+		per event in the group, ref-cycles and cycles:
+
+		# group: {ref-cycles,cycles}
+		# ========
+		#
+		# Samples: 7K of event 'anon group { ref-cycles, cycles }'
+		# Event count (approx.): 6876107743
+		#
+		#         Overhead  Command      Shared Object               Symbol
+		# ................  .......  .................  ...................
+		#
+		    99.84%  99.76%  noploop  noploop            [.] main
+		     0.07%   0.00%  noploop  ld-2.15.so         [.] strcmp
+		     0.03%   0.00%  noploop  [kernel.kallsyms]  [k] timerqueue_del
+
 SEE ALSO
 --------
 linkperf:perf[1]

[toc] | [prev] | [next] | [standalone]


#1326515 — [PATCH 6/8] perf config: Document 'pager.<subcommand>' variables in man page

FromTaeung Song <treeze.taeung@gmail.com>
Date2016-02-04 10:30 +0100
Subject[PATCH 6/8] perf config: Document 'pager.<subcommand>' variables in man page
Message-ID<qYooG-6GV-19@gated-at.bofh.it>
In reply to#1326506
Explain 'pager.<subcommand>' variables.

Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
---
 tools/perf/Documentation/perf-config.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index a30d225..fb1be76 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -419,6 +419,11 @@ man.*::
 		New man viewer tool can be also added using 'man.<tool>.cmd'
 		or use different path using 'man.<tool>.path' config option.
 
+pager.*::
+	pager.<subcommand>::
+		When the subcommand is run on stdio, determine whether it uses
+		pager or not based on this value. Default is 'unspecified'.
+
 SEE ALSO
 --------
 linkperf:perf[1]
-- 
2.5.0

[toc] | [prev] | [next] | [standalone]


#1330168 — [tip:perf/core] perf config: Document 'pager.<subcommand>' variables in man page

Fromtip-bot for Taeung Song <tipbot@zytor.com>
Date2016-02-09 13:20 +0100
Subject[tip:perf/core] perf config: Document 'pager.<subcommand>' variables in man page
Message-ID<r0fqZ-3Sj-71@gated-at.bofh.it>
In reply to#1326515
Commit-ID:  ab2e08e8ba683f3e923a56b1e81b5c5e115bad0b
Gitweb:     http://git.kernel.org/tip/ab2e08e8ba683f3e923a56b1e81b5c5e115bad0b
Author:     Taeung Song <treeze.taeung@gmail.com>
AuthorDate: Thu, 4 Feb 2016 18:25:11 +0900
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 4 Feb 2016 11:47:25 -0300

perf config: Document 'pager.<subcommand>' variables in man page

Explain 'pager.<subcommand>' variables.

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1454577913-16401-7-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/Documentation/perf-config.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index fd3f048..99aa72e 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -421,6 +421,11 @@ man.*::
 		New man viewer tool can be also added using 'man.<tool>.cmd'
 		or use different path using 'man.<tool>.path' config option.
 
+pager.*::
+	pager.<subcommand>::
+		When the subcommand is run on stdio, determine whether it uses
+		pager or not based on this value. Default is 'unspecified'.
+
 SEE ALSO
 --------
 linkperf:perf[1]

[toc] | [prev] | [next] | [standalone]


#1326896

FromArnaldo Carvalho de Melo <acme@kernel.org>
Date2016-02-04 16:00 +0100
Message-ID<qYty3-3iA-21@gated-at.bofh.it>
In reply to#1326506
Em Thu, Feb 04, 2016 at 06:25:05PM +0900, Taeung Song escreveu:
> Document perf config informations each section
> in Documentation/perf-config.txt excluding 'help' section.

Thanks, applied with some changes,

- Arnaldo

[toc] | [prev] | [next] | [standalone]


#1327600

FromTaeung Song <treeze.taeung@gmail.com>
Date2016-02-05 11:50 +0100
Message-ID<qYM7E-7sR-3@gated-at.bofh.it>
In reply to#1326896

On 02/04/2016 11:49 PM, Arnaldo Carvalho de Melo wrote:
> Em Thu, Feb 04, 2016 at 06:25:05PM +0900, Taeung Song escreveu:
>> Document perf config informations each section
>> in Documentation/perf-config.txt excluding 'help' section.
>
> Thanks, applied with some changes,
>

Thank you !!

Taeung

[toc] | [prev] | [next] | [standalone]


#1327605

FromTaeung Song <treeze.taeung@gmail.com>
Date2016-02-05 12:10 +0100
Message-ID<qYMr1-7OK-25@gated-at.bofh.it>
In reply to#1326896
Hi, Arnaldo

I'm sorry I missed a thing out.
Lastly default calchain perfcent limit is changed to 0.005%.
This is a default value of call-graph.threshold.

So I resent a modified patch about this.

Thanks,
Taeung

On 02/04/2016 11:49 PM, Arnaldo Carvalho de Melo wrote:
> Em Thu, Feb 04, 2016 at 06:25:05PM +0900, Taeung Song escreveu:
>> Document perf config informations each section
>> in Documentation/perf-config.txt excluding 'help' section.
>
> Thanks, applied with some changes,
>
> - Arnaldo
>

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | linux.kernel


csiph-web