TRACE-CMD-HIST(1)
โจ TRACE-CMD-HIST(1) โจ
okay bestie so this is a page from the libtracefs Manual, and it's about trace-cmd-hist โ the histogram era of your trace life ๐
๐ธ NAME ๐ธ
trace-cmd-hist โ show histogram of events in trace.dat file
๐ฆ SYNOPSIS ๐ฆ
trace-cmd hist [OPTIONS][input-file]
๐ DESCRIPTION ๐
So trace-cmd(1) hist (yep, it's a subcommand of trace-cmd(1), iykyk) literally displays a histogram form from the trace.dat file. Instead of showing you the events in the order they happened like some chronological basic b*tch, it builds 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. It's giving main character energy for your event counts, fr fr.
๐ OPTIONS ๐
-iinput-file โ by default,trace-cmd histreads the filetrace.dat. But the-ioption opens up the given input-file instead ๐ซ. Note: the input file may also be specified as the last item on the command line. (Two ways to say the same thing, we love options.)-Pโ want to compact all events and show the call graphs by ignoring tasks and different PIDs? Add the-Pand it does exactly that ๐ซถ. Instead of showing the task name, it groups all chains together and shows<all pids>. Iconic behavior honestly.
๐ 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)
(the whole squad, no cap ๐)
๐ AUTHOR ๐
Written by Steven Rostedt, <rostedt@goodmis.org[1]> โ shoutout to the legend himself ๐
๐ง 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).
๐ NOTES ๐
rostedt@goodmis.orgmailto:rostedt@goodmis.org
ok that's the whole page, nothing skipped, everything intact โ the vibes are new but the facts are untouchable ๐
and that's a wrap, bestie ๐ this gorgeous little page comes to you from libtracefs, dated 03/09/2026, and it's filed under TRACE-CMD-HIST(1) โ periodt โจ๐ฆ
๐ฆ where this page comes from
- arch rolling: trace-cmd 3.4-1 ยท GPL-2.0-only AND LGPL-2.1-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms