summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-12-02 19:42:34 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-12-02 19:42:34 +0000
commitcc32b25e6a4594e474ef17c5877980a2d0e0a842 (patch)
tree1cf649df55e5924b564153ef2b7504e19efa1db2
parent918fc164628fac29b1b59d6df3bdc6e54516eeea (diff)
parente3a50455cb506c19251e5f4245b09127caed4b7a (diff)
Merge "tracing_perfetto: Use 1Mb shared memory buffer" into main
-rw-r--r--libs/tracing_perfetto/tracing_perfetto_internal.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/tracing_perfetto/tracing_perfetto_internal.cpp b/libs/tracing_perfetto/tracing_perfetto_internal.cpp
index c4f866338a..a58bc77131 100644
--- a/libs/tracing_perfetto/tracing_perfetto_internal.cpp
+++ b/libs/tracing_perfetto/tracing_perfetto_internal.cpp
@@ -236,6 +236,7 @@ void registerWithPerfetto(bool test) {
std::call_once(registration, [test]() {
struct PerfettoProducerInitArgs args = PERFETTO_PRODUCER_INIT_ARGS_INIT();
args.backends = test ? PERFETTO_BACKEND_IN_PROCESS : PERFETTO_BACKEND_SYSTEM;
+ args.shmem_size_hint_kb = 1024;
PerfettoProducerInit(args);
PerfettoTeInit();
PERFETTO_TE_REGISTER_CATEGORIES(FRAMEWORK_CATEGORIES);