1packet { 2 process_tree { 3 processes { 4 pid: 1 5 ppid: 0 6 cmdline: "init" 7 uid: 0 8 } 9 processes { 10 pid: 2 11 ppid: 1 12 cmdline: "system_server" 13 uid: 1000 14 } 15 } 16} 17packet { 18 trusted_packet_sequence_id: 999 19 timestamp: 10 20 heap_graph { 21 pid: 2 22 roots { 23 root_type: ROOT_JAVA_FRAME 24 object_ids: 0x01 25 } 26 objects { 27 id: 0x01 28 type_id: 1 29 self_size: 100 30 reference_field_id: 1 31 reference_object_id: 0x02 32 reference_field_id: 1 33 reference_object_id: 0x04 34 } 35 objects { 36 id: 0x02 37 type_id: 2 38 self_size: 200 39 reference_field_id: 1 40 reference_object_id: 0x03 41 } 42 objects { 43 id: 0x03 44 type_id: 3 45 self_size: 400 46 } 47 objects { 48 id: 0x04 49 type_id: 4 50 self_size: 800 51 reference_field_id: 1 52 reference_object_id: 0x05 53 } 54 objects { 55 id: 0x05 56 type_id: 5 57 self_size: 1600 58 } 59 continued: true 60 index: 0 61 } 62} 63packet { 64 trusted_packet_sequence_id: 999 65 heap_graph { 66 pid: 2 67 types { 68 id: 1 69 class_name: "RootNode" 70 } 71 types { 72 id: 2 73 class_name: "LeftChild0" 74 } 75 types { 76 id: 3 77 class_name: "LeftChild1" 78 } 79 types { 80 id: 4 81 class_name: "RightChild0" 82 } 83 types { 84 id: 5 85 class_name: "RightChild1" 86 } 87 field_names { 88 iid: 1 89 str: "Node.next" 90 } 91 continued: false 92 index: 1 93 } 94} 95 96