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}
17
18packet {
19  clock_snapshot {
20    clocks: {
21      clock_id: 6 # BOOTTIME
22      timestamp: 0
23    }
24    clocks: {
25      clock_id: 4 # MONOTONIC_COARSE
26      timestamp: 10
27    }
28  }
29}
30
31packet {
32  trusted_packet_sequence_id: 999
33  previous_packet_dropped: true
34  incremental_state_cleared: true
35  timestamp: 10
36  profile_packet {
37    strings {
38      iid: 1
39      str: "a.f1"
40    }
41    strings {
42      iid: 2
43      str: "data/app/com.google.android.webview-6XfQhnaSkFwGK0sYL9is0G==/base.apk"
44    }
45    strings {
46      iid: 3
47      str: "build-id"
48    }
49    frames {
50      iid: 1
51      function_name_id: 1
52      mapping_id: 1
53      rel_pc: 0x1000
54    }
55    callstacks {
56      iid: 1
57      frame_ids: 1
58      frame_ids: 1
59    }
60    mappings {
61      iid: 1
62      path_string_ids: 2
63      build_id: 3
64    }
65    process_dumps {
66      pid: 2
67      samples {
68        callstack_id: 1
69        self_allocated: 2000
70        self_freed: 1000
71        alloc_count: 2
72        free_count: 1
73      }
74    }
75  }
76}
77packet {
78  deobfuscation_mapping {
79    package_name: "com.google.android.wrong"
80    version_code: 1234
81    obfuscated_classes {
82      obfuscated_name: "a"
83      deobfuscated_name: "Foo"
84      obfuscated_methods {
85        obfuscated_name: "f1"
86        deobfuscated_name: "function2"
87      }
88    }
89  }
90  deobfuscation_mapping {
91    package_name: "com.google.android.webview"
92    version_code: 1234
93    obfuscated_classes {
94      obfuscated_name: "a"
95      deobfuscated_name: "Bar"
96      obfuscated_methods {
97        obfuscated_name: "f1"
98        deobfuscated_name: "function1"
99      }
100    }
101  }
102}
103