1unique_session_name: "perfetto_mm_events_session" 2 3bugreport_score: 100 4 5buffers: { 6 size_kb: 512 7 fill_policy: DISCARD 8} 9 10data_sources: { 11 config { 12 name: "linux.sys_stats" 13 sys_stats_config { 14 vmstat_period_ms: 500 15 vmstat_counters: VMSTAT_NR_FREE_PAGES 16 vmstat_counters: VMSTAT_NR_SLAB_RECLAIMABLE 17 vmstat_counters: VMSTAT_NR_SLAB_UNRECLAIMABLE 18 vmstat_counters: VMSTAT_NR_ACTIVE_FILE 19 vmstat_counters: VMSTAT_NR_INACTIVE_FILE 20 vmstat_counters: VMSTAT_NR_ACTIVE_ANON 21 vmstat_counters: VMSTAT_NR_INACTIVE_ANON 22 vmstat_counters: VMSTAT_WORKINGSET_REFAULT 23 vmstat_counters: VMSTAT_WORKINGSET_ACTIVATE 24 vmstat_counters: VMSTAT_NR_FILE_PAGES 25 vmstat_counters: VMSTAT_PGPGIN 26 vmstat_counters: VMSTAT_PGPGOUT 27 vmstat_counters: VMSTAT_PSWPIN 28 vmstat_counters: VMSTAT_PSWPOUT 29 vmstat_counters: VMSTAT_PGSTEAL_KSWAPD_DMA 30 vmstat_counters: VMSTAT_PGSTEAL_KSWAPD_NORMAL 31 vmstat_counters: VMSTAT_PGSTEAL_KSWAPD_MOVABLE 32 vmstat_counters: VMSTAT_PGSTEAL_DIRECT_DMA 33 vmstat_counters: VMSTAT_PGSTEAL_DIRECT_NORMAL 34 vmstat_counters: VMSTAT_PGSTEAL_DIRECT_MOVABLE 35 vmstat_counters: VMSTAT_PGSCAN_KSWAPD_DMA 36 vmstat_counters: VMSTAT_PGSCAN_KSWAPD_NORMAL 37 vmstat_counters: VMSTAT_PGSCAN_KSWAPD_MOVABLE 38 vmstat_counters: VMSTAT_PGSCAN_DIRECT_DMA 39 vmstat_counters: VMSTAT_PGSCAN_DIRECT_NORMAL 40 vmstat_counters: VMSTAT_PGSCAN_DIRECT_MOVABLE 41 vmstat_counters: VMSTAT_COMPACT_MIGRATE_SCANNED 42 vmstat_counters: VMSTAT_COMPACT_FREE_SCANNED 43 } 44 } 45} 46 47data_sources: { 48 config { 49 name: "linux.ftrace" 50 ftrace_config { 51 ftrace_events: "vmscan/mm_vmscan_kswapd_wake" 52 ftrace_events: "vmscan/mm_vmscan_kswapd_sleep" 53 ftrace_events: "vmscan/mm_vmscan_direct_reclaim_begin" 54 ftrace_events: "vmscan/mm_vmscan_direct_reclaim_end" 55 ftrace_events: "compaction/mm_compaction_begin" 56 ftrace_events: "compaction/mm_compaction_end" 57 } 58 } 59} 60 61trigger_config { 62 trigger_mode: START_TRACING 63 trigger_timeout_ms: 120000 64 triggers { 65 name: "kmem_activity" 66 stop_delay_ms: 10000 67 } 68} 69