1packet { 2 trusted_packet_sequence_id: 1 3 timestamp: 0 4 track_descriptor { 5 uuid: 1 6 thread { 7 pid: 1 8 tid: 1 9 thread_name: "t1" 10 } 11 } 12} 13packet { 14 trusted_packet_sequence_id: 1 15 timestamp: 0 16 track_descriptor { 17 uuid: 2 18 thread { 19 pid: 2 20 tid: 2 21 thread_name: "t2" 22 } 23 } 24} 25packet { 26 timestamp: 10000 27 trusted_packet_sequence_id: 1 28 track_event { 29 name: "FlowSlice1Start" 30 categories: "test" 31 track_uuid: 1, 32 flow_ids: 1, 33 legacy_event { 34 duration_us: 10 35 phase: 88 # 'X' 36 } 37 } 38} 39packet { 40 timestamp: 30000 41 trusted_packet_sequence_id: 1 42 track_event { 43 name: "FlowSlice1End" 44 categories: "test" 45 track_uuid: 2, 46 terminating_flow_ids: 1, 47 legacy_event { 48 duration_us: 10 49 phase: 88 # 'X' 50 } 51 } 52} 53packet { 54 timestamp: 50000 55 trusted_packet_sequence_id: 1 56 track_event { 57 name: "FlowSlice1Start2Start" 58 categories: "test" 59 track_uuid: 1, 60 flow_ids: 1, 61 flow_ids: 2, 62 legacy_event { 63 duration_us: 10 64 phase: 88 # 'X' 65 } 66 } 67} 68packet { 69 timestamp: 55000 70 trusted_packet_sequence_id: 1 71 track_event { 72 name: "FlowSlice1End" 73 categories: "test" 74 track_uuid: 2, 75 flow_ids: 1, 76 legacy_event { 77 duration_us: 10 78 phase: 88 # 'X' 79 } 80 } 81} 82 83packet { 84 timestamp: 58000 85 trusted_packet_sequence_id: 1 86 track_event { 87 name: "FlowSlice3Begin" 88 categories: "test" 89 track_uuid: 2, 90 flow_ids: 3, 91 legacy_event { 92 phase: 73 # 'I' 93 } 94 } 95} 96packet { 97 timestamp: 59000 98 trusted_packet_sequence_id: 1 99 track_event { 100 name: "FlowSlice2End" 101 categories: "test" 102 track_uuid: 2, 103 flow_ids: 2, 104 legacy_event { 105 duration_us: 10 106 phase: 88 # 'X' 107 } 108 } 109} 110packet { 111 trusted_packet_sequence_id: 1 112 timestamp: 0 113 track_descriptor { 114 uuid: 11 115 name: "async" 116 } 117} 118packet { 119 timestamp: 60000 120 trusted_packet_sequence_id: 1 121 track_event { 122 name: "FlowSlice3End4Begin" 123 categories: "test" 124 track_uuid: 11, 125 terminating_flow_ids: 3, 126 flow_ids: 4, 127 type: 1, # 'TYPE_SLICE_BEGIN' 128 } 129} 130packet { 131 timestamp: 61000 132 trusted_packet_sequence_id: 1 133 track_event { 134 name: "FlowSlice4Step" 135 categories: "test" 136 track_uuid: 11, 137 flow_ids: 4, 138 type: 3, # 'TYPE_SLICE_INSTANT' 139 } 140} 141packet { 142 timestamp: 62000 143 trusted_packet_sequence_id: 1 144 track_event { 145 name: "FlowSlice3End4Begin" 146 categories: "test" 147 track_uuid: 11, 148 type: 2, # 'TYPE_SLICE_END' 149 } 150} 151packet { 152 trusted_packet_sequence_id: 1 153 timestamp: 0 154 track_descriptor { 155 uuid: 13 156 name: "processTrack" 157 process { 158 pid: 3 159 process_name: "processTrack" 160 } 161 } 162} 163packet { 164 timestamp: 65000 165 trusted_packet_sequence_id: 1 166 track_event { 167 name: "FlowSlice4End" 168 categories: "test" 169 track_uuid: 13, 170 terminating_flow_ids: 4, 171 legacy_event { 172 phase: 105 # 'i' 173 instant_event_scope: 2 # SCOPE_PROCESS 174 } 175 } 176} 177