| # CPU scheduling: who ran when, on which core, at what clock speed. |
| # The base layer for almost any performance investigation. |
| buffers { |
| size_kb: 32768 |
| fill_policy: RING_BUFFER |
| } |
| duration_ms: 10000 |
| |
| data_sources { |
| config { |
| name: "linux.ftrace" |
| ftrace_config { |
| ftrace_events: "sched/sched_switch" |
| ftrace_events: "sched/sched_wakeup" |
| ftrace_events: "sched/sched_waking" |
| ftrace_events: "sched/sched_process_exit" |
| ftrace_events: "sched/sched_process_free" |
| ftrace_events: "power/cpu_frequency" |
| ftrace_events: "power/cpu_idle" |
| ftrace_events: "power/suspend_resume" |
| } |
| } |
| } |
| |
| # Resolves thread/process ids in sched events to readable names. |
| data_sources { |
| config { |
| name: "linux.process_stats" |
| process_stats_config { |
| scan_all_processes_on_start: true |
| } |
| } |
| } |