| # This config should match the events listed in perfetto_log.proto | |
| buffers { | |
| size_kb: 100024 | |
| fill_policy: RING_BUFFER | |
| } | |
| data_sources { | |
| config { | |
| name: "linux.ftrace" | |
| target_buffer: 0 | |
| ftrace_config { | |
| buffer_size_kb: 40 | |
| drain_period_ms: 200 | |
| ftrace_events: "sched_switch" | |
| ftrace_events: "cpu_frequency" | |
| ftrace_events: "cpu_idle" | |
| } | |
| } | |
| } | |
| data_sources { | |
| config { | |
| name: "linux.process_stats" | |
| target_buffer: 0 | |
| } | |
| } | |
| producers { | |
| producer_name: "perfetto.traced_probes" | |
| } | |
| duration_ms: 10000 |