Set a higher perfetto size hint to avoid packet loss

This commit is contained in:
Billy Laws 2023-02-04 20:46:53 +00:00
parent 4bb2a41594
commit 0deff5e37a

View File

@ -95,6 +95,7 @@ extern "C" JNIEXPORT void Java_emu_skyline_EmulationActivity_executeApplication(
// Initialize tracing
perfetto::TracingInitArgs args;
args.backends |= perfetto::kSystemBackend;
args.shmem_size_hint_kb = 0x200000;
perfetto::Tracing::Initialize(args);
perfetto::TrackEvent::Register();