Section: [FIXME: manual] (1)
trace-cmd-extract - extract out the data from the Ftrace Linux tracer.
trace-cmd extract [OPTIONS]
The trace-cmd(1) extract is usually used after trace-cmd-start(1) and trace-cmd-stop(1). It can be used after the Ftrace tracer has been started manually through the Ftrace pseudo file system.
The extract command creates a trace.dat file that can be used by trace-cmd-report(1) to read from. It reads the kernel internal ring buffer to produce the trace.dat file.
- Althoughextractdoes not start any traces, some of the plugins require just reading the output in ASCII format. These are the latency tracers, since the latency tracers have a separate internal buffer. The plugin option is therefore only necessary for thewakeup,wakeup-rt,irqsoff,preemptoffandpreemptirqsoffplugins.
With out this option, the extract command will extract from the internalFtrace buffers.
- If a latency tracer is being extracted, and the-poption is used, then there are some Ftrace options that can change the format. This will update those options before extracting. To see the list of options seetrace-cmd-list. To enable an option, write its name, to disable the option append the charactersnoto it. For example:noprint-parentwill disable theprint-parentoption that prints the parent function in printing a function event.
- By default, the extract command will create atrace.datfile. This option will change where the file is written to.
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)
Written by Steven Rostedt, <m[blue]rostedtAATTgoodmis.orgm>
Copyright (C) 2010 Red Hat, Inc. Free use of this software is granted under the terms of the GNU Public License (GPL).
- SEE ALSO
This document was created byman2html,using the manual pages.