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 timestamp: 1 19 process_stats { 20 processes { 21 pid: 2 22 rss_anon_kb: 1000 23 vm_swap_kb: 0 24 oom_score_adj: 0 25 } 26 } 27} 28packet { 29 timestamp: 10 30 process_stats { 31 processes { 32 pid: 2 33 rss_anon_kb: 1000 34 vm_swap_kb: 3000 35 oom_score_adj: 0 36 } 37 } 38} 39packet { 40 trusted_packet_sequence_id: 999 41 timestamp: 10 42 heap_graph { 43 pid: 2 44 roots { 45 root_type: ROOT_JAVA_FRAME 46 object_ids: 0x01 47 object_ids: 0x05 48 } 49 objects { 50 id: 0x01 51 type_id: 1 52 self_size: 64 53 reference_field_id: 1 54 reference_object_id: 0x02 55 reference_field_id: 4 56 reference_object_id: 0x00 57 reference_field_id: 3 58 reference_object_id: 0x02 59 } 60 objects { 61 id: 0x02 62 type_id: 2 63 self_size: 32 64 } 65 objects { 66 id: 0x03 67 type_id: 2 68 self_size: 128 69 } 70 objects { 71 id: 0x04 72 type_id: 3 73 self_size: 256 74 reference_field_id: 2 75 reference_object_id: 0x01 76 } 77 objects { 78 id: 0x05 79 type_id: 4 80 self_size: 256 81 } 82 objects { 83 id: 0x06 84 type_id: 5 85 self_size: 256 86 } 87 continued: true 88 index: 0 89 } 90} 91packet { 92 trusted_packet_sequence_id: 999 93 timestamp: 10 94 heap_graph { 95 pid: 2 96 types { 97 id: 1 98 class_name: "FactoryProducerDelegateImplActor" 99 } 100 types { 101 id: 2 102 class_name: "Foo" 103 } 104 types { 105 id: 3 106 class_name: "a" 107 } 108 types { 109 id: 4 110 class_name: "a[]" 111 } 112 types { 113 id: 5 114 class_name: "java.lang.Class<a[]>" 115 } 116 field_names { 117 iid: 1 118 str: "FactoryProducerDelegateImplActor.foo" 119 } 120 field_names { 121 iid: 2 122 str: "int a.a" 123 } 124 field_names { 125 iid: 3 126 str: "a.b" 127 } 128 field_names { 129 iid: 4 130 str: "FactoryProducerDelegateImplActor.setToNULL" 131 } 132 continued: false 133 index: 1 134 } 135} 136packet { 137 deobfuscation_mapping { 138 package_name: "invalid.example.android" 139 obfuscated_classes { 140 obfuscated_name: "a" 141 deobfuscated_name: "DeobfuscatedA" 142 obfuscated_members { 143 obfuscated_name: "a" 144 deobfuscated_name: "deobfuscatedA" 145 } 146 obfuscated_members { 147 obfuscated_name: "b" 148 deobfuscated_name: "Other.deobfuscatedA" 149 } 150 } 151 } 152} 153