• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1buffers {
2  size_kb: 102400
3  fill_policy: RING_BUFFER
4}
5
6data_sources {
7  config {
8    name: "linux.ftrace"
9    target_buffer: 0
10    ftrace_config {
11      # Scheduling information & process tracking. Useful for:
12      # - what is happening on each CPU at each moment
13      # - why a thread was descheduled
14      # - parent/child relationships between processes and threads.
15      ftrace_events: "sched/sched_switch"
16      ftrace_events: "power/suspend_resume"
17      ftrace_events: "sched/sched_process_exit"
18      ftrace_events: "sched/sched_process_free"
19      ftrace_events: "task/task_newtask"
20      ftrace_events: "task/task_rename"
21
22      # Wakeup info. Allows you to compute how long a task was
23      # blocked due to CPU contention.
24      ftrace_events: "sched/sched_wakeup"
25
26      # os.Trace markers:
27      ftrace_events: "ftrace/print"
28
29      # Atrace events from com.google.android.GoogleCamera
30      atrace_apps: "com.google.android.GoogleCamera"
31
32      # LMK
33      atrace_apps: "lmkd"
34      ftrace_events: "lowmemorykiller/lowmemory_kill"
35      ftrace_events: "oom/oom_score_adj_update"
36
37      # Atrace camera category:
38      atrace_categories: "camera"
39      # Atrace activity manager:
40      atrace_categories: "am"
41      # Atrace system_server:
42      atrace_categories: "ss"
43
44      # RSS and ION buffer events:
45      ftrace_events: "mm_event/mm_event_record"
46      ftrace_events: "kmem/rss_stat"
47      ftrace_events: "kmem/ion_heap_grow"
48      ftrace_events: "kmem/ion_heap_shrink"
49    }
50  }
51}
52
53data_sources: {
54    config {
55        name: "linux.process_stats"
56        target_buffer: 0
57        process_stats_config {
58            scan_all_processes_on_start: true
59        }
60    }
61}
62
63duration_ms: 10000
64