trace2json


trace2json [options]: Convert a trace from fxt (Fuchsia trace format) to json (Chrome trace format).
Fuchsia trace format: https://fuchsia.googlesource.com/fuchsia/+/HEAD/docs/development/tracing/trace-format/
Chrome trace format: https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/edit
  --compressed-input=[false]: If true, the input is first gzip-decompressed.
  --compressed-output=[false]: If true, the output is gzip-compressed. Writing compressed output to stdout is not supported, so output-file must be specified.
  --help: Print this help message.
  --input-file=[]: Read trace from the specified file. If no file is specified, the input is read from stdin.
  --output-file=[]: Write the converted trace to the specified file. If no file is specified, the output is written to stdout.