[tip:perf/urgent] perf sched: Fix documentation for timehist

From: tip-bot for Takuya Yamamoto
Date: Mon Apr 16 2018 - 02:47:06 EST


Commit-ID: e8103e44cebe2ef891bc3a5c6c4b74854846968b
Gitweb: https://git.kernel.org/tip/e8103e44cebe2ef891bc3a5c6c4b74854846968b
Author: Takuya Yamamoto <tkydevel@xxxxxxxxx>
AuthorDate: Tue, 10 Apr 2018 23:35:39 +0900
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitDate: Thu, 12 Apr 2018 10:33:36 -0300

perf sched: Fix documentation for timehist

Fixed a incorrect option and usage to those shown by "perf sched timehist -h",
i.e. the default is really --call-graph, which is equivalent to -g.

Signed-off-by: Takuya Yamamoto <tkydevel@xxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Link: https://lkml.kernel.org/n/tip-8fzo0dlsi1mku5aqx8brep5s@xxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/Documentation/perf-sched.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/Documentation/perf-sched.txt b/tools/perf/Documentation/perf-sched.txt
index bb33601a823b..63f938b887dd 100644
--- a/tools/perf/Documentation/perf-sched.txt
+++ b/tools/perf/Documentation/perf-sched.txt
@@ -104,8 +104,8 @@ OPTIONS for 'perf sched timehist'
kallsyms pathname

-g::
---no-call-graph::
- Do not display call chains if present.
+--call-graph::
+ Display call chains if present (default on).

--max-stack::
Maximum number of functions to display in backtrace, default 5.