-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
perfetto_config.pbtx
222 lines (199 loc) · 8.54 KB
/
perfetto_config.pbtx
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
buffers: {
size_kb: 63488
fill_policy: DISCARD
}
buffers: {
size_kb: 2048
fill_policy: DISCARD
}
# Max duration: 1 min
duration_ms: 60000
data_sources: {
config {
name: "linux.ftrace"
# See: https://perfetto.dev/docs/data-sources/atrace#traceconfig
ftrace_config {
ftrace_events: "ftrace/print"
# Trace all ContentProvider commands and SQLite queries.
# See: https://source.corp.google.com/android-internal/frameworks/base/core/java/android/os/Trace.java?q=TRACE_TAG_DATABASE
# See: https://cs.android.com/android/platform/superproject/+/master:frameworks/base/core/java/android/database/sqlite/SQLiteConnection.java
# Uncomment to enable.
# Note: on a userdebug build it will add a trace for every SQLite command for every
# application, which makes traces very-very "noisy".
# atrace_categories: "database"
# Trace Binder IPC transactions.
# Uncomment to enable.
# Note: on a userdebug build it will add a trace for every Binder transaction for every
# application, which makes traces very-very "noisy".
# atrace_categories: "binder_driver"
# ActivityManager, WindowManager, Graphics, View System.
# Uncomment to enable.
# Note: on a userdebug build it will traces from corresponding category for every
# application, which makes traces very-very "noisy".
# atrace_categories: "wm"
# atrace_categories: "am"
atrace_categories: "gfx"
atrace_categories: "view"
# Trace DocumentUI "custom" events.
atrace_apps: "com.android.documentsui"
atrace_apps: "com.google.android.documentsui"
# Trace other Providers.
# authorities="com.android.documentsui.archives" - DocsUI
atrace_apps: "com.android.documentsui"
atrace_apps: "com.google.android.documentsui"
# authorities="com.android.externalstorage.documents" - ExternalStorageProvider
atrace_apps: "com.android.externalstorage"
# authorities="com.android.mtp.documents" - Mtp
atrace_apps: "com.android.mtp"
# authorities="com.android.pixellogger.documents" - PixelLogger
atrace_apps: "com.android.pixellogger"
# authorities="com.android.providers.downloads" - DownloadSProvider
atrace_apps: "com.android.providers.downloads.documents"
# authorities="com.android.providers.media.documents" - MediaProvider
atrace_apps: "com.android.providers.media.module"
atrace_apps: "com.google.android.providers.media.module"
# authorities="com.android.shell.documents" - Shell (BugreportStorageProvider)
# atrace_apps: "android.uid.shell"
# authorities="com.google.android.apps.docs.storage" - Google Docs
atrace_apps: "com.google.android.apps.docs"
# Google Photos.
# atrace_apps: "com.google.android.apps.photos"
# Trace all apps' events.
# Uncomment to enable.
# atrace_apps: "*"
}
}
}
# This is for getting Thread-to-Process associations and full process names.
data_sources: {
config {
name: "linux.process_stats"
}
}
# "Expected Timeline" and "Actual Timeline" jor each process
# See https://perfetto.dev/docs/data-sources/frametimeline#traceconfig
data_sources {
config {
name: "android.surfaceflinger.frametimeline"
}
}
# Memory Profiling
# See https://perfetto.dev/docs/data-sources/memory-counters
# Android Logcat
data_sources: {
config {
name: "android.log"
android_log_config {
min_prio: PRIO_VERBOSE # Default: PRIO_DEBUG
log_ids: LID_EVENTS
log_ids: LID_CRASH
log_ids: LID_KERNEL
log_ids: LID_DEFAULT
log_ids: LID_RADIO
log_ids: LID_SECURITY
log_ids: LID_STATS
log_ids: LID_SYSTEM
# If filter_tags non-empty ignores all log messages whose tag doesn't match one of the
# specified values.
# filter_tags: "AbstractActionHandler"
# filter_tags: "ActionModeController"
# filter_tags: "Archive"
# filter_tags: "ArchiveFileTestRule"
# filter_tags: "ArchiveHandle"
# filter_tags: "ArchivesProvider"
# filter_tags: "CancelFromNotificationUiTest"
# filter_tags: "ClipStorage"
# filter_tags: "CommandInterceptor"
# filter_tags: "CompressJob"
# filter_tags: "ConfirmFragment"
# filter_tags: "ContentLock"
# filter_tags: "CopyJob"
# filter_tags: "DebugHelper"
# filter_tags: "DeleteJob"
# filter_tags: "DirectoryFragment"
# filter_tags: "DirectoryLoader"
# filter_tags: "DirectoryResult"
# filter_tags: "DocumentAccess"
# filter_tags: "DocumentClipper"
# filter_tags: "DocumentInfo"
# filter_tags: "DocumentStack"
# filter_tags: "Documents"
# filter_tags: "DocumentsApplication"
# filter_tags: "DocumentsSwipeRefreshLayout"
# filter_tags: "DragStartListener"
# filter_tags: "DrawerController"
# filter_tags: "EjectRootTask"
# filter_tags: "FileCopyUiTest"
# filter_tags: "FileDeleteUiTest"
# filter_tags: "FileOperationService"
# filter_tags: "FileOperations"
# filter_tags: "FilesActivity"
# filter_tags: "FilesAppPerfTest"
# filter_tags: "FocusManager"
# filter_tags: "GetRootDocumentTask"
# filter_tags: "HeaderItem"
# filter_tags: "HeaderMessage"
# filter_tags: "IconHelper"
# filter_tags: "ItemDragListener"
# filter_tags: "Job"
# filter_tags: "JumboUrisSupplier"
# filter_tags: "LastAccessedProvider"
# filter_tags: "LastAccessedStorage"
# filter_tags: "LauncherActivity"
# filter_tags: "ListDocumentHolder"
# filter_tags: "LoadDocStackTask"
# filter_tags: "LoadRootTask"
# filter_tags: "Loader"
# filter_tags: "ManagerActionHandler"
# filter_tags: "MenuManager"
# filter_tags: "MetadataLoader"
# filter_tags: "Metrics"
# filter_tags: "Model"
# filter_tags: "ModelBackedDocuments"
# filter_tags: "MoveJob"
# filter_tags: "MultiRootDocsLoader"
# filter_tags: "NavigationViewManager"
# filter_tags: "OperationDialogFragment"
# filter_tags: "PermissionsTest"
# filter_tags: "PickActivity"
# filter_tags: "PickCountRecordProvider"
# filter_tags: "PickCountRecordStorage"
# filter_tags: "PickFragment"
# filter_tags: "PickerActionHandler"
# filter_tags: "PreBootReceiver"
# filter_tags: "ProfileTabsController"
# filter_tags: "ProvidersCache"
# filter_tags: "QuickViewIntentBuilder"
# filter_tags: "ReadableArchive"
# filter_tags: "RefreshTask"
# filter_tags: "ResolvedResourcesJob"
# filter_tags: "RootCursorWrapper"
# filter_tags: "RootInfo"
# filter_tags: "RootItem"
# filter_tags: "RootUiTest"
# filter_tags: "RootsDragHost"
# filter_tags: "RootsFragment"
# filter_tags: "RootsListBot"
# filter_tags: "SaveFragment"
# filter_tags: "ScaleHelper"
# filter_tags: "ScopedAccessMetrics"
# filter_tags: "SearchFragment"
# filter_tags: "SearchHistoryManager"
# filter_tags: "SearchManager"
# filter_tags: "SectioningDocumentsAdapterWrapper"
# filter_tags: "SelectionMetadata"
# filter_tags: "SharedInputHandler"
# filter_tags: "SortModel"
# filter_tags: "SpacerItem"
# filter_tags: "State"
# filter_tags: "StubProvider"
# filter_tags: "TestContextResolver"
# filter_tags: "TestNotificationService"
# filter_tags: "ThemeOverlayManager"
# filter_tags: "ThumbnailLoader"
# filter_tags: "UserIdManager"
# filter_tags: "WriteableArchive"
# filter_tags: "dirlist.DragHost"
}
}
}