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 --category=[]: An exact string to match against event categories. Events that do not match will be dropped. This parameter may be specified multiple times. --help: Print this help message. --input-file=[]: Read trace from the specified file. --output-file=[]: Write the converted trace to the specified file. If no file is specified, the output is written to stdout. --pattern=[]: A regular expression to match against event names. Events that do not match will be dropped. This parameter may be specified multiple times. --system-event-output-file=[]: Optional. Write the system trace events to the specified file in jsonlines format. If provided, the main output file will not contain system trace events.