1buffers { 2 size_kb: 16000 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: 4096 # 4 (page size) * 128 12 drain_period_ms: 100 13 ftrace_events: "sched_wakeup" 14 ftrace_events: "sched_wakeup_new" 15 ftrace_events: "sched_switch" 16 ftrace_events: "sched_blocked_reason" 17 ftrace_events: "cpu_idle" 18 ftrace_events: "cpu_frequency" 19 ftrace_events: "cpu_frequency_limits" 20 ftrace_events: "suspend_resume" 21 ftrace_events: "clock_set_rate" 22 ftrace_events: "workqueue_activate_work" 23 ftrace_events: "workqueue_execute_end" 24 ftrace_events: "workqueue_execute_start" 25 ftrace_events: "workqueue_queue_work" 26 } 27 } 28} 29 30producers { 31 producer_name: "perfetto.traced_probes" 32 shm_size_kb: 4096 33 page_size_kb: 4 34} 35 36duration_ms: 7200000 37write_into_file: true 38max_file_size_bytes: 4000000000 39file_write_period_ms: 500 40