melatonin_perfetto
melatonin_perfetto copied to clipboard
Invalid .pftrace files generated when building MacOS Universal Binaries
Following the instructions 1:1 does not create valid .pftrace files that can be used in perfetto. Im on Ventura 13.6 and used the FetchContent cmake method. When starting the session, a small .pftrace file is being created that contains valid metadata, then when closing the plugin another larger file is being created which seems to contain the trace data since its size depends on the amount of playback when measuring DSP. This file does not contain valid metadata. Both files show an empty timeline in perfetto.
I tried TRACE_COMPONENT in component paint methods and TRACE_DSP in dsp methods.
The files have a .txt suffix so that they can be uploaded to github.
perfetto-DEBUG-2023-10-02_1412.pftrace.txt perfetto-DEBUG-2023-10-02_1411.pftrace.txt