Add a trace-skia-allowlist flag for filtering Skia trace events (#83507)
This commit is contained in:
@@ -240,7 +240,8 @@ void main() {
|
||||
'--ez', 'enable-software-rendering', 'true',
|
||||
'--ez', 'skia-deterministic-rendering', 'true',
|
||||
'--ez', 'trace-skia', 'true',
|
||||
'--ez', 'trace-allowlist', 'bar,baz',
|
||||
'--es', 'trace-allowlist', 'bar,baz',
|
||||
'--es', 'trace-skia-allowlist', 'skia.a,skia.b',
|
||||
'--ez', 'trace-systrace', 'true',
|
||||
'--ez', 'endless-trace-buffer', 'true',
|
||||
'--ez', 'dump-skp-on-shader-compilation', 'true',
|
||||
@@ -270,6 +271,7 @@ void main() {
|
||||
skiaDeterministicRendering: true,
|
||||
traceSkia: true,
|
||||
traceAllowlist: 'bar,baz',
|
||||
traceSkiaAllowlist: 'skia.a,skia.b',
|
||||
traceSystrace: true,
|
||||
endlessTraceBuffer: true,
|
||||
dumpSkpOnShaderCompilation: true,
|
||||
|
||||
@@ -153,19 +153,20 @@ void main() {
|
||||
'FLUTTER_ENGINE_SWITCH_5': 'skia-deterministic-rendering=true',
|
||||
'FLUTTER_ENGINE_SWITCH_6': 'trace-skia=true',
|
||||
'FLUTTER_ENGINE_SWITCH_7': 'trace-allowlist=foo,bar',
|
||||
'FLUTTER_ENGINE_SWITCH_8': 'trace-systrace=true',
|
||||
'FLUTTER_ENGINE_SWITCH_9': 'endless-trace-buffer=true',
|
||||
'FLUTTER_ENGINE_SWITCH_10': 'dump-skp-on-shader-compilation=true',
|
||||
'FLUTTER_ENGINE_SWITCH_11': 'cache-sksl=true',
|
||||
'FLUTTER_ENGINE_SWITCH_12': 'purge-persistent-cache=true',
|
||||
'FLUTTER_ENGINE_SWITCH_13': 'enable-checked-mode=true',
|
||||
'FLUTTER_ENGINE_SWITCH_14': 'verify-entry-points=true',
|
||||
'FLUTTER_ENGINE_SWITCH_15': 'start-paused=true',
|
||||
'FLUTTER_ENGINE_SWITCH_16': 'disable-service-auth-codes=true',
|
||||
'FLUTTER_ENGINE_SWITCH_17': 'dart-flags=--null_assertions',
|
||||
'FLUTTER_ENGINE_SWITCH_18': 'use-test-fonts=true',
|
||||
'FLUTTER_ENGINE_SWITCH_19': 'verbose-logging=true',
|
||||
'FLUTTER_ENGINE_SWITCHES': '19'
|
||||
'FLUTTER_ENGINE_SWITCH_8': 'trace-skia-allowlist=skia.a,skia.b',
|
||||
'FLUTTER_ENGINE_SWITCH_9': 'trace-systrace=true',
|
||||
'FLUTTER_ENGINE_SWITCH_10': 'endless-trace-buffer=true',
|
||||
'FLUTTER_ENGINE_SWITCH_11': 'dump-skp-on-shader-compilation=true',
|
||||
'FLUTTER_ENGINE_SWITCH_12': 'cache-sksl=true',
|
||||
'FLUTTER_ENGINE_SWITCH_13': 'purge-persistent-cache=true',
|
||||
'FLUTTER_ENGINE_SWITCH_14': 'enable-checked-mode=true',
|
||||
'FLUTTER_ENGINE_SWITCH_15': 'verify-entry-points=true',
|
||||
'FLUTTER_ENGINE_SWITCH_16': 'start-paused=true',
|
||||
'FLUTTER_ENGINE_SWITCH_17': 'disable-service-auth-codes=true',
|
||||
'FLUTTER_ENGINE_SWITCH_18': 'dart-flags=--null_assertions',
|
||||
'FLUTTER_ENGINE_SWITCH_19': 'use-test-fonts=true',
|
||||
'FLUTTER_ENGINE_SWITCH_20': 'verbose-logging=true',
|
||||
'FLUTTER_ENGINE_SWITCHES': '20'
|
||||
}
|
||||
),
|
||||
]);
|
||||
@@ -186,6 +187,7 @@ void main() {
|
||||
skiaDeterministicRendering: true,
|
||||
traceSkia: true,
|
||||
traceAllowlist: 'foo,bar',
|
||||
traceSkiaAllowlist: 'skia.a,skia.b',
|
||||
traceSystrace: true,
|
||||
endlessTraceBuffer: true,
|
||||
dumpSkpOnShaderCompilation: true,
|
||||
|
||||
Reference in New Issue
Block a user