trace-cmd-clear(1)

trace-cmd-clear1

Clear the ftrace buffer.

Usage

trace-cmd clear [OPTIONS]

Overview

The trace-cmd(1) clear clears the content of the Ftrace ring buffer.

Options

-B buffer-name

If the kernel supports multiple buffers, this will clear only the given buffer. It does not affect any other buffers. This may be used multiple times to specify different buffers. The top level buffer will not be clearded if this option is given.

-a

Clear all existing buffers, including the top level one.

Resources

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

Notes

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

-B since Debian 12 (Bookworm); -a since Debian 12 (Bookworm).

Author

Steven Rostedt <[email protected][1]>, author of trace-cmd.
Tzvetomir Stoyanov <[email protected][2]>, author of this man page.

Reporting bugs

Report bugs to <[email protected][3]>

License

trace-cmd is Free Software licensed under the terms of the GNU Public License (GPL).

From trace-cmd 3.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.