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