From 22bcba6705d59409f90557470f39e871e823eae8 Mon Sep 17 00:00:00 2001 From: Pablo Gamito Date: Fri, 9 Aug 2024 17:03:44 +0000 Subject: [PATCH] Add protolog data source to presistent config This will ensure we trace ProtoLog message on eng builds by default. Ensuring they are available in bugreports from eng builds. Change-Id: I26ee5aaf0181c3db469a2e199be7870dcd194ca6 --- persistent_cfg.pbtxt | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/persistent_cfg.pbtxt b/persistent_cfg.pbtxt index 7d802c0223..8878bfcfd8 100644 --- a/persistent_cfg.pbtxt +++ b/persistent_cfg.pbtxt @@ -21,11 +21,11 @@ buffers { clear_before_clone: true } -# Buffer 2: for com.android.wm.shell.transition +# Buffer 2: for other Winscope traces buffers { - size_kb: 32 + size_kb: 2048 fill_policy: RING_BUFFER -} +}, data_sources: { @@ -57,3 +57,12 @@ data_sources: { } } +data_sources: { + config { + name: 'android.protolog' + protolog_config { + tracing_mode: ENABLE_ALL + } + target_buffer = 2 + } +}