1# This config should match the events listed in perfetto_log.proto 2 3buffers { 4 size_kb: 100024 5 fill_policy: RING_BUFFER 6} 7 8data_sources { 9 config { 10 name: "linux.ftrace" 11 target_buffer: 0 12 ftrace_config { 13 buffer_size_kb: 40 14 drain_period_ms: 200 15 ftrace_events: "sched_switch" 16 ftrace_events: "cpu_frequency" 17 ftrace_events: "cpu_idle" 18 } 19 } 20} 21 22data_sources { 23 config { 24 name: "linux.process_stats" 25 target_buffer: 0 26 } 27} 28 29producers { 30 producer_name: "perfetto.traced_probes" 31} 32 33duration_ms: 10000 34