1# RSS events 2buffers { 3 size_kb: 32768 4 fill_policy: RING_BUFFER 5} 6 7# procfs polling 8buffers { 9 size_kb: 8192 10 fill_policy: RING_BUFFER 11} 12 13# logcat 14buffers { 15 size_kb: 8192 16 fill_policy: RING_BUFFER 17} 18 19data_sources { 20 config { 21 name: "linux.ftrace" 22 target_buffer: 0 23 ftrace_config { 24 throttle_rss_stat: true 25 buffer_size_kb: 16384 26 drain_period_ms: 250 27 compact_sched { 28 enabled: true 29 } 30 initialize_ksyms_synchronously_for_testing: true 31 32 ftrace_events: "task/task_newtask" 33 ftrace_events: "task/task_rename" 34 ftrace_events: "sched/sched_process_exit" 35 ftrace_events: "sched/sched_process_free" 36 37 ftrace_events: "rss_stat" 38 ftrace_events: "dmabuf_heap/dma_heap_stat" 39 ftrace_events: "oom_score_adj_update" 40 ftrace_events: "fastrpc/fastrpc_dma_stat" 41 ftrace_events: "lowmemorykiller/lowmemory_kill" 42 43 # AdServices package name on T+ 44 atrace_apps: "com.google.android.adservices.api" 45 # AdServices package name on S- (go/rbc-design) 46 atrace_apps: "com.google.android.ext.adservices.api" 47 atrace_apps: "lmkd" 48 49 atrace_categories: "aidl" 50 atrace_categories: "sched" 51 atrace_categories: "freq" 52 atrace_categories: "webview" 53 } 54 } 55} 56 57data_sources { 58 config { 59 name: "linux.process_stats" 60 target_buffer: 1 61 process_stats_config { 62 proc_stats_poll_ms: 1000 63 } 64 } 65} 66 67data_sources { 68 config { 69 name: "linux.sys_stats" 70 target_buffer: 1 71 sys_stats_config { 72 meminfo_period_ms: 1000 73 meminfo_counters: MEMINFO_ACTIVE 74 meminfo_counters: MEMINFO_INACTIVE 75 } 76 } 77} 78 79data_sources: { 80 config: { 81 name: "android.log" 82 target_buffer: 2 83 android_log_config: { 84 filter_tags: "adservices" 85 filter_tags: "AdServicesFledgeClient" 86 filter_tags: "AdServices" 87 filter_tags: "FledgeSample" 88 } 89 } 90} 91