| buffers { |
| size_kb: 16000 |
| fill_policy: RING_BUFFER |
| } |
| |
| data_sources { |
| config { |
| name: "linux.ftrace" |
| target_buffer: 0 |
| ftrace_config { |
| buffer_size_kb: 4096 # 4 (page size) * 128 |
| drain_period_ms: 100 |
| ftrace_events: "sched_wakeup" |
| ftrace_events: "sched_wakeup_new" |
| ftrace_events: "sched_switch" |
| ftrace_events: "sched_blocked_reason" |
| ftrace_events: "cpu_idle" |
| ftrace_events: "cpu_frequency" |
| ftrace_events: "cpu_frequency_limits" |
| ftrace_events: "suspend_resume" |
| ftrace_events: "clock_set_rate" |
| ftrace_events: "workqueue_activate_work" |
| ftrace_events: "workqueue_execute_end" |
| ftrace_events: "workqueue_execute_start" |
| ftrace_events: "workqueue_queue_work" |
| } |
| } |
| } |
| |
| producers { |
| producer_name: "perfetto.traced_probes" |
| shm_size_kb: 4096 |
| page_size_kb: 4 |
| } |
| |
| duration_ms: 7200000 |
| write_into_file: true |
| max_file_size_bytes: 4000000000 |
| file_write_period_ms: 500 |