1buffers {
2  size_kb: 655360
3  fill_policy: RING_BUFFER
4}
5
6data_sources {
7  config {
8    name: "linux.ftrace"
9    target_buffer: 0
10    ftrace_config {
11      ftrace_events: "virtio_gpu/virtio_gpu_cmd_queue"
12      ftrace_events: "virtio_gpu/virtio_gpu_cmd_response"
13
14      ftrace_events: "sched_switch"
15      ftrace_events: "sched_wakeup"
16
17      atrace_apps: "*"
18
19      compact_sched {
20        enabled: true
21      }
22    }
23  }
24}
25
26data_sources {
27  config {
28    name: "track_event"
29    track_event_config {
30        disabled_categories: "*"
31        enabled_categories: "Driver"
32#        enabled_categories: "EGL"
33        enabled_categories: "Gallium"
34        enabled_categories: "OpenGL"
35    }
36  }
37}
38
39# Resolve process commandlines and parent/child relationships, to better
40# interpret the ftrace events, which are in terms of pids.
41data_sources {
42  config {
43    name: "linux.process_stats"
44    target_buffer: 0
45  }
46}
47
48write_into_file: true
49flush_period_ms: 10000
50