summaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation/perf-config.txt
diff options
context:
space:
mode:
authorPaul A. Clarke <pc@us.ibm.com>2020-05-20 18:23:35 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-05-28 15:03:27 +0200
commitd778a778a816cc9c910ac50dd665566b841df5f0 (patch)
treeea61a6be1b2fd318d9bc298d6d7af4b6e5602aa5 /tools/perf/Documentation/perf-config.txt
parentperf bpf-loader: Add missing '*' for key_scan_pos (diff)
downloadlinux-d778a778a816cc9c910ac50dd665566b841df5f0.tar.xz
linux-d778a778a816cc9c910ac50dd665566b841df5f0.zip
perf config: Add stat.big-num support
Add support for new "stat.big-num" boolean option. This allows a user to set a default for "--no-big-num" for "perf stat" commands. -- $ perf config stat.big-num $ perf stat --event cycles /bin/true Performance counter stats for '/bin/true': 778,849 cycles [...] $ perf config stat.big-num=false $ perf config stat.big-num stat.big-num=false $ perf stat --event cycles /bin/true Performance counter stats for '/bin/true': 769622 cycles [...] -- There is an interaction with "--field-separator" that must be accommodated, such that specifying "--big-num --field-separator={x}" still reports an invalid combination of options. Documentation for perf-config and perf-stat updated. Signed-off-by: Paul Clarke <pc@us.ibm.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Link: http://lore.kernel.org/lkml/1589991815-17951-1-git-send-email-pc@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/perf-config.txt')
-rw-r--r--tools/perf/Documentation/perf-config.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index f16d8a71d3f5..c7d3df5798e2 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -667,6 +667,11 @@ convert.*::
Limit the size of ordered_events queue, so we could control
allocation size of perf data files without proper finished
round events.
+stat.*::
+
+ stat.big-num::
+ (boolean) Change the default for "--big-num". To make
+ "--no-big-num" the default, set "stat.big-num=false".
intel-pt.*::