TRACE-CMD-CLEAR(1)

๐Ÿ’… TRACE-CMD-CLEAR(1) ๐Ÿ’…

ok so this is a page out of the libtracefs manual, and it's literally the "girl, just wipe the buffer" page. yes bestie, sometimes the most iconic thing you can do is delete everything. ๐Ÿงนโœจ


๐ŸŒธ NAME ๐ŸŒธ

trace-cmd-clear โ€” clear the Ftrace buffer. that's it. that's the whole job. no cap.


โœจ SYNOPSIS โœจ

trace-cmd clear [OPTIONS]

like, that's the whole invocation. so simple. so clean. we love a low-effort king. ๐Ÿ‘‘


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

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

fr fr that's it. the ring buffer? emptied. the tracy little leftovers? gone. it's giving factory reset but make it a single command. main character energy honestly. ๐Ÿ’–


๐ŸŽ€ OPTIONS ๐ŸŽ€

  • -B buffer-name โ€” if your kernel supports multiple buffers, this clears only the buffer you named. it does not touch any other buffers, so the other ones stay unbothered and thriving. ๐Ÿซถ you can pass this multiple times to specify different buffers, and heads up: the top level buffer will not be cleared if this option is given. so pick a lane, bestie.
  • -a โ€” clear all existing buffers, including the top level one. the full send option. the everything shower of buffer clearing. ๐Ÿ”ฅ

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

the whole squad, obviously:

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)

go read them. iykyk. ๐Ÿ“š


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

  • Steven Rostedt <rostedt@goodmis.org> โ€” author of trace-cmd. the OG. the blueprint.
  • Tzvetomir Stoyanov <tz.stoyanov@gmail.com> โ€” author of this man page. thank u for ur service. ๐Ÿซก

๐Ÿ’€ REPORTING BUGS ๐Ÿ’€

found a bug? don't suffer in silence, bestie. report it to <linux-trace-devel@vger.kernel.org> โ€” they literally want to hear about it. ๐Ÿ™ˆ


โญ LICENSE โญ

trace-cmd is Free Software, licensed under the terms of the GNU Public License (GPL). free as in freedom, iconic as in iconic. ๐Ÿ’œ


๐Ÿงš RESOURCES ๐Ÿงš

the repo, the lore, the whole vibe:

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

ok that's the page!! this drop is from libtracefs, dated 03/09/2026, and honestly? slayed. clear ur buffers, hydrate, and stan trace-cmd clear. periodt. ๐Ÿ’…โœจ๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from