From 8eef4851290f952ffd92b18eb3faf4b84fb43aaf Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Tue, 23 Feb 2021 15:13:46 +0100 Subject: [PATCH] set shmem_size_hint to same as with vperfetto_min --- src/percetto.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/percetto.cc b/src/percetto.cc index 5b394d4..e519fb9 100644 --- a/src/percetto.cc +++ b/src/percetto.cc @@ -561,6 +561,7 @@ int percetto_init(size_t category_count, perfetto::TracingInitArgs args; args.backends = perfetto::kSystemBackend; + args.shmem_size_hint_kb = 32 * 1024; perfetto::Tracing::Initialize(args); return PercettoDataSource::Register() ? 0 : -1;