Skip to content

Commit cc32b25

Browse files
Treehugger RobotAndroid (Google) Code Review
authored andcommitted
Merge "tracing_perfetto: Use 1Mb shared memory buffer" into main
2 parents 918fc16 + e3a5045 commit cc32b25

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libs/tracing_perfetto/tracing_perfetto_internal.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ void registerWithPerfetto(bool test) {
236236
std::call_once(registration, [test]() {
237237
struct PerfettoProducerInitArgs args = PERFETTO_PRODUCER_INIT_ARGS_INIT();
238238
args.backends = test ? PERFETTO_BACKEND_IN_PROCESS : PERFETTO_BACKEND_SYSTEM;
239+
args.shmem_size_hint_kb = 1024;
239240
PerfettoProducerInit(args);
240241
PerfettoTeInit();
241242
PERFETTO_TE_REGISTER_CATEGORIES(FRAMEWORK_CATEGORIES);

0 commit comments

Comments
 (0)