blob: ef47c51fc861d35a10f231080fedf13283036195 [file] [log] [blame]
Daniele Di Proiettoe8068062024-02-16 17:54:03 +00001# Persistent tracing configuration. Only enabled on some devices for debugging
2# purposes when the property persist.debug.perfetto.persistent is set to 1.
3
4bugreport_score: 5
5bugreport_filename: "sysui.pftrace"
6unique_session_name: "sysui_persistent"
7flush_timeout_ms: 10000
8compression_type: COMPRESSION_TYPE_DEFLATE
9
10# Buffer 0: for android.surfaceflinger.transactions
11buffers {
12 size_kb: 1024
13 fill_policy: RING_BUFFER
14}
15
16# Buffer 1: for android.surfaceflinger.layers
17buffers {
18 size_kb: 409600
19 fill_policy: RING_BUFFER
20 transfer_on_clone: true
21 clear_before_clone: true
22}
23
Pablo Gamito22bcba62024-08-09 17:03:44 +000024# Buffer 2: for other Winscope traces
Daniele Di Proiettoe8068062024-02-16 17:54:03 +000025buffers {
Pablo Gamito22bcba62024-08-09 17:03:44 +000026 size_kb: 2048
Daniele Di Proiettoe8068062024-02-16 17:54:03 +000027 fill_policy: RING_BUFFER
Daniele Di Proiettod8c453a2024-08-13 16:21:36 +000028}
Daniele Di Proiettoe8068062024-02-16 17:54:03 +000029
30
31data_sources: {
32 config {
33 name: "android.surfaceflinger.transactions"
34 target_buffer: 0
35 surfaceflinger_transactions_config: {
36 mode: MODE_ACTIVE
37 }
38 }
39}
40
41data_sources: {
42 config {
43 name: "android.surfaceflinger.layers"
44 target_buffer: 1
45 surfaceflinger_layers_config: {
46 mode: MODE_GENERATED_BUGREPORT_ONLY
47 trace_flags: TRACE_FLAG_INPUT
48 trace_flags: TRACE_FLAG_BUFFERS
49 }
50 }
51}
52
53data_sources: {
54 config {
55 name: "com.android.wm.shell.transition"
56 target_buffer: 2
57 }
58}
59
Pablo Gamito22bcba62024-08-09 17:03:44 +000060data_sources: {
61 config {
Daniele Di Proiettod8c453a2024-08-13 16:21:36 +000062 name: "android.protolog"
Pablo Gamito22bcba62024-08-09 17:03:44 +000063 protolog_config {
64 tracing_mode: ENABLE_ALL
65 }
Daniele Di Proiettod8c453a2024-08-13 16:21:36 +000066 target_buffer: 2
Pablo Gamito22bcba62024-08-09 17:03:44 +000067 }
68}