All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] perf config: Document config variables in man page
@ 2016-02-04  9:25 Taeung Song
  2016-02-04  9:25 ` [PATCH 1/8] perf config: Document 'ui.show-headers' variable " Taeung Song
                   ` (8 more replies)
  0 siblings, 9 replies; 24+ messages in thread
From: Taeung Song @ 2016-02-04  9:25 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Jiri Olsa, Namhyung Kim, Ingo Molnar, Taeung Song

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

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [PATCH 1/8] perf config: Document 'ui.show-headers' variable in man page
  2016-02-04  9:25 [PATCH 0/8] perf config: Document config variables in man page Taeung Song
@ 2016-02-04  9:25 ` Taeung Song
  2016-02-09 12:10   ` [tip:perf/core] " tip-bot for Taeung Song
  2016-02-04  9:25 ` [PATCH 2/8] perf config: Document variables for 'call-graph' section " Taeung Song
                   ` (7 subsequent siblings)
  8 siblings, 1 reply; 24+ messages in thread
From: Taeung Song @ 2016-02-04  9:25 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Jiri Olsa, Namhyung Kim, Ingo Molnar, Taeung Song

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

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 2/8] perf config: Document variables for 'call-graph' section in man page
  2016-02-04  9:25 [PATCH 0/8] perf config: Document config variables in man page Taeung Song
  2016-02-04  9:25 ` [PATCH 1/8] perf config: Document 'ui.show-headers' variable " Taeung Song
@ 2016-02-04  9:25 ` Taeung Song
  2016-02-09 12:10   ` [tip:perf/core] " tip-bot for Taeung Song
  2016-02-04  9:25 ` [PATCH 3/8] perf config: Document variables for 'report' " Taeung Song
                   ` (6 subsequent siblings)
  8 siblings, 1 reply; 24+ messages in thread
From: Taeung Song @ 2016-02-04  9:25 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Jiri Olsa, Namhyung Kim, Ingo Molnar, Taeung Song

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

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 3/8] perf config: Document variables for 'report' section in man page
  2016-02-04  9:25 [PATCH 0/8] perf config: Document config variables in man page Taeung Song
  2016-02-04  9:25 ` [PATCH 1/8] perf config: Document 'ui.show-headers' variable " Taeung Song
  2016-02-04  9:25 ` [PATCH 2/8] perf config: Document variables for 'call-graph' section " Taeung Song
@ 2016-02-04  9:25 ` Taeung Song
  2016-02-09 12:11   ` [tip:perf/core] " tip-bot for Taeung Song
  2016-02-04  9:25 ` [PATCH 4/8] perf config: Document 'top.children' variable " Taeung Song
                   ` (5 subsequent siblings)
  8 siblings, 1 reply; 24+ messages in thread
From: Taeung Song @ 2016-02-04  9:25 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Jiri Olsa, Namhyung Kim, Ingo Molnar, Taeung Song

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

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 4/8] perf config: Document 'top.children' variable in man page
  2016-02-04  9:25 [PATCH 0/8] perf config: Document config variables in man page Taeung Song
                   ` (2 preceding siblings ...)
  2016-02-04  9:25 ` [PATCH 3/8] perf config: Document variables for 'report' " Taeung Song
@ 2016-02-04  9:25 ` Taeung Song
  2016-02-09 12:11   ` [tip:perf/core] " tip-bot for Taeung Song
  2016-02-04  9:25 ` [PATCH 5/8] perf config: Document 'man.viewer' " Taeung Song
                   ` (4 subsequent siblings)
  8 siblings, 1 reply; 24+ messages in thread
From: Taeung Song @ 2016-02-04  9:25 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Jiri Olsa, Namhyung Kim, Ingo Molnar, Taeung Song

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

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 5/8] perf config: Document 'man.viewer' variable in man page
  2016-02-04  9:25 [PATCH 0/8] perf config: Document config variables in man page Taeung Song
                   ` (3 preceding siblings ...)
  2016-02-04  9:25 ` [PATCH 4/8] perf config: Document 'top.children' variable " Taeung Song
@ 2016-02-04  9:25 ` Taeung Song
  2016-02-09 12:12   ` [tip:perf/core] " tip-bot for Taeung Song
  2016-02-04  9:25 ` [PATCH 6/8] perf config: Document 'pager.<subcommand>' variables " Taeung Song
                   ` (3 subsequent siblings)
  8 siblings, 1 reply; 24+ messages in thread
From: Taeung Song @ 2016-02-04  9:25 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Jiri Olsa, Namhyung Kim, Ingo Molnar, Taeung Song

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

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 6/8] perf config: Document 'pager.<subcommand>' variables in man page
  2016-02-04  9:25 [PATCH 0/8] perf config: Document config variables in man page Taeung Song
                   ` (4 preceding siblings ...)
  2016-02-04  9:25 ` [PATCH 5/8] perf config: Document 'man.viewer' " Taeung Song
@ 2016-02-04  9:25 ` Taeung Song
  2016-02-09 12:12   ` [tip:perf/core] " tip-bot for Taeung Song
  2016-02-04  9:25 ` [PATCH 7/8] perf config: Document 'kmem.default' variable " Taeung Song
                   ` (2 subsequent siblings)
  8 siblings, 1 reply; 24+ messages in thread
From: Taeung Song @ 2016-02-04  9:25 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Jiri Olsa, Namhyung Kim, Ingo Molnar, Taeung Song

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

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 7/8] perf config: Document 'kmem.default' variable in man page
  2016-02-04  9:25 [PATCH 0/8] perf config: Document config variables in man page Taeung Song
                   ` (5 preceding siblings ...)
  2016-02-04  9:25 ` [PATCH 6/8] perf config: Document 'pager.<subcommand>' variables " Taeung Song
@ 2016-02-04  9:25 ` Taeung Song
  2016-02-09 12:12   ` [tip:perf/core] " tip-bot for Taeung Song
  2016-02-04  9:25 ` [PATCH 8/8] perf config: Document 'record.build-id' " Taeung Song
  2016-02-04 14:49 ` [PATCH 0/8] perf config: Document config variables " Arnaldo Carvalho de Melo
  8 siblings, 1 reply; 24+ messages in thread
From: Taeung Song @ 2016-02-04  9:25 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Jiri Olsa, Namhyung Kim, Ingo Molnar, Taeung Song

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

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 8/8] perf config: Document 'record.build-id' variable in man page
  2016-02-04  9:25 [PATCH 0/8] perf config: Document config variables in man page Taeung Song
                   ` (6 preceding siblings ...)
  2016-02-04  9:25 ` [PATCH 7/8] perf config: Document 'kmem.default' variable " Taeung Song
@ 2016-02-04  9:25 ` Taeung Song
  2016-02-09 12:13   ` [tip:perf/core] " tip-bot for Taeung Song
  2016-02-04 14:49 ` [PATCH 0/8] perf config: Document config variables " Arnaldo Carvalho de Melo
  8 siblings, 1 reply; 24+ messages in thread
From: Taeung Song @ 2016-02-04  9:25 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Jiri Olsa, Namhyung Kim, Ingo Molnar, Taeung Song

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

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/8] perf config: Document config variables in man page
  2016-02-04  9:25 [PATCH 0/8] perf config: Document config variables in man page Taeung Song
                   ` (7 preceding siblings ...)
  2016-02-04  9:25 ` [PATCH 8/8] perf config: Document 'record.build-id' " Taeung Song
@ 2016-02-04 14:49 ` Arnaldo Carvalho de Melo
  2016-02-05 10:41   ` Taeung Song
  2016-02-05 11:03   ` Taeung Song
  8 siblings, 2 replies; 24+ messages in thread
From: Arnaldo Carvalho de Melo @ 2016-02-04 14:49 UTC (permalink / raw)
  To: Taeung Song; +Cc: linux-kernel, Jiri Olsa, Namhyung Kim, Ingo Molnar

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

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/8] perf config: Document config variables in man page
  2016-02-04 14:49 ` [PATCH 0/8] perf config: Document config variables " Arnaldo Carvalho de Melo
@ 2016-02-05 10:41   ` Taeung Song
  2016-02-05 11:03   ` Taeung Song
  1 sibling, 0 replies; 24+ messages in thread
From: Taeung Song @ 2016-02-05 10:41 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Jiri Olsa, Namhyung Kim, Ingo Molnar



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

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/8] perf config: Document config variables in man page
  2016-02-04 14:49 ` [PATCH 0/8] perf config: Document config variables " Arnaldo Carvalho de Melo
  2016-02-05 10:41   ` Taeung Song
@ 2016-02-05 11:03   ` Taeung Song
  2016-02-05 13:04     ` Namhyung Kim
  1 sibling, 1 reply; 24+ messages in thread
From: Taeung Song @ 2016-02-05 11:03 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Jiri Olsa, Namhyung Kim, Ingo Molnar

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
>

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/8] perf config: Document config variables in man page
  2016-02-05 11:03   ` Taeung Song
@ 2016-02-05 13:04     ` Namhyung Kim
  2016-02-05 13:39       ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 24+ messages in thread
From: Namhyung Kim @ 2016-02-05 13:04 UTC (permalink / raw)
  To: Taeung Song
  Cc: Arnaldo Carvalho de Melo, linux-kernel, Jiri Olsa, Ingo Molnar

Hi Taeung,

On Fri, Feb 05, 2016 at 08:03:30PM +0900, Taeung Song wrote:
> 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.

Nope, AFAICS the patch was not merged.  And I decided to change it to
0.05% but it' still not merged..

Thanks,
Namhyung

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/8] perf config: Document config variables in man page
  2016-02-05 13:04     ` Namhyung Kim
@ 2016-02-05 13:39       ` Arnaldo Carvalho de Melo
  2016-02-05 13:42         ` Taeung Song
  2016-02-05 13:44         ` Namhyung Kim
  0 siblings, 2 replies; 24+ messages in thread
From: Arnaldo Carvalho de Melo @ 2016-02-05 13:39 UTC (permalink / raw)
  To: Namhyung Kim; +Cc: Taeung Song, linux-kernel, Jiri Olsa, Ingo Molnar

Em Fri, Feb 05, 2016 at 10:04:39PM +0900, Namhyung Kim escreveu:
> Hi Taeung,
> 
> On Fri, Feb 05, 2016 at 08:03:30PM +0900, Taeung Song wrote:
> > 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.
> 
> Nope, AFAICS the patch was not merged.  And I decided to change it to
> 0.05% but it' still not merged..

Yeah, you sent it as an RFC, I'm just giving it a bit more time for
comments to be made.

- Arnaldo

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/8] perf config: Document config variables in man page
  2016-02-05 13:39       ` Arnaldo Carvalho de Melo
@ 2016-02-05 13:42         ` Taeung Song
  2016-02-05 13:44         ` Namhyung Kim
  1 sibling, 0 replies; 24+ messages in thread
From: Taeung Song @ 2016-02-05 13:42 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, Namhyung Kim
  Cc: linux-kernel, Jiri Olsa, Ingo Molnar



On 02/05/2016 10:39 PM, Arnaldo Carvalho de Melo wrote:
> Em Fri, Feb 05, 2016 at 10:04:39PM +0900, Namhyung Kim escreveu:
>> Hi Taeung,
>>
>> On Fri, Feb 05, 2016 at 08:03:30PM +0900, Taeung Song wrote:
>>> 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.
>>
>> Nope, AFAICS the patch was not merged.  And I decided to change it to
>> 0.05% but it' still not merged..
>
> Yeah, you sent it as an RFC, I'm just giving it a bit more time for
> comments to be made.
>

Sorry, I'll wait for the result..

Thanks,
Taeung

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/8] perf config: Document config variables in man page
  2016-02-05 13:39       ` Arnaldo Carvalho de Melo
  2016-02-05 13:42         ` Taeung Song
@ 2016-02-05 13:44         ` Namhyung Kim
  1 sibling, 0 replies; 24+ messages in thread
From: Namhyung Kim @ 2016-02-05 13:44 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Taeung Song, linux-kernel, Jiri Olsa, Ingo Molnar

Hi Arnaldo,

On Fri, Feb 05, 2016 at 10:39:25AM -0300, Arnaldo Carvalho de Melo wrote:
> Em Fri, Feb 05, 2016 at 10:04:39PM +0900, Namhyung Kim escreveu:
> > Hi Taeung,
> > 
> > On Fri, Feb 05, 2016 at 08:03:30PM +0900, Taeung Song wrote:
> > > 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.
> > 
> > Nope, AFAICS the patch was not merged.  And I decided to change it to
> > 0.05% but it' still not merged..
> 
> Yeah, you sent it as an RFC, I'm just giving it a bit more time for
> comments to be made.

Yep, I'll wait for other's opinion.

Thanks,
Namhyung

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [tip:perf/core] perf config: Document 'ui.show-headers' variable in man page
  2016-02-04  9:25 ` [PATCH 1/8] perf config: Document 'ui.show-headers' variable " Taeung Song
@ 2016-02-09 12:10   ` tip-bot for Taeung Song
  0 siblings, 0 replies; 24+ messages in thread
From: tip-bot for Taeung Song @ 2016-02-09 12:10 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: hpa, linux-kernel, acme, jolsa, tglx, namhyung, mingo, treeze.taeung

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]

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [tip:perf/core] perf config: Document variables for 'call-graph' section in man page
  2016-02-04  9:25 ` [PATCH 2/8] perf config: Document variables for 'call-graph' section " Taeung Song
@ 2016-02-09 12:10   ` tip-bot for Taeung Song
  0 siblings, 0 replies; 24+ messages in thread
From: tip-bot for Taeung Song @ 2016-02-09 12:10 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: namhyung, linux-kernel, mingo, tglx, treeze.taeung, acme, jolsa, hpa

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]

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [tip:perf/core] perf config: Document variables for 'report' section in man page
  2016-02-04  9:25 ` [PATCH 3/8] perf config: Document variables for 'report' " Taeung Song
@ 2016-02-09 12:11   ` tip-bot for Taeung Song
  0 siblings, 0 replies; 24+ messages in thread
From: tip-bot for Taeung Song @ 2016-02-09 12:11 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: tglx, namhyung, linux-kernel, treeze.taeung, hpa, jolsa, acme, mingo

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]

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [tip:perf/core] perf config: Document 'top.children' variable in man page
  2016-02-04  9:25 ` [PATCH 4/8] perf config: Document 'top.children' variable " Taeung Song
@ 2016-02-09 12:11   ` tip-bot for Taeung Song
  0 siblings, 0 replies; 24+ messages in thread
From: tip-bot for Taeung Song @ 2016-02-09 12:11 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: treeze.taeung, acme, linux-kernel, mingo, jolsa, namhyung, hpa, tglx

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]

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [tip:perf/core] perf config: Document 'man.viewer' variable in man page
  2016-02-04  9:25 ` [PATCH 5/8] perf config: Document 'man.viewer' " Taeung Song
@ 2016-02-09 12:12   ` tip-bot for Taeung Song
  0 siblings, 0 replies; 24+ messages in thread
From: tip-bot for Taeung Song @ 2016-02-09 12:12 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: namhyung, tglx, treeze.taeung, mingo, acme, jolsa, linux-kernel, hpa

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]

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [tip:perf/core] perf config: Document 'pager.<subcommand>' variables in man page
  2016-02-04  9:25 ` [PATCH 6/8] perf config: Document 'pager.<subcommand>' variables " Taeung Song
@ 2016-02-09 12:12   ` tip-bot for Taeung Song
  0 siblings, 0 replies; 24+ messages in thread
From: tip-bot for Taeung Song @ 2016-02-09 12:12 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: acme, hpa, treeze.taeung, tglx, jolsa, namhyung, mingo, linux-kernel

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]

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [tip:perf/core] perf config: Document 'kmem.default' variable in man page
  2016-02-04  9:25 ` [PATCH 7/8] perf config: Document 'kmem.default' variable " Taeung Song
@ 2016-02-09 12:12   ` tip-bot for Taeung Song
  0 siblings, 0 replies; 24+ messages in thread
From: tip-bot for Taeung Song @ 2016-02-09 12:12 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: hpa, linux-kernel, jolsa, mingo, tglx, acme, namhyung, treeze.taeung

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]

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [tip:perf/core] perf config: Document 'record.build-id' variable in man page
  2016-02-04  9:25 ` [PATCH 8/8] perf config: Document 'record.build-id' " Taeung Song
@ 2016-02-09 12:13   ` tip-bot for Taeung Song
  0 siblings, 0 replies; 24+ messages in thread
From: tip-bot for Taeung Song @ 2016-02-09 12:13 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: hpa, acme, tglx, namhyung, treeze.taeung, jolsa, linux-kernel, mingo

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]

^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2016-02-09 12:13 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-04  9:25 [PATCH 0/8] perf config: Document config variables in man page Taeung Song
2016-02-04  9:25 ` [PATCH 1/8] perf config: Document 'ui.show-headers' variable " Taeung Song
2016-02-09 12:10   ` [tip:perf/core] " tip-bot for Taeung Song
2016-02-04  9:25 ` [PATCH 2/8] perf config: Document variables for 'call-graph' section " Taeung Song
2016-02-09 12:10   ` [tip:perf/core] " tip-bot for Taeung Song
2016-02-04  9:25 ` [PATCH 3/8] perf config: Document variables for 'report' " Taeung Song
2016-02-09 12:11   ` [tip:perf/core] " tip-bot for Taeung Song
2016-02-04  9:25 ` [PATCH 4/8] perf config: Document 'top.children' variable " Taeung Song
2016-02-09 12:11   ` [tip:perf/core] " tip-bot for Taeung Song
2016-02-04  9:25 ` [PATCH 5/8] perf config: Document 'man.viewer' " Taeung Song
2016-02-09 12:12   ` [tip:perf/core] " tip-bot for Taeung Song
2016-02-04  9:25 ` [PATCH 6/8] perf config: Document 'pager.<subcommand>' variables " Taeung Song
2016-02-09 12:12   ` [tip:perf/core] " tip-bot for Taeung Song
2016-02-04  9:25 ` [PATCH 7/8] perf config: Document 'kmem.default' variable " Taeung Song
2016-02-09 12:12   ` [tip:perf/core] " tip-bot for Taeung Song
2016-02-04  9:25 ` [PATCH 8/8] perf config: Document 'record.build-id' " Taeung Song
2016-02-09 12:13   ` [tip:perf/core] " tip-bot for Taeung Song
2016-02-04 14:49 ` [PATCH 0/8] perf config: Document config variables " Arnaldo Carvalho de Melo
2016-02-05 10:41   ` Taeung Song
2016-02-05 11:03   ` Taeung Song
2016-02-05 13:04     ` Namhyung Kim
2016-02-05 13:39       ` Arnaldo Carvalho de Melo
2016-02-05 13:42         ` Taeung Song
2016-02-05 13:44         ` Namhyung Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.