]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.9.170/perf-config-fix-an-error-in-the-config-template-docu.patch
Linux 4.9.170
[thirdparty/kernel/stable-queue.git] / releases / 4.9.170 / perf-config-fix-an-error-in-the-config-template-docu.patch
1 From 5a5ac05fd845e69608b30fcb6a972d1ecf70b249 Mon Sep 17 00:00:00 2001
2 From: Changbin Du <changbin.du@gmail.com>
3 Date: Sat, 16 Mar 2019 16:05:44 +0800
4 Subject: perf config: Fix an error in the config template documentation
5
6 [ Upstream commit 9b40dff7ba3caaf0d1919f98e136fa3400bd34aa ]
7
8 The option 'sort-order' should be 'sort_order'.
9
10 Signed-off-by: Changbin Du <changbin.du@gmail.com>
11 Reviewed-by: Jiri Olsa <jolsa@kernel.org>
12 Cc: Alexei Starovoitov <ast@kernel.org>
13 Cc: Daniel Borkmann <daniel@iogearbox.net>
14 Cc: Milian Wolff <milian.wolff@kdab.com>
15 Cc: Namhyung Kim <namhyung@kernel.org>
16 Cc: Peter Zijlstra <peterz@infradead.org>
17 Cc: Steven Rostedt (VMware) <rostedt@goodmis.org>
18 Fixes: 893c5c798be9 ("perf config: Show default report configuration in example and docs")
19 Link: http://lkml.kernel.org/r/20190316080556.3075-5-changbin.du@gmail.com
20 Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
21 Signed-off-by: Sasha Levin <sashal@kernel.org>
22 ---
23 tools/perf/Documentation/perf-config.txt | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-)
25
26 diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
27 index cb081ac59fd1..bd359a04cb94 100644
28 --- a/tools/perf/Documentation/perf-config.txt
29 +++ b/tools/perf/Documentation/perf-config.txt
30 @@ -112,7 +112,7 @@ Given a $HOME/.perfconfig like this:
31
32 [report]
33 # Defaults
34 - sort-order = comm,dso,symbol
35 + sort_order = comm,dso,symbol
36 percent-limit = 0
37 queue-size = 0
38 children = true
39 --
40 2.19.1
41