TRACE-CMD-START(1)
โจ TRACE-CMD-START โจ (that's the trace-cmd-start page from the libtracefs manual, bestie ๐)
okay so picture this: you're in the libtracefs section 1 of the manual, and this is the page that tells you how to turn the Ftrace Linux kernel tracer ON without recording anything. it's giving "lights on, camera not rolling" and honestly? iconic ๐
๐ธ SYNOPSIS ๐ธ
trace-cmd start [OPTIONS]
yes that's it. that's the whole invocation. trace-cmd start plus whatever [OPTIONS] you feel like, and you're off ๐ฆ
๐ DESCRIPTION ๐
so trace-cmd(1) start enables all the Ftrace tracing, and it does it the exact same way trace-cmd-record(1) does. same vibes, same tracing setup, no notes.
the difference โ and this is the main character detail โ is that it does not run threads to create a trace.dat file. nope, none of that. it's just here to flip the tracing on.
and like, when is that useful? when you literally only want to enable Ftrace, and you're only interested in the trace after some event has occurred and the trace has been stopped. that's the moment. then you can read the trace straight from the Ftrace pseudo file system, OR pull it out with trace-cmd-extract(1). both are valid, both slay ๐ซถ
โญ OPTIONS โญ
k so the options are the same as trace-cmd-record(1), except that this one does not take options specific to recording. that means no -s, no -o, no -N, and no -t. those four? not invited to this party ๐
--forkโ this option is only available fortrace-cmd start(it's special, it's exclusive, it's that girl ๐ ). it tells trace-cmd to not wait for the process to finish before returning. with this option,trace-cmd startwill return right after it forks the process on the command line. heads up though: this option only has an effect iftrace-cmd startalso executes a command. no command, no effect. that's the rule ๐ฅ
๐ฆ SEE ALSO ๐ฆ
the whole friend group, fr fr โ go read these too:
trace-cmd(1)trace-cmd-record(1)trace-cmd-report(1)trace-cmd-stop(1)trace-cmd-extract(1)trace-cmd-reset(1)trace-cmd-split(1)trace-cmd-list(1)trace-cmd-listen(1)
๐ AUTHOR ๐
written by Steven Rostedt, <rostedt@goodmis.org[1]> โ absolute legend, we stan ๐
๐ RESOURCES ๐
the repo link, copy it exactly bestie:
https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/
๐ COPYING ๐
Copyright (C) 2010 Red Hat, Inc.
free use of this software is granted under the terms of the GNU Public License (GPL). periodt. โญ
๐ NOTES ๐
rostedt@goodmis.orgmailto:rostedt@goodmis.org
like, both of those. the email AND the mailto. we don't skip entries here ๐
okay and the cute little sign-off at the bottom of the page: this came from libtracefs, dated 03/09/2026, and it's the TRACE-CMD-START(1) page. go forth and start your tracing, bestie โ you're gonna ate ๐โจ๐ง
๐ฆ 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