1TRACE-CMD-HIST(1) TRACE-CMD-HIST(1)
2
3
4
6 trace-cmd-hist - show histogram of events in trace.dat file
7
9 trace-cmd hist [OPTIONS][input-file]
10
12 The trace-cmd(1) hist displays a histogram form from the trace.dat
13 file. Instead of showing the events as they were ordered, it creates a
14 histogram that can be displayed per task or for all tasks where the
15 most common events appear first. It uses the function tracer and call
16 stacks that it finds to try to put together a call graph of the events.
17
19 -i input-file
20 By default, trace-cmd hist will read the file trace.dat. But the -i
21 option open up the given input-file instead. Note, the input file
22 may also be specified as the last item on the command line.
23
24 -P
25 To compact all events and show the call graphs by ignoring tasks
26 and different PIDs, add the -P to do so. Instead of showing the
27 task name, it will group all chains together and show "<all pids>".
28
30 trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1),
31 trace-cmd-start(1), trace-cmd-stop(1), trace-cmd-extract(1),
32 trace-cmd-reset(1), trace-cmd-split(1), trace-cmd-listen(1)
33
35 Written by Steven Rostedt, <rostedt@goodmis.org[1]>
36
38 git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git
39
41 Copyright (C) 2010 Red Hat, Inc. Free use of this software is granted
42 under the terms of the GNU Public License (GPL).
43
45 1. rostedt@goodmis.org
46 mailto:rostedt@goodmis.org
47
48
49
50 12/02/2020 TRACE-CMD-HIST(1)