aboutsummaryrefslogtreecommitdiff
path: root/Documentation/trace-cmd/trace-cmd-hist.1.txt
blob: 169f8d7b637659fd1aebc3db2d874cbee6d15e6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
TRACE-CMD-HIST(1)
=================

NAME
----
trace-cmd-hist - show histogram of events in trace.dat file

SYNOPSIS
--------
*trace-cmd hist* ['OPTIONS']['input-file']

DESCRIPTION
-----------
The trace-cmd(1) hist displays a histogram form from the trace.dat file.
Instead of showing the events as they were ordered, it creates a histogram
that can be displayed per task or for all tasks where the most common
events appear first. It uses the function tracer and call stacks that it
finds to try to put together a call graph of the events.

OPTIONS
-------
*-i* 'input-file'::
    By default, trace-cmd hist will read the file 'trace.dat'. But the *-i*
    option open up the given 'input-file' instead. Note, the input file may
    also be specified as the last item on the command line.

*-P*::
    To compact all events and show the call graphs by ignoring tasks
    and different PIDs, add the *-P* to do so. Instead of showing the
    task name, it will group all chains together and show "<all pids>".

SEE ALSO
--------
trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1), trace-cmd-start(1),
trace-cmd-stop(1), trace-cmd-extract(1), trace-cmd-reset(1),
trace-cmd-split(1), trace-cmd-listen(1)

AUTHOR
------
Written by Steven Rostedt, <rostedt@goodmis.org>

RESOURCES
---------
https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/

COPYING
-------
Copyright \(C) 2010 Red Hat, Inc. Free use of this software is granted under
the terms of the GNU Public License (GPL).