melatonin_perfetto
melatonin_perfetto copied to clipboard
Can't TRACE_DSP/COMPONENT() without arguments in lambdas
Tried to include the module in a JUCE header and use the TRACE_DSP macro and get the following error:
_deps/perfetto-src/sdk/perfetto.h:18425:13: error: no matching function for call to 'WriteTrackEventArgs'
TRACE_EVENT with a category specified works fine, so need to look into the macro to see what the issue might be.
Tried to work around this today and failed.
Workaround is to use TRACE_DSP_BEGIN with an explicit name.