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 location_names { 97 iid: 1 98 str: "base.apk!classes.dex" 99 } 100 types { 101 id: 1 102 class_name: "FactoryProducerDelegateImplActor" 103 location_id: 1 104 } 105 types { 106 id: 2 107 class_name: "Foo" 108 location_id: 1 109 } 110 types { 111 id: 3 112 class_name: "a" 113 location_id: 1 114 } 115 types { 116 id: 4 117 class_name: "a[]" 118 location_id: 1 119 } 120 types { 121 id: 5 122 class_name: "java.lang.Class<a[]>" 123 location_id: 1 124 } 125 field_names { 126 iid: 1 127 str: "FactoryProducerDelegateImplActor.foo" 128 } 129 field_names { 130 iid: 2 131 str: "int a.a" 132 } 133 field_names { 134 iid: 3 135 str: "a.b" 136 } 137 field_names { 138 iid: 4 139 str: "FactoryProducerDelegateImplActor.setToNULL" 140 } 141 continued: false 142 index: 1 143 } 144} 145packet { 146 deobfuscation_mapping { 147 package_name: "invalid.test.android" 148 obfuscated_classes { 149 obfuscated_name: "a" 150 deobfuscated_name: "DeobfuscatedA" 151 obfuscated_members { 152 obfuscated_name: "a" 153 deobfuscated_name: "deobfuscatedA" 154 } 155 obfuscated_members { 156 obfuscated_name: "b" 157 deobfuscated_name: "Other.deobfuscatedA" 158 } 159 } 160 } 161} 162