blob: eb2c19786b60e7c3f74e7b3549b0f1b820336904 [file] [log] [blame]
unique_session_name: "test_snap"
buffers {
size_kb: 32768
fill_policy: RING_BUFFER
}
# Enable various data sources as usual.
data_sources {
config {
name: "linux.ftrace"
target_buffer: 0
ftrace_config {
ftrace_events: "cpu_frequency"
ftrace_events: "cpu_idle"
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_switch"
ftrace_events: "sched_wakeup_new"
ftrace_events: "sched_wakeup"
ftrace_events: "sched_waking"
ftrace_events: "task_newtask"
ftrace_events: "task_rename"
ftrace_events: "tracing_mark_write"
}
}
}
data_sources {
config {
name: "linux.process_stats"
target_buffer: 0
}
}
trigger_config {
trigger_mode: STOP_TRACING
use_clone_snapshot_if_available: true
trigger_timeout_ms: 300000
triggers {
name: "xxx"
stop_delay_ms: 0
}
}