1// Minimum config required to collect Chrome and V8 stack samples on Android. 2// V8 Jitted code will be symbolized but to symbolize chrome you will need to 3// use Perfetto's symbolization tools. 4{ 5 browsers: { 6 chrome: { 7 browser: "chrome-stable", 8 flags: [ 9 "--js-flags=--interpreted_frames_native_stack,--perfetto_code_logger" 10 ] 11 driver: { 12 type: "adb", 13 }}} 14 env: {} 15 probes: { 16 trace_processor: { 17 } 18 perfetto: { 19 textproto: ''' 20buffers { 21 size_kb: 500000 22 fill_policy: DISCARD 23} 24data_sources { 25 config { 26 name: "dev.v8.code" 27 }} 28''' 29 } 30 profiling: { 31 target: "renderer_main_only" 32 pprof: false 33 events: ['cpu-cycles'] 34 count: 1000000 35 }}} 36