1packet { 2 translation_table { 3 slice_name { 4 raw_to_deobfuscated_name { key: "raw_name1" value: "mapped_name1" } 5 raw_to_deobfuscated_name { key: "raw_name2" value: "mapped_name2" } 6 raw_to_deobfuscated_name { key: "raw_slice_begin" value: "slice_begin" } 7 } 8 } 9} 10packet { 11 trusted_packet_sequence_id: 1 12 timestamp: 1000 13 track_event { 14 categories: "cat" 15 name: "raw_name1" 16 type: 3 17 } 18} 19packet { 20 trusted_packet_sequence_id: 1 21 timestamp: 2000 22 track_event { 23 categories: "cat" 24 name: "raw_name2" 25 type: 3 26 } 27} 28packet { 29 trusted_packet_sequence_id: 1 30 timestamp: 3000 31 track_event { 32 categories: "cat" 33 name: "raw_name3" 34 type: 3 35 } 36} 37# Track for slice begin/end events. 38packet { 39 timestamp: 4000 40 trusted_packet_sequence_id: 2 41 track_descriptor { 42 uuid: 12345 43 thread { 44 pid: 123 45 tid: 345 46 } 47 parent_uuid: 0 48 chrome_thread { 49 thread_type: THREAD_POOL_FG_WORKER 50 } 51 } 52} 53# Slice begin/end events 54packet { 55 trusted_packet_sequence_id: 2 56 timestamp: 5000 57 track_event { 58 track_uuid: 12345 59 categories: "cat" 60 name: "raw_slice_begin" 61 type: 1 62 } 63} 64packet { 65 trusted_packet_sequence_id: 2 66 timestamp: 6000 67 track_event { 68 track_uuid: 12345 69 categories: "cat" 70 type: 2 71 } 72} 73