trace-cmd-hist(1) — Linux manual page


TRACE-CMD-HIST(1)                                      TRACE-CMD-HIST(1)

NAME         top

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

SYNOPSIS         top

       trace-cmd hist [OPTIONS][input-file]

DESCRIPTION         top

       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         top

       -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.

           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         top

       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         top

       Written by Steven Rostedt, <[1]>

RESOURCES         top


COPYING         top

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

NOTES         top


COLOPHON         top

       This page is part of the trace-cmd (a front-end for Ftrace)
       project.  Information about the project can be found at [unknown
       -- if you know, please contact] If you have a
       bug report for this manual page, send it to Steven Rostedt
       <>.  This page was obtained from the project's
       upstream Git repository
       on 2021-08-27.  (At that time, the date of the most recent commit
       that was found in the repository was 2021-08-20.)  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better or more up-to-date source for
       the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to

                               05/27/2020              TRACE-CMD-HIST(1)

Pages that refer to this page: trace-cmd(1)trace-cmd-mem(1)