[lkml]   [2013]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH 8/8] perf sched : Add documentation for timehist options
Add entry to perf-sched documentation for timehist command and its

Signed-off-by: David Ahern <>
Cc: Ingo Molnar <>
Cc: Frederic Weisbecker <>
Cc: Peter Zijlstra <>
Cc: Mike Galbraith <>
Cc: Jiri Olsa <>
Cc: Namhyung Kim <>
Cc: Stephane Eranian <>
Cc: Pekka Enberg <>
tools/perf/Documentation/perf-sched.txt | 60 ++++++++++++++++++++++++++++++++-
1 file changed, 59 insertions(+), 1 deletion(-)

diff --git a/tools/perf/Documentation/perf-sched.txt b/tools/perf/Documentation/perf-sched.txt
index 8ff4df956951..83fac8b86f52 100644
--- a/tools/perf/Documentation/perf-sched.txt
+++ b/tools/perf/Documentation/perf-sched.txt
@@ -8,7 +8,7 @@ perf-sched - Tool to trace/measure scheduler properties (latencies)
-'perf sched' {record|latency|map|replay|script}
+'perf sched' {record|latency|map|replay|script|timehist}

@@ -36,6 +36,11 @@ There are five variants of perf sched:
are running on a CPU. A '*' denotes the CPU that had the event, and
a dot signals an idle CPU.

+ 'perf sched timehist' to show context-switching analysis with times
+ between schedule-in, schedule delay, and run time. If callchains are
+ present stack trace is dumped at the end of the line. A summary of
+ run times can be shown as well.
@@ -50,6 +55,59 @@ OPTIONS
Display verbose dump of the sched data.

+ vmlinux pathname
+ kallsyms pathname
+ Show only a summary of scheduling by thread with min, max, and average
+ run times (in sec) and relative stddev.
+ Show all scheduling events followed by a summary by thread with min,
+ max, and average run times (in sec) and relative stddev.
+ Show wakeup events.
+ Only show events for given comms (comma separated list)
+ Only show events for given process ID (comma separated list).
+ Only show events for given thread ID (comma separated list).
+ Display call chains. Default is on. Use --no-call-graph to suppress
+ Set the stack depth limit when showing the callchains. Default: 127
+ Symbols to skip in backtrace. Useful to compact repetitive or
+ uninteresting frames to pull more useful frames into view.
+ Look for files with symbols relative to this directory.
+ Add a visual for following events by cpu
-- (Apple Git-47)

 \ /
  Last update: 2013-11-19 01:01    [W:0.166 / U:11.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site