1packet { 2 trusted_packet_sequence_id: 1 3 timestamp: 0 4 incremental_state_cleared: true 5 track_descriptor { 6 uuid: 1 7 thread { 8 pid: 5 9 tid: 1 10 thread_name: "t1" 11 } 12 } 13} 14packet { 15 trusted_packet_sequence_id: 2 16 timestamp: 0 17 incremental_state_cleared: true 18 track_descriptor { 19 uuid: 1 20 thread { 21 pid: 5 22 tid: 5 23 thread_name: "t1" 24 } 25 } 26} 27packet { 28 # Emitted on tid 1. 29 # BEGIN parent 1 30 trusted_packet_sequence_id: 1 31 timestamp: 1000 32 track_event { 33 categories: "cat" 34 name: "name1" 35 debug_annotations { 36 name: "arg1" 37 string_value: "value1" 38 } 39 legacy_event { 40 phase: 83 # 'S' 41 global_id: 1234 42 } 43 } 44} 45packet { 46 # Emitted on tid 5. 47 # BEGIN parent 2 48 trusted_packet_sequence_id: 2 49 timestamp: 2000 50 track_event { 51 categories: "cat" 52 name: "name1" 53 legacy_event { 54 phase: 83 # 'S' 55 global_id: 1234 56 } 57 } 58} 59packet { 60 # Emitted on tid 5. 61 # END parent 2 62 trusted_packet_sequence_id: 2 63 timestamp: 3000 64 track_event { 65 categories: "cat" 66 name: "name1" 67 legacy_event { 68 phase: 70 # 'F' 69 global_id: 1234 70 } 71 } 72} 73packet { 74 # Emitted on tid 1. 75 # END parent 1 76 trusted_packet_sequence_id: 1 77 timestamp: 8000 78 track_event { 79 categories: "cat" 80 name: "name1" 81 debug_annotations { 82 name: "arg2" 83 string_value: "value2" 84 } 85 legacy_event { 86 phase: 70 # 'F' 87 global_id: 1234 88 } 89 } 90} 91packet { 92 # Emitted on tid 1. 93 trusted_packet_sequence_id: 1 94 timestamp: 3000 95 track_event { 96 categories: "cat" 97 name: "name1" 98 debug_annotations { 99 name: "arg3" 100 string_value: "value3" 101 } 102 debug_annotations { 103 name: "step" 104 string_value: "Step1" 105 } 106 legacy_event { 107 phase: 84 # 'T' 108 global_id: 1234 109 } 110 } 111} 112packet { 113 # Emitted on tid 1. 114 trusted_packet_sequence_id: 1 115 timestamp: 5000 116 track_event { 117 categories: "cat" 118 name: "name1" 119 debug_annotations { 120 name: "arg4" 121 string_value: "value4" 122 } 123 debug_annotations { 124 name: "step" 125 string_value: "Step2" 126 } 127 legacy_event { 128 phase: 112 # 'p' 129 global_id: 1234 130 } 131 } 132} 133