Separate Connection and Request lifetimes
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#define ENABLE_PERFETTO 1
|
||||
#ifndef ENABLE_PERFETTO
|
||||
#define ENABLE_PERFETTO 0
|
||||
#endif
|
||||
|
||||
#if ENABLE_PERFETTO
|
||||
#include <perfetto.h>
|
||||
#else
|
||||
#define PERFETTO_DEFINE_CATEGORIES(...)
|
||||
#define PERFETTO_TRACK_EVENT_STATIC_STORAGE \
|
||||
void perfetto_track_event_static_storage
|
||||
#define TRACE_EVENT(...)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user