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 for trace-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 start will return right after it forks the process on the command line. heads up though: this option only has an effect if trace-cmd start also executes a command. no command, no effect. that's the rule ๐Ÿ”ฅ

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

the whole friend group, fr fr โ€” go read these too:


๐Ÿ‘‘ 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 ๐Ÿ’€

  1. rostedt@goodmis.org mailto: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