TRACE-CMD-STAT(1)

โœจ TRACE-CMD-STAT(1) โœจ

okay bestie, so this is a page from the libtracefs manual and it's literally about trace-cmd stat โ€” the glow-up your terminal needs when you wanna know what's going on in your tracing (ftrace) system. it's giving "diagnostic checkup" energy and honestly? iconic. ๐Ÿฉบ๐Ÿ’…


๐ŸŒธ NAME ๐ŸŒธ

trace-cmd-stat โ€” show the status of the tracing (ftrace) system


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

trace-cmd stat [OPTIONS]

๐Ÿ’– DESCRIPTION ๐Ÿ’–

trace-cmd(1) stat is your little status reporter bestie โ€” it displays the various status of the tracing (ftrace) system. the way it just spills all the tea about what's configured ๐Ÿ˜ญ here's everything it shows:

  • Instances โ€” lists all configured ftrace instances.
  • Tracer โ€” shows up if one of the tracers (like function_graph) is active. otherwise, literally nothing is displayed. silent treatment fr.
  • Events โ€” lists the events that are enable.
  • Event filters โ€” shows any filters that are set for any events.
  • Function filters โ€” shows any filters for the function tracers.
  • Graph functions โ€” shows any functions that the function graph tracer should graph.
  • Buffers โ€” shows the trace buffer size if they have been expanded. by default, tracing buffers are in a compressed format until they are used. if they are compressed, the buffer display will not be shown. so if you don't see it, that's why, no cap. ๐Ÿซถ
  • Trace clock โ€” if the tracing clock is anything other than the default "local" it will be displayed.
  • Trace CPU mask โ€” if not all available CPUs are in the tracing CPU mask, then the tracing CPU mask will be displayed.
  • Trace max latency โ€” shows the value of the trace max latency if it is other than zero.
  • Kprobes โ€” shows any kprobes that are defined for tracing.
  • Uprobes โ€” shows any uprobes that are defined for tracing.
  • Error log โ€” dumps the content of the ftrace error_log file. uh oh bestie, something went off ๐Ÿ™ˆ

โœจ OPTIONS โœจ

  • -B buffer-name โ€” display the status of a given buffer instance. lowkey you can specify it more than once to display the status of multiple instances ๐Ÿ‘‘
  • -t โ€” if -B is also specified, show the status of the top level tracing directory as well as the instance(s).
  • -o โ€” display the all the options along with their values. if they start with "no", then the option is disabled. (so noyourvibe = off, got it ๐Ÿ’€)

๐Ÿ’œ 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)

like a whole friend group of manpages fr fr ๐Ÿซถ


๐ŸŽ€ AUTHOR ๐ŸŽ€

Written by Steven Rostedt, <rostedt@goodmis.org[1]> โ€” the main character of tracing, we stan ๐Ÿ’…


๐ŸŒˆ RESOURCES ๐ŸŒˆ

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

go check the repo bestie, it's right there โœจ


๐Ÿ‘‘ COPYING ๐Ÿ‘‘

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


๐Ÿ“ NOTES ๐Ÿ“

  1. rostedt@goodmis.org mailto:rostedt@goodmis.org

okay that's the whole page, you ate that ๐Ÿงš and for the cute sign-off: this lil beauty comes from libtracefs, dated 03/09/2026 โ€” bookmark it, screenshot it, put it on your fridge, idc. bye bestie, go stat something ๐Ÿ’–โœจ๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from