TRACE-CMD-LIST(1)
โจ trace-cmd-list โจ (that's the TRACE-CMD-LIST(1) page, bestie, from the libtracefs manual ๐)
Okay so picture this: you just wanna know what your machine's ftrace setup is actually giving, right? That's literally this whole command. ๐ซถ
๐ธ SYNOPSIS ๐ธ
trace-cmd list [OPTIONS]
๐ DESCRIPTION ๐
trace-cmd(1) list shows you the available plugins, events, or Ftrace options that are configured on the machine you're sitting at right now. No cap.
And here's the cute part โ if you give it no option at all, it just dumps everything to standard output: all plugins, event systems, events, and Ftrace options. The whole buffet. ๐
๐ OPTIONS ๐
-e[regex] โ lists the available events that are enabled on the local system. It takes an optional argument that usesregcomp(3)expressions to search. Obsessed with a good regex, ngl:
trace-cmd list -e '^sys.*'
-Fโ used with-eregex to show the fields of the event. ๐--fullโ used with-F, and it shows the"print fmt"of the event along with the fields. The full lore, basically.-lโ used with-eregex to show those events filters.-Rโ used with-eregex to show those events triggers.-sโ lists the available event systems. โจ-tโ lists the available tracers that are enabled on the local system.-pโ same as-t, and it's only there for legacy purposes. Vintage, iconic, but likeโฆ just use-t. ๐-oโ lists the available Ftrace options that are configured on the local system.-f[regex] โ lists the available filter functions. These are the list of functions on the system that you can trace, or filter on. It takes an optional argument that usesregcomp(3)expressions to search. Like so:
trace-cmd list -f '^sched.*'
If --proto is also added to the command line, the functions will also have show their prototypes if BTF is available. ๐ฆ
--protoโ if BTF is available on the running kernel, it will also show the function parameters with-f. Big fan.-Pโ lists the plugin files that get loaded ontrace-cmd report.-Oโ lists plugin options that can be used by thetrace-cmd report -Ooption.-Bโ lists defined buffer instances (sub buffers). ๐-Cโ lists defined clocks that can be used withtrace-cmd record -C. The one in brackets ([]) is the active clock โ that's your main character right there. ๐-cโ lists the available trace file compression algorithms.
๐ฆ 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) โ go read the whole friend group, fr fr.
๐ AUTHOR ๐
Written by Steven Rostedt, <rostedt@goodmis.org[1]> ๐ซถ
๐ธ 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
Okay that's the whole page, you ate that ๐ This waslibtracefs, dated03/09/2026โ and no, I'm not copying the footer line, I'm giving it a cute little send-off instead. Slay. ๐โจ
๐ฆ 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