I can generate ftrace data either manually (and then trace-cmd extract it) or via the convenient trace-cmd(1) front-end utility.
With trace-cmd, the output file is trace.dat by default; I know I can visually view it via kernelshark but would much prefer to use the Trace Compass GUI to do so. AFAIK, TraceCompass uses the .ctf file format. My question therefore:
How can I convert the ftrace or trace.dat file from trace-cmd to .ctf format?
(I know there's Q&A on converting perf(1) to CTF).
Trace Compass supports the raw textual format of various ftrace plugins. As explained here, you prior need to run the
trace-cmd report -Rcommand to get the trace in ASCII format.