Add forgotten file

This commit is contained in:
2025-08-20 14:42:43 -04:00
parent abb47ee0c3
commit 4de9245ec7

View File

@@ -0,0 +1,14 @@
#pragma once
#define ENABLE_PERFETTO 1
#if ENABLE_PERFETTO
#include <perfetto.h>
#else
#define PERFETTO_DEFINE_CATEGORIES(...)
#define TRACE_EVENT(...)
#endif
// Define perfetto categories - this can be included in multiple files
PERFETTO_DEFINE_CATEGORIES(
perfetto::Category("http").SetDescription("HTTP requests"));