tau2otf2 — convert TAU tracefiles to json tracefiles for Chrome tracing or other viewers


tau_trace2json [ -o output file ] [ -chrome ] [ -v ] [ -ignoreatomic ] [ -nostate ] [ -nomessage ] [ -nojson ] [ -print ]


The tau_trace2json trace converter takes a TAU formatted tracefile (*.trc) and a TAU event description file (*.edf) and produces an output trace file in json. The user may specify the creation of a json file readable by Chrome's trace viewer. If no output file name is specified with the -o option output will be created in an events.json file in the current directory.


-chrome Output Chrome readable trace output. -ignoreatomic Do not include atomic events in json output. TAU traces include metadata as atomic events so using this option is advised in general. -oSpecify an output file other than the default events.json -nomessage Suppresses printing of message information in the trace. -v Verbose mode sends trace event descriptions to the standard output as they are converted.


The program must be run with the tau trace, tau event input first followed by any arguments. The following will produce a json file, trace.json, from the TAU trace and event files tau.trc and tau.edf:

tau_trace2json  ./tau.trc ./tau.edf -chrome -ignoreatomic -o trace.json

See Also

tau2vtf(1), trace2profile(1), vtf2profile(1), tau_merge(1), tau_convert(1)