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 ๐
-Bbuffer-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 ๐
rostedt@goodmis.orgโmailto:rostedt@goodmis.orgtz.stoyanov@gmail.comโmailto:tz.stoyanov@gmail.comlinux-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
- 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