1buffers { 2 size_kb: 32768 3} 4 5buffers { 6 size_kb: 32768 7} 8 9data_sources { 10 config { 11 target_buffer: 1 12 name: "android.log" 13 android_log_config { 14 log_ids: LID_DEFAULT 15 log_ids: LID_SYSTEM 16 log_ids: LID_EVENTS 17 log_ids: LID_CRASH 18 } 19 } 20} 21 22data_sources { 23 config { 24 name: "linux.ftrace" 25 target_buffer: 0 26 ftrace_config { 27 buffer_size_kb: 4096 28 drain_period_ms: 200 29 ftrace_events: "print" 30 ftrace_events: "sched_blocked_reason" 31 ftrace_events: "sched_cpu_hotplug" 32 ftrace_events: "sched_process_exec" 33 ftrace_events: "sched_process_exit" 34 ftrace_events: "sched_process_fork" 35 ftrace_events: "sched_process_free" 36 ftrace_events: "sched_process_hang" 37 ftrace_events: "sched_process_wait" 38 ftrace_events: "sched_switch" 39 ftrace_events: "sched_wakeup_new" 40 ftrace_events: "sched_wakeup" 41 ftrace_events: "sched_waking" 42 ftrace_events: "task_newtask" 43 ftrace_events: "task_rename" 44 } 45 } 46} 47 48data_sources { 49 config { 50 name: "linux.process_stats" 51 target_buffer: 0 52 } 53} 54 55write_into_file: true 56duration_ms: 3600000 57