• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1buffers {
2  size_kb: 65536
3  fill_policy: RING_BUFFER
4}
5
6data_sources {
7  config {
8    name: "linux.ftrace"
9    target_buffer: 0
10    ftrace_config {
11      buffer_size_kb: 8192
12      drain_period_ms: 500
13      ftrace_events: "binder_lock"
14      ftrace_events: "binder_locked"
15      ftrace_events: "binder_set_priority"
16      ftrace_events: "binder_transaction_received"
17      ftrace_events: "binder_transaction"
18      ftrace_events: "binder_unlock"
19      ftrace_events: "block_bio_backmerge"
20      ftrace_events: "block_bio_bounce"
21      ftrace_events: "block_bio_complete"
22      ftrace_events: "block_bio_frontmerge"
23      ftrace_events: "block_bio_queue"
24      ftrace_events: "block_bio_remap"
25      ftrace_events: "block_dirty_buffer"
26      ftrace_events: "block_getrq"
27      ftrace_events: "block_plug"
28      ftrace_events: "block_rq_abort"
29      ftrace_events: "block_rq_complete"
30      ftrace_events: "block_rq_insert"
31      ftrace_events: "block_rq_issue"
32      ftrace_events: "block_rq_remap"
33      ftrace_events: "block_rq_requeue"
34      ftrace_events: "block_sleeprq"
35      ftrace_events: "block_split"
36      ftrace_events: "block_touch_buffer"
37      ftrace_events: "block_unplug"
38      ftrace_events: "cgroup_attach_task"
39      ftrace_events: "cgroup_destroy_root"
40      ftrace_events: "cgroup_mkdir"
41      ftrace_events: "cgroup_release"
42      ftrace_events: "cgroup_remount"
43      ftrace_events: "cgroup_rename"
44      ftrace_events: "cgroup_rmdir"
45      ftrace_events: "cgroup_setup_root"
46      ftrace_events: "cgroup_transfer_tasks"
47      ftrace_events: "clock_disable"
48      ftrace_events: "clock_enable"
49      ftrace_events: "clock_set_rate"
50      ftrace_events: "cpu_frequency_limits"
51      ftrace_events: "cpu_frequency"
52      ftrace_events: "cpu_idle"
53      ftrace_events: "cpufreq_interactive_already"
54      ftrace_events: "cpufreq_interactive_boost"
55      ftrace_events: "cpufreq_interactive_notyet"
56      ftrace_events: "cpufreq_interactive_setspeed"
57      ftrace_events: "cpufreq_interactive_target"
58      ftrace_events: "cpufreq_interactive_unboost"
59      ftrace_events: "ext4_alloc_da_blocks"
60      ftrace_events: "ext4_allocate_blocks"
61      ftrace_events: "ext4_allocate_inode"
62      ftrace_events: "ext4_begin_ordered_truncate"
63      ftrace_events: "ext4_collapse_range"
64      ftrace_events: "ext4_da_release_space"
65      ftrace_events: "ext4_da_reserve_space"
66      ftrace_events: "ext4_da_update_reserve_space"
67      ftrace_events: "ext4_da_write_begin"
68      ftrace_events: "ext4_da_write_end"
69      ftrace_events: "ext4_da_write_pages_extent"
70      ftrace_events: "ext4_da_write_pages"
71      ftrace_events: "ext4_direct_IO_enter"
72      ftrace_events: "ext4_direct_IO_exit"
73      ftrace_events: "ext4_discard_blocks"
74      ftrace_events: "ext4_discard_preallocations"
75      ftrace_events: "ext4_drop_inode"
76      ftrace_events: "ext4_es_cache_extent"
77      ftrace_events: "ext4_es_find_delayed_extent_range_enter"
78      ftrace_events: "ext4_es_find_delayed_extent_range_exit"
79      ftrace_events: "ext4_es_insert_extent"
80      ftrace_events: "ext4_es_lookup_extent_enter"
81      ftrace_events: "ext4_es_lookup_extent_exit"
82      ftrace_events: "ext4_es_remove_extent"
83      ftrace_events: "ext4_es_shrink_count"
84      ftrace_events: "ext4_es_shrink_scan_enter"
85      ftrace_events: "ext4_es_shrink_scan_exit"
86      ftrace_events: "ext4_es_shrink"
87      ftrace_events: "ext4_evict_inode"
88      ftrace_events: "ext4_ext_convert_to_initialized_enter"
89      ftrace_events: "ext4_ext_convert_to_initialized_fastpath"
90      ftrace_events: "ext4_ext_handle_unwritten_extents"
91      ftrace_events: "ext4_ext_in_cache"
92      ftrace_events: "ext4_ext_load_extent"
93      ftrace_events: "ext4_ext_map_blocks_enter"
94      ftrace_events: "ext4_ext_map_blocks_exit"
95      ftrace_events: "ext4_ext_put_in_cache"
96      ftrace_events: "ext4_ext_remove_space_done"
97      ftrace_events: "ext4_ext_remove_space"
98      ftrace_events: "ext4_ext_rm_idx"
99      ftrace_events: "ext4_ext_rm_leaf"
100      ftrace_events: "ext4_ext_show_extent"
101      ftrace_events: "ext4_fallocate_enter"
102      ftrace_events: "ext4_fallocate_exit"
103      ftrace_events: "ext4_find_delalloc_range"
104      ftrace_events: "ext4_forget"
105      ftrace_events: "ext4_free_blocks"
106      ftrace_events: "ext4_free_inode"
107      ftrace_events: "ext4_get_implied_cluster_alloc_exit"
108      ftrace_events: "ext4_get_reserved_cluster_alloc"
109      ftrace_events: "ext4_ind_map_blocks_enter"
110      ftrace_events: "ext4_ind_map_blocks_exit"
111      ftrace_events: "ext4_insert_range"
112      ftrace_events: "ext4_invalidatepage"
113      ftrace_events: "ext4_journal_start_reserved"
114      ftrace_events: "ext4_journal_start"
115      ftrace_events: "ext4_journalled_invalidatepage"
116      ftrace_events: "ext4_journalled_write_end"
117      ftrace_events: "ext4_load_inode_bitmap"
118      ftrace_events: "ext4_load_inode"
119      ftrace_events: "ext4_mark_inode_dirty"
120      ftrace_events: "ext4_mb_bitmap_load"
121      ftrace_events: "ext4_mb_buddy_bitmap_load"
122      ftrace_events: "ext4_mb_discard_preallocations"
123      ftrace_events: "ext4_mb_new_group_pa"
124      ftrace_events: "ext4_mb_new_inode_pa"
125      ftrace_events: "ext4_mb_release_group_pa"
126      ftrace_events: "ext4_mb_release_inode_pa"
127      ftrace_events: "ext4_mballoc_alloc"
128      ftrace_events: "ext4_mballoc_discard"
129      ftrace_events: "ext4_mballoc_free"
130      ftrace_events: "ext4_mballoc_prealloc"
131      ftrace_events: "ext4_other_inode_update_time"
132      ftrace_events: "ext4_punch_hole"
133      ftrace_events: "ext4_read_block_bitmap_load"
134      ftrace_events: "ext4_readpage"
135      ftrace_events: "ext4_releasepage"
136      ftrace_events: "ext4_remove_blocks"
137      ftrace_events: "ext4_request_blocks"
138      ftrace_events: "ext4_request_inode"
139      ftrace_events: "ext4_sync_file_enter"
140      ftrace_events: "ext4_sync_file_exit"
141      ftrace_events: "ext4_sync_fs"
142      ftrace_events: "ext4_trim_all_free"
143      ftrace_events: "ext4_trim_extent"
144      ftrace_events: "ext4_truncate_enter"
145      ftrace_events: "ext4_truncate_exit"
146      ftrace_events: "ext4_unlink_enter"
147      ftrace_events: "ext4_unlink_exit"
148      ftrace_events: "ext4_write_begin"
149      ftrace_events: "ext4_write_end"
150      ftrace_events: "ext4_writepage"
151      ftrace_events: "ext4_writepages_result"
152      ftrace_events: "ext4_writepages"
153      ftrace_events: "ext4_zero_range"
154      ftrace_events: "f2fs_sync_file_enter"
155      ftrace_events: "f2fs_sync_file_exit"
156      ftrace_events: "f2fs_write_begin"
157      ftrace_events: "f2fs_write_end"
158      ftrace_events: "i2c_read"
159      ftrace_events: "i2c_reply"
160      ftrace_events: "i2c_result"
161      ftrace_events: "i2c_write"
162      ftrace_events: "ipi_entry"
163      ftrace_events: "ipi_exit"
164      ftrace_events: "ipi_raise"
165      ftrace_events: "irq_handler_entry"
166      ftrace_events: "irq_handler_exit"
167      ftrace_events: "lowmemory_kill"
168      ftrace_events: "mdp_cmd_kickoff"
169      ftrace_events: "mdp_cmd_pingpong_done"
170      ftrace_events: "mdp_cmd_readptr_done"
171      ftrace_events: "mdp_cmd_release_bw"
172      ftrace_events: "mdp_cmd_wait_pingpong"
173      ftrace_events: "mdp_commit"
174      ftrace_events: "mdp_compare_bw"
175      ftrace_events: "mdp_misr_crc"
176      ftrace_events: "mdp_mixer_update"
177      ftrace_events: "mdp_perf_prefill_calc"
178      ftrace_events: "mdp_perf_set_ot"
179      ftrace_events: "mdp_perf_set_panic_luts"
180      ftrace_events: "mdp_perf_set_qos_luts"
181      ftrace_events: "mdp_perf_set_wm_levels"
182      ftrace_events: "mdp_perf_update_bus"
183      ftrace_events: "mdp_sspp_change"
184      ftrace_events: "mdp_sspp_set"
185      ftrace_events: "mdp_trace_counter"
186      ftrace_events: "mdp_video_underrun_done"
187      ftrace_events: "mm_compaction_begin"
188      ftrace_events: "mm_compaction_defer_compaction"
189      ftrace_events: "mm_compaction_defer_reset"
190      ftrace_events: "mm_compaction_deferred"
191      ftrace_events: "mm_compaction_end"
192      ftrace_events: "mm_compaction_finished"
193      ftrace_events: "mm_compaction_isolate_freepages"
194      ftrace_events: "mm_compaction_isolate_migratepages"
195      ftrace_events: "mm_compaction_kcompactd_sleep"
196      ftrace_events: "mm_compaction_kcompactd_wake"
197      ftrace_events: "mm_compaction_migratepages"
198      ftrace_events: "mm_compaction_suitable"
199      ftrace_events: "mm_compaction_try_to_compact_pages"
200      ftrace_events: "mm_compaction_wakeup_kcompactd"
201      ftrace_events: "mm_filemap_add_to_page_cache"
202      ftrace_events: "mm_filemap_delete_from_page_cache"
203      ftrace_events: "mm_vmscan_direct_reclaim_begin"
204      ftrace_events: "mm_vmscan_direct_reclaim_end"
205      ftrace_events: "mm_vmscan_kswapd_sleep"
206      ftrace_events: "mm_vmscan_kswapd_wake"
207      ftrace_events: "print"
208      ftrace_events: "regulator_disable_complete"
209      ftrace_events: "regulator_disable"
210      ftrace_events: "regulator_enable_complete"
211      ftrace_events: "regulator_enable_delay"
212      ftrace_events: "regulator_enable"
213      ftrace_events: "regulator_set_voltage_complete"
214      ftrace_events: "regulator_set_voltage"
215      ftrace_events: "rotator_bw_ao_as_context"
216      ftrace_events: "sched_blocked_reason"
217      ftrace_events: "sched_cpu_hotplug"
218      ftrace_events: "sched_process_exec"
219      ftrace_events: "sched_process_exit"
220      ftrace_events: "sched_process_fork"
221      ftrace_events: "sched_process_free"
222      ftrace_events: "sched_process_hang"
223      ftrace_events: "sched_process_wait"
224      ftrace_events: "sched_switch"
225      ftrace_events: "sched_wakeup_new"
226      ftrace_events: "sched_wakeup"
227      ftrace_events: "sched_waking"
228      ftrace_events: "smbus_read"
229      ftrace_events: "smbus_reply"
230      ftrace_events: "smbus_result"
231      ftrace_events: "smbus_write"
232      ftrace_events: "softirq_entry"
233      ftrace_events: "softirq_exit"
234      ftrace_events: "softirq_raise"
235      ftrace_events: "suspend_resume"
236      ftrace_events: "sync_pt"
237      ftrace_events: "sync_timeline"
238      ftrace_events: "sync_wait"
239      ftrace_events: "task_newtask"
240      ftrace_events: "task_rename"
241      ftrace_events: "tracing_mark_write"
242      ftrace_events: "workqueue_activate_work"
243      ftrace_events: "workqueue_execute_end"
244      ftrace_events: "workqueue_execute_start"
245      ftrace_events: "workqueue_queue_work"
246      ftrace_events: "signal_generate"
247      ftrace_events: "signal_deliver"
248    }
249  }
250}
251
252data_sources {
253  config {
254    name: "linux.process_stats"
255    target_buffer: 0
256  }
257}
258
259data_sources {
260  config {
261    name: "linux.inode_file_map"
262    target_buffer: 0
263    inode_file_config {
264      scan_delay_ms: 1000
265      scan_interval_ms: 1000
266      scan_batch_size: 500
267      mount_point_mapping: {
268        mountpoint: "/data"
269        scan_roots: "/data/app"
270        scan_roots: "/data/misc/bootstat"
271        scan_roots: "/data/misc/update_engine_log"
272        scan_roots: "/data/misc/update_engine"
273        scan_roots: "/data/misc/profiles/ref"
274        scan_roots: "/data/misc/profiles/cur"
275        scan_roots: "/data/dalvik-cache"
276        scan_roots: "/data/data/android"
277        scan_roots: "/data/backup"
278      }
279    }
280  }
281}
282
283data_sources {
284  config {
285    name: "perfetto.metatrace"
286    target_buffer: 0
287  }
288}
289
290producers {
291  producer_name: "perfetto.traced_probes"
292  shm_size_kb: 4096
293  page_size_kb: 4
294}
295
296duration_ms: 10000
297