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: 3 56 reference_object_id: 0x02 57 } 58 objects { 59 id: 0x02 60 type_id: 2 61 self_size: 32 62 } 63 objects { 64 id: 0x03 65 type_id: 2 66 self_size: 128 67 } 68 objects { 69 id: 0x04 70 type_id: 3 71 self_size: 256 72 reference_field_id: 2 73 reference_object_id: 0x01 74 } 75 objects { 76 id: 0x05 77 type_id: 4 78 self_size: 256 79 } 80 objects { 81 id: 0x06 82 type_id: 5 83 self_size: 256 84 } 85 continued: true 86 index: 0 87 } 88} 89packet { 90 trusted_packet_sequence_id: 999 91 timestamp: 10 92 heap_graph { 93 pid: 2 94 type_names { 95 iid: 1 96 str: "FactoryProducerDelegateImplActor" 97 } 98 type_names { 99 iid: 2 100 str: "Foo" 101 } 102 type_names { 103 iid: 3 104 str: "a" 105 } 106 type_names { 107 iid: 4 108 str: "a[]" 109 } 110 type_names { 111 iid: 5 112 str: "java.lang.Class<a[]>" 113 } 114 field_names { 115 iid: 1 116 str: "FactoryProducerDelegateImplActor.foo" 117 } 118 field_names { 119 iid: 2 120 str: "int a.a" 121 } 122 field_names { 123 iid: 3 124 str: "a.b" 125 } 126 continued: false 127 index: 1 128 } 129} 130packet { 131 deobfuscation_mapping { 132 package_name: "invalid.example.android" 133 obfuscated_classes { 134 obfuscated_name: "a" 135 deobfuscated_name: "DeobfuscatedA" 136 obfuscated_members { 137 obfuscated_name: "a" 138 deobfuscated_name: "deobfuscatedA" 139 } 140 obfuscated_members { 141 obfuscated_name: "b" 142 deobfuscated_name: "Other.deobfuscatedA" 143 } 144 } 145 } 146} 147