trace-cmd-list - Man Page

list available plugins, events or options for Ftrace​.

Examples (TL;DR)

Synopsis

trace-cmd list [Options]

Description

The trace-cmd(1) list displays the available plugins, events or Ftrace options that are configured on the current machine​. If no option is given, then it lists all plugins, event systems, events and Ftrace options to standard output​.

Options

-e [regex]

This option will list the available events that are enabled on the local system​.

It takes an optional argument that uses 'regcomp(3)' expressions to seach​.
trace-cmd list -e '^sys​.*'
-F

Used with -e regex to show the fields of the event​.

--full

Used with -F which will show the "print fmt" of the event along with the fields​.

-l

Used with -e regex to show those events filters​.

-R

Used with -e regex to show those events triggers​.

-s

This option will list the available event systems​.

-t

This option will list the available tracers that are enabled on the local system​.

-p

Same as -t and only for legacy purposes​.

-o

This option will list the available Ftrace options that are configured on the local system​.

-f [regex]

This option will list 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 uses regcomp(3) expressions to seach​.

trace-cmd list -f '^sched​.*'
-P

List the plugin files that get loaded on trace-cmd report​.

-O

List plugin options that can be used by trace-cmd report -O option​.

-B

List defined buffer instances (sub buffers)​.

-C

List defined clocks that can be used with trace-cmd record -C​. The one in brackets ([]) is the active clock​.

-c

List 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)

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

1.

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

Referenced By

trace-cmd(1), trace-cmd-agent(1), trace-cmd-attach(1), trace-cmd-check-events(1), trace-cmd-clear(1), trace-cmd.dat.v6(5), trace-cmd.dat.v7(5), trace-cmd-extract(1), trace-cmd-listen(1), trace-cmd-options(1), trace-cmd-profile(1), trace-cmd-record(1), trace-cmd-report(1), trace-cmd-reset(1), trace-cmd-restore(1), trace-cmd-set(1), trace-cmd-show(1), trace-cmd-snapshot(1), trace-cmd-split(1), trace-cmd-stack(1), trace-cmd-start(1), trace-cmd-stop(1), trace-cmd-stream(1).

07/28/2026 libtracefs Manual