| packet { |
| translation_table { |
| slice_name { |
| raw_to_deobfuscated_name { key: "raw_name1" value: "mapped_name1" } |
| raw_to_deobfuscated_name { key: "raw_name2" value: "mapped_name2" } |
| raw_to_deobfuscated_name { key: "raw_slice_begin" value: "slice_begin" } |
| } |
| } |
| } |
| packet { |
| trusted_packet_sequence_id: 1 |
| timestamp: 1000 |
| track_event { |
| categories: "cat" |
| name: "raw_name1" |
| type: 3 |
| } |
| } |
| packet { |
| trusted_packet_sequence_id: 1 |
| timestamp: 2000 |
| track_event { |
| categories: "cat" |
| name: "raw_name2" |
| type: 3 |
| } |
| } |
| packet { |
| trusted_packet_sequence_id: 1 |
| timestamp: 3000 |
| track_event { |
| categories: "cat" |
| name: "raw_name3" |
| type: 3 |
| } |
| } |
| # Track for slice begin/end events. |
| packet { |
| timestamp: 4000 |
| trusted_packet_sequence_id: 2 |
| track_descriptor { |
| uuid: 12345 |
| thread { |
| pid: 123 |
| tid: 345 |
| } |
| parent_uuid: 0 |
| chrome_thread { |
| thread_type: THREAD_POOL_FG_WORKER |
| } |
| } |
| } |
| # Slice begin/end events |
| packet { |
| trusted_packet_sequence_id: 2 |
| timestamp: 5000 |
| track_event { |
| track_uuid: 12345 |
| categories: "cat" |
| name: "raw_slice_begin" |
| type: 1 |
| } |
| } |
| packet { |
| trusted_packet_sequence_id: 2 |
| timestamp: 6000 |
| track_event { |
| track_uuid: 12345 |
| categories: "cat" |
| type: 2 |
| } |
| } |