-
Notifications
You must be signed in to change notification settings - Fork 368
/
persistent_cfg.pbtxt
68 lines (59 loc) · 1.32 KB
/
persistent_cfg.pbtxt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Persistent tracing configuration. Only enabled on some devices for debugging
# purposes when the property persist.debug.perfetto.persistent is set to 1.
bugreport_score: 5
bugreport_filename: "sysui.pftrace"
unique_session_name: "sysui_persistent"
flush_timeout_ms: 10000
compression_type: COMPRESSION_TYPE_DEFLATE
# Buffer 0: for android.surfaceflinger.transactions
buffers {
size_kb: 1024
fill_policy: RING_BUFFER
}
# Buffer 1: for android.surfaceflinger.layers
buffers {
size_kb: 409600
fill_policy: RING_BUFFER
transfer_on_clone: true
clear_before_clone: true
}
# Buffer 2: for other Winscope traces
buffers {
size_kb: 2048
fill_policy: RING_BUFFER
}
data_sources: {
config {
name: "android.surfaceflinger.transactions"
target_buffer: 0
surfaceflinger_transactions_config: {
mode: MODE_ACTIVE
}
}
}
data_sources: {
config {
name: "android.surfaceflinger.layers"
target_buffer: 1
surfaceflinger_layers_config: {
mode: MODE_GENERATED_BUGREPORT_ONLY
trace_flags: TRACE_FLAG_INPUT
trace_flags: TRACE_FLAG_BUFFERS
}
}
}
data_sources: {
config {
name: "com.android.wm.shell.transition"
target_buffer: 2
}
}
data_sources: {
config {
name: "android.protolog"
protolog_config {
tracing_mode: ENABLE_ALL
}
target_buffer: 2
}
}