1packet {
2  system_info {
3    # Use bonito CPU core to cluster mapping.
4    android_build_fingerprint: "bonito"
5    hz: 100
6  }
7}
8packet {
9  timestamp: 1
10  process_tree {
11    processes {
12      pid: 5
13      ppid: 1
14      cmdline: "com.google.pid5"
15    }
16    threads {
17      tid: 5
18      tgid: 5
19    }
20    threads {
21      tid: 7
22      tgid: 5
23      name: "tid7"
24    }
25    processes {
26      pid: 11
27      ppid: 1
28      cmdline: "com.google.pid11"
29    }
30    threads {
31      tid: 11
32      tgid: 11
33      name: "tid11"
34    }
35    threads {
36      tid: 12
37      tgid: 11
38      name: "tid12"
39    }
40  }
41}
42packet {
43  timestamp: 2
44  process_stats {
45    processes {
46      pid: 5
47      threads {
48        tid: 5
49        cpu_freq_indices: 1
50        cpu_freq_ticks: 1
51        cpu_freq_indices: 2
52        cpu_freq_ticks: 1
53      }
54    }
55  }
56}
57packet {
58  timestamp: 3
59  process_stats {
60    processes {
61      pid: 5
62      threads {
63        tid: 5
64        cpu_freq_indices: 1
65        cpu_freq_ticks: 2
66        cpu_freq_indices: 2
67        cpu_freq_ticks: 1
68      }
69      threads {
70        tid: 7
71        cpu_freq_indices: 5
72        cpu_freq_ticks: 1
73      }
74    }
75    processes {
76      pid: 11
77      threads {
78        tid: 11
79        cpu_freq_indices: 6
80        cpu_freq_ticks: 1
81      }
82      threads {
83        tid: 12
84        cpu_freq_indices: 6
85        cpu_freq_ticks: 1
86      }
87    }
88  }
89}
90packet {
91  timestamp: 4
92  process_stats {
93    processes {
94      pid: 5
95      threads {
96        tid: 5
97        # cpu_freq_indices: 1 was skipped because it did not change.
98        cpu_freq_indices: 2
99        cpu_freq_ticks: 2
100      }
101    }
102    processes {
103      pid: 11
104      threads {
105        tid: 11
106        cpu_freq_indices: 6
107        cpu_freq_ticks: 2
108      }
109      threads {
110        tid: 12
111        cpu_freq_indices: 6
112        cpu_freq_ticks: 2
113      }
114    }
115  }
116}
117packet {
118  timestamp: 5
119  process_tree {
120    processes {
121      pid: 17
122      ppid: 1
123      cmdline: "com.google.pid17"
124    }
125    threads {
126      tid: 17
127      tgid: 17
128    }
129  }
130}
131packet {
132  timestamp: 5
133  process_stats {
134    processes {
135      pid: 17
136      threads {
137        tid: 17
138        cpu_freq_indices: 1
139        cpu_freq_ticks: 1
140        cpu_freq_indices: 2
141        cpu_freq_ticks: 1
142        cpu_freq_full: true
143      }
144    }
145  }
146}
147packet {
148  timestamp: 6
149  process_stats {
150    processes {
151      pid: 17
152      threads {
153        tid: 17
154        cpu_freq_indices: 1
155        cpu_freq_ticks: 2
156        # cpu_freq_indices: 2 was skipped because it did not change.
157      }
158    }
159  }
160}
161packet {
162  timestamp: 1
163  cpu_info {
164    cpus {
165      frequencies: 100000
166      frequencies: 200000
167    }
168    cpus {
169      frequencies: 100000
170      frequencies: 200000
171    }
172    cpus {
173      frequencies: 1000000
174      frequencies: 2000000
175    }
176    cpus {
177      frequencies: 1000000
178      frequencies: 2000000
179    }
180  }
181}
182