TRACE-CMD-STREAM(1)
๐ TRACE-CMD-STREAM(1) โ the libtracefs girlies' guide ๐
okay so bestie, welcome to trace-cmd-stream, straight out of the libtracefs manual, and honestly? it's giving live-trace realness. let's get into it ๐ซถ
โจ SYNOPSIS โจ
trace-cmd stream [OPTIONS] [command]
that's it. that's the whole vibe check. [OPTIONS] and an optional [command], and you're off ๐ฆ
๐ DESCRIPTION ๐
okay so trace-cmd(1) with the stream subcommand starts tracing exactly like trace-cmd-record(1) does โ same energy, same setup โ except it does not record to a file. nope! instead it reads the binary buffer as it is happening, converts it to a human readable format, and writes it to stdout. live. in real time. no cap ๐
lowkey this is basically the same as running trace-cmd-start(1) and then doing a trace-cmd-show(1) with the -p option. like, same result, different path. iykyk.
now, real talk: trace-cmd-stream is not as efficient as reading from the pipe file, because most of the stream work is done in userspace. it's literally doing the heavy lifting itself instead of letting the kernel handle it ๐ญ key point though โ that's exactly why it's useful: if you need to do the work mostly in userspace instead of the kernel, this is your girl. slay ๐
and plot twist โ stream also helps to debug trace-cmd-profile(1), which uses the stream code to perform the live data analysis for the profile. so it's not just a pretty face โจ
๐ธ OPTIONS ๐ธ
- the options here are the same as
trace-cmd-record(1), with one exception: it does not take the-ooption. that's the whole tea. no-o, periodt ๐
honestly this section is short and i respect that. the rest of the flags live over in trace-cmd-record(1) โ go say hi ๐
๐ฅ SEE ALSO ๐ฅ
trace-cmd(1)trace-cmd-record(1)trace-cmd-report(1)trace-cmd-start(1)trace-cmd-stop(1)trace-cmd-reset(1)trace-cmd-split(1)trace-cmd-list(1)trace-cmd-listen(1)
the whole squad, fr fr ๐
๐ AUTHOR ๐
written by Steven Rostedt, <rostedt@goodmis.org[1]> โ icon behavior, we stan ๐
๐ฆ RESOURCES ๐ฆ
https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/
go look, bestie, the source is right there ๐
๐ COPYING ๐
Copyright (C) 2014 Red Hat, Inc. free use of this software is granted under the terms of the GNU Public License (GPL). so yes, free, but read the license, it's not a suggestion โจ
๐ NOTES ๐
rostedt@goodmis.orgmailto:rostedt@goodmis.org
like, literally the same email, just clickable. that's the note. ๐
aaaand that's the page!! this one's from libtracefs, dated 03/09/2026, and it's a whole TRACE-CMD-STREAM(1) moment. happy streaming, bestie โ may your buffers be binary and your stdout be gorgeous ๐โจ๐๐ฆ๐ธ๐
๐ซถ
๐ฆ 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