Add TRACE_BUFFERS configuration for SF trace in winscope

Create a new checkbox in the UI and update the proxy
Test: build winscope and take a trace

Change-Id: Ib57da2fdee6b65dbaa4ef7b482b28cc1a73529ca
This commit is contained in:
Nataniel Borges
2021-11-04 17:36:59 +01:00
parent da743c4651
commit d5bd29fa0a
2 changed files with 4 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ import base64
# CONFIG #
LOG_LEVEL = logging.WARNING
LOG_LEVEL = logging.DEBUG
PORT = 5544
@@ -258,7 +258,8 @@ class WindowManagerTraceSelectedConfig:
CONFIG_FLAG = {
"composition": 1 << 2,
"metadata": 1 << 3,
"hwc": 1 << 4
"hwc": 1 << 4,
"tracebuffers": 1 << 5
}
#Keep up to date with options in DataAdb.vue

View File

@@ -219,6 +219,7 @@ const TRACE_CONFIG = {
'composition',
'metadata',
'hwc',
'tracebuffers',
],
};