blob: 8677434fbdf4944dba43c20b41e7c2b6c31bc253 [file] [log] [blame]
buffers {
size_kb: 102400
fill_policy: RING_BUFFER
}
data_sources {
config {
name: "linux.ftrace"
target_buffer: 0
ftrace_config {
# Scheduling information & process tracking. Useful for:
# - what is happening on each CPU at each moment
# - why a thread was descheduled
# - parent/child relationships between processes and threads.
ftrace_events: "sched/sched_switch"
ftrace_events: "power/suspend_resume"
ftrace_events: "sched/sched_process_exit"
ftrace_events: "sched/sched_process_free"
ftrace_events: "task/task_newtask"
ftrace_events: "task/task_rename"
# Wakeup info. Allows you to compute how long a task was
# blocked due to CPU contention.
ftrace_events: "sched/sched_wakeup"
# os.Trace markers:
ftrace_events: "ftrace/print"
# Atrace events from com.google.android.GoogleCamera
atrace_apps: "com.google.android.GoogleCamera"
# LMK
atrace_apps: "lmkd"
ftrace_events: "lowmemorykiller/lowmemory_kill"
ftrace_events: "oom/oom_score_adj_update"
# Atrace camera category:
atrace_categories: "camera"
# Atrace activity manager:
atrace_categories: "am"
# Atrace system_server:
atrace_categories: "ss"
# RSS and ION buffer events:
ftrace_events: "kmem/rss_stat"
ftrace_events: "kmem/mm_event"
ftrace_events: "kmem/ion_heap_grow"
ftrace_events: "kmem/ion_heap_shrink"
}
}
}
data_sources: {
config {
name: "linux.process_stats"
target_buffer: 0
process_stats_config {
scan_all_processes_on_start: true
}
}
}
duration_ms: 10000