1buffers { 2 size_kb: 100024 3 fill_policy: RING_BUFFER 4} 5 6data_sources { 7 config { 8 name: "com.google.perfetto.ftrace" 9 target_buffer: 0 10 ftrace_config { 11 buffer_size_kb: 40 # 4 (page size) * 10 12 drain_period_ms: 200 13 ftrace_events: "sched_process_exec" 14 ftrace_events: "sched_process_exit" 15 ftrace_events: "sched_process_fork" 16 ftrace_events: "sched_process_free" 17 ftrace_events: "sched_process_hang" 18 ftrace_events: "sched_process_wait" 19 ftrace_events: "sched_wakeup_new" 20 ftrace_events: "sched_wakeup" 21 ftrace_events: "sched_waking" 22 ftrace_events: "smbus_read" 23 ftrace_events: "smbus_reply" 24 ftrace_events: "smbus_result" 25 ftrace_events: "smbus_write" 26 ftrace_events: "softirq_entry" 27 ftrace_events: "softirq_exit" 28 ftrace_events: "softirq_raise" 29 ftrace_events: "suspend_resume" 30 ftrace_events: "sync_pt" 31 ftrace_events: "sync_timeline" 32 ftrace_events: "sync_wait" 33 ftrace_events: "task_newtask" 34 ftrace_events: "task_rename" 35 ftrace_events: "tracing_mark_write" 36 ftrace_events: "workqueue_activate_work" 37 ftrace_events: "workqueue_execute_end" 38 ftrace_events: "workqueue_execute_start" 39 ftrace_events: "workqueue_queue_work" 40 } 41 } 42} 43 44data_sources { 45 config { 46 name: "com.google.perfetto.process_stats" 47 target_buffer: 0 48 } 49} 50 51producers { 52 producer_name: "com.google.perfetto.traced_probes" 53 shm_size_kb: 4096 54 page_size_kb: 4 55} 56 57duration_ms: 10000 58