Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- duration_ms: 5000
- # This buffer is for the initial process tree snapshot.
- buffers {
- size_kb: 64
- fill_policy: RING_BUFFER
- }
- # This buffer is for ftrace events and on-demand process snapshots.
- buffers {
- size_kb: 4032
- fill_policy: RING_BUFFER
- }
- # This data source is for initial process tree dumps only.
- data_sources {
- config {
- name: "linux.process_stats"
- target_buffer: 0
- process_stats_config {
- quirks: DISABLE_ON_DEMAND
- scan_all_processes_on_start: true
- }
- }
- }
- data_sources {
- config {
- name: "linux.ftrace"
- target_buffer: 1
- ftrace_config {
- buffer_size_kb: 2048
- drain_period_ms: 250
- ftrace_events: "cpu_frequency"
- ftrace_events: "print"
- ftrace_events: "sched_switch"
- ftrace_events: "cpu_idle"
- ftrace_events: "irq_handler_entry"
- ftrace_events: "irq_handler_exit"
- ftrace_events: "block_rq_issue"
- atrace_categories: "input"
- atrace_categories: "am"
- atrace_categories: "sm"
- atrace_categories: "audio"
- atrace_categories: "video"
- atrace_categories: "camera"
- atrace_categories: "hal"
- atrace_categories: "power"
- atrace_categories: "ss"
- atrace_categories: "nnapi"
- atrace_categories: "wm"
- atrace_categories: "gfx"
- }
- }
- }
- data_sources {
- config {
- name: "android.power"
- target_buffer: 1
- android_power_config {
- battery_poll_ms: 1000
- battery_counters: BATTERY_COUNTER_CHARGE
- battery_counters: BATTERY_COUNTER_CAPACITY_PERCENT
- battery_counters: BATTERY_COUNTER_CURRENT_AVG
- }
- }
- }
- # This data source is for on-demand snapshots only.
- data_sources {
- config {
- name: "linux.process_stats"
- target_buffer: 1
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement