浏览代码

perf config: Show default report configuration in example and docs

Signed-off-by: Milian Wolff <milian.wolff@kdab.com>
LPU-Reference: 20160830134106.21240-2-milian.wolff@kdab.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Milian Wolff 9 年之前
父节点
当前提交
893c5c798b
共有 2 个文件被更改,包括 17 次插入0 次删除
  1. 8 0
      tools/perf/Documentation/perf-config.txt
  2. 9 0
      tools/perf/Documentation/perfconfig.example

+ 8 - 0
tools/perf/Documentation/perf-config.txt

@@ -110,6 +110,14 @@ Given a $HOME/.perfconfig like this:
 		order = caller
 		sort-key = function
 
+	[report]
+		# Defaults
+		sort-order = comm,dso,symbol
+		percent-limit = 0
+		queue-size = 0
+		children = true
+		group = true
+
 Variables
 ~~~~~~~~~
 

+ 9 - 0
tools/perf/Documentation/perfconfig.example

@@ -27,3 +27,12 @@
 	use_offset = true
 	jump_arrows = true
 	show_nr_jumps = false
+
+[report]
+
+	# Defaults
+	sort-order = comm,dso,symbol
+	percent-limit = 0
+	queue-size = 0
+	children = true
+	group = true