普通文本  |  58行  |  1.49 KB

buffers {
  size_kb: 100024
  fill_policy: RING_BUFFER
}

data_sources {
  config {
    name: "com.google.perfetto.ftrace"
    target_buffer: 0
    ftrace_config {
      buffer_size_kb: 40 # 4 (page size) * 10
      drain_period_ms: 200
      ftrace_events: "sched_process_exec"
      ftrace_events: "sched_process_exit"
      ftrace_events: "sched_process_fork"
      ftrace_events: "sched_process_free"
      ftrace_events: "sched_process_hang"
      ftrace_events: "sched_process_wait"
      ftrace_events: "sched_wakeup_new"
      ftrace_events: "sched_wakeup"
      ftrace_events: "sched_waking"
      ftrace_events: "smbus_read"
      ftrace_events: "smbus_reply"
      ftrace_events: "smbus_result"
      ftrace_events: "smbus_write"
      ftrace_events: "softirq_entry"
      ftrace_events: "softirq_exit"
      ftrace_events: "softirq_raise"
      ftrace_events: "suspend_resume"
      ftrace_events: "sync_pt"
      ftrace_events: "sync_timeline"
      ftrace_events: "sync_wait"
      ftrace_events: "task_newtask"
      ftrace_events: "task_rename"
      ftrace_events: "tracing_mark_write"
      ftrace_events: "workqueue_activate_work"
      ftrace_events: "workqueue_execute_end"
      ftrace_events: "workqueue_execute_start"
      ftrace_events: "workqueue_queue_work"
    }
  }
}

data_sources {
  config {
    name: "com.google.perfetto.process_stats"
    target_buffer: 0
  }
}

producers {
  producer_name: "com.google.perfetto.traced_probes"
  shm_size_kb: 4096
  page_size_kb: 4
}

duration_ms: 10000