You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
957 B
55 lines
957 B
buffers {
|
|
size_kb: 655360
|
|
fill_policy: RING_BUFFER
|
|
}
|
|
|
|
data_sources {
|
|
config {
|
|
name: "linux.ftrace"
|
|
target_buffer: 0
|
|
ftrace_config {
|
|
ftrace_events: "sched_switch"
|
|
ftrace_events: "sched_wakeup"
|
|
|
|
atrace_apps: "*"
|
|
|
|
compact_sched {
|
|
enabled: true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
data_sources {
|
|
config {
|
|
name: "track_event"
|
|
track_event_config {
|
|
disabled_categories: "*"
|
|
enabled_categories: "Driver"
|
|
enabled_categories: "EGL"
|
|
enabled_categories: "OpenGL"
|
|
enabled_categories: "VMM"
|
|
}
|
|
}
|
|
}
|
|
|
|
# Resolve process commandlines and parent/child relationships, to better
|
|
# interpret the ftrace events, which are in terms of pids.
|
|
data_sources {
|
|
config {
|
|
name: "linux.process_stats"
|
|
target_buffer: 0
|
|
}
|
|
}
|
|
|
|
data_sources {
|
|
config {
|
|
name: "gpu.metrics"
|
|
gpu_counter_config {
|
|
counter_period_ns: 1000000
|
|
}
|
|
}
|
|
}
|
|
|
|
write_into_file: true
|
|
flush_period_ms: 250
|
|
|