trace-cmd-clear - Man Page

clear the Ftrace buffer​.

Synopsis

trace-cmd clear [Options]

Description

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​.

See Also

trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1), trace-cmd-start(1), trace-cmd-extract(1), trace-cmd-reset(1), trace-cmd-split(1), trace-cmd-list(1), trace-cmd-listen(1)

Author

Steven Rostedt <rostedt@goodmis​.org​[1]>, author of trace-cmd​.
Tzvetomir Stoyanov <tz​.stoyanov@gmail​.com​[2]>, author of this man page​.

Reporting Bugs

Report bugs to <linux-trace-devel@vger​.kernel​.org​[3]>

License

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

Resources

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

Notes

  1. rostedt@goodmis.org
    mailto:rostedt@goodmis.org
  2. tz.stoyanov@gmail.com
    mailto:tz.stoyanov@gmail.com
  3. linux-trace-devel@vger.kernel.org
    mailto:linux-trace-devel@vger.kernel.org

Info

10/02/2026 libtracefs Manual