1 // Autogenerated by:
2 // ../../tools/ftrace_proto_gen/ftrace_proto_gen.cc
3 // Do not edit.
4
5 #include "src/traced/probes/ftrace/event_info.h"
6 #include "perfetto/protozero/proto_utils.h"
7
8 namespace perfetto {
9
10 using protozero::proto_utils::ProtoSchemaType;
11
GetStaticEventInfo()12 std::vector<Event> GetStaticEventInfo() {
13 std::vector<Event> events;
14
15 {
16 events.emplace_back(Event{});
17 Event* event = &events.back();
18 event->name = "binder_transaction";
19 event->group = "binder";
20 event->proto_field_id = 50;
21 event->fields.push_back(MakeField("debug_id", 1, ProtoSchemaType::kInt32));
22 event->fields.push_back(
23 MakeField("target_node", 2, ProtoSchemaType::kInt32));
24 event->fields.push_back(MakeField("to_proc", 3, ProtoSchemaType::kInt32));
25 event->fields.push_back(MakeField("to_thread", 4, ProtoSchemaType::kInt32));
26 event->fields.push_back(MakeField("reply", 5, ProtoSchemaType::kInt32));
27 event->fields.push_back(MakeField("code", 6, ProtoSchemaType::kUint32));
28 event->fields.push_back(MakeField("flags", 7, ProtoSchemaType::kUint32));
29 }
30
31 {
32 events.emplace_back(Event{});
33 Event* event = &events.back();
34 event->name = "binder_transaction_received";
35 event->group = "binder";
36 event->proto_field_id = 51;
37 event->fields.push_back(MakeField("debug_id", 1, ProtoSchemaType::kInt32));
38 }
39
40 {
41 events.emplace_back(Event{});
42 Event* event = &events.back();
43 event->name = "binder_set_priority";
44 event->group = "binder";
45 event->proto_field_id = 52;
46 event->fields.push_back(MakeField("proc", 1, ProtoSchemaType::kInt32));
47 event->fields.push_back(MakeField("thread", 2, ProtoSchemaType::kInt32));
48 event->fields.push_back(MakeField("old_prio", 3, ProtoSchemaType::kUint32));
49 event->fields.push_back(MakeField("new_prio", 4, ProtoSchemaType::kUint32));
50 event->fields.push_back(
51 MakeField("desired_prio", 5, ProtoSchemaType::kUint32));
52 }
53
54 {
55 events.emplace_back(Event{});
56 Event* event = &events.back();
57 event->name = "binder_lock";
58 event->group = "binder";
59 event->proto_field_id = 53;
60 event->fields.push_back(MakeField("tag", 1, ProtoSchemaType::kString));
61 }
62
63 {
64 events.emplace_back(Event{});
65 Event* event = &events.back();
66 event->name = "binder_locked";
67 event->group = "binder";
68 event->proto_field_id = 54;
69 event->fields.push_back(MakeField("tag", 1, ProtoSchemaType::kString));
70 }
71
72 {
73 events.emplace_back(Event{});
74 Event* event = &events.back();
75 event->name = "binder_unlock";
76 event->group = "binder";
77 event->proto_field_id = 55;
78 event->fields.push_back(MakeField("tag", 1, ProtoSchemaType::kString));
79 }
80
81 {
82 events.emplace_back(Event{});
83 Event* event = &events.back();
84 event->name = "binder_transaction_alloc_buf";
85 event->group = "binder";
86 event->proto_field_id = 323;
87 event->fields.push_back(
88 MakeField("data_size", 1, ProtoSchemaType::kUint64));
89 event->fields.push_back(MakeField("debug_id", 2, ProtoSchemaType::kInt32));
90 event->fields.push_back(
91 MakeField("offsets_size", 3, ProtoSchemaType::kUint64));
92 }
93
94 {
95 events.emplace_back(Event{});
96 Event* event = &events.back();
97 event->name = "block_rq_issue";
98 event->group = "block";
99 event->proto_field_id = 45;
100 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
101 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
102 event->fields.push_back(
103 MakeField("nr_sector", 3, ProtoSchemaType::kUint32));
104 event->fields.push_back(MakeField("bytes", 4, ProtoSchemaType::kUint32));
105 event->fields.push_back(MakeField("rwbs", 5, ProtoSchemaType::kString));
106 event->fields.push_back(MakeField("comm", 6, ProtoSchemaType::kString));
107 event->fields.push_back(MakeField("cmd", 7, ProtoSchemaType::kString));
108 }
109
110 {
111 events.emplace_back(Event{});
112 Event* event = &events.back();
113 event->name = "block_bio_backmerge";
114 event->group = "block";
115 event->proto_field_id = 115;
116 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
117 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
118 event->fields.push_back(
119 MakeField("nr_sector", 3, ProtoSchemaType::kUint32));
120 event->fields.push_back(MakeField("rwbs", 4, ProtoSchemaType::kString));
121 event->fields.push_back(MakeField("comm", 5, ProtoSchemaType::kString));
122 }
123
124 {
125 events.emplace_back(Event{});
126 Event* event = &events.back();
127 event->name = "block_bio_bounce";
128 event->group = "block";
129 event->proto_field_id = 116;
130 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
131 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
132 event->fields.push_back(
133 MakeField("nr_sector", 3, ProtoSchemaType::kUint32));
134 event->fields.push_back(MakeField("rwbs", 4, ProtoSchemaType::kString));
135 event->fields.push_back(MakeField("comm", 5, ProtoSchemaType::kString));
136 }
137
138 {
139 events.emplace_back(Event{});
140 Event* event = &events.back();
141 event->name = "block_bio_complete";
142 event->group = "block";
143 event->proto_field_id = 117;
144 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
145 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
146 event->fields.push_back(
147 MakeField("nr_sector", 3, ProtoSchemaType::kUint32));
148 event->fields.push_back(MakeField("error", 4, ProtoSchemaType::kInt32));
149 event->fields.push_back(MakeField("rwbs", 5, ProtoSchemaType::kString));
150 }
151
152 {
153 events.emplace_back(Event{});
154 Event* event = &events.back();
155 event->name = "block_bio_frontmerge";
156 event->group = "block";
157 event->proto_field_id = 118;
158 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
159 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
160 event->fields.push_back(
161 MakeField("nr_sector", 3, ProtoSchemaType::kUint32));
162 event->fields.push_back(MakeField("rwbs", 4, ProtoSchemaType::kString));
163 event->fields.push_back(MakeField("comm", 5, ProtoSchemaType::kString));
164 }
165
166 {
167 events.emplace_back(Event{});
168 Event* event = &events.back();
169 event->name = "block_bio_queue";
170 event->group = "block";
171 event->proto_field_id = 119;
172 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
173 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
174 event->fields.push_back(
175 MakeField("nr_sector", 3, ProtoSchemaType::kUint32));
176 event->fields.push_back(MakeField("rwbs", 4, ProtoSchemaType::kString));
177 event->fields.push_back(MakeField("comm", 5, ProtoSchemaType::kString));
178 }
179
180 {
181 events.emplace_back(Event{});
182 Event* event = &events.back();
183 event->name = "block_bio_remap";
184 event->group = "block";
185 event->proto_field_id = 120;
186 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
187 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
188 event->fields.push_back(
189 MakeField("nr_sector", 3, ProtoSchemaType::kUint32));
190 event->fields.push_back(MakeField("old_dev", 4, ProtoSchemaType::kUint64));
191 event->fields.push_back(
192 MakeField("old_sector", 5, ProtoSchemaType::kUint64));
193 event->fields.push_back(MakeField("rwbs", 6, ProtoSchemaType::kString));
194 }
195
196 {
197 events.emplace_back(Event{});
198 Event* event = &events.back();
199 event->name = "block_dirty_buffer";
200 event->group = "block";
201 event->proto_field_id = 121;
202 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
203 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
204 event->fields.push_back(MakeField("size", 3, ProtoSchemaType::kUint64));
205 }
206
207 {
208 events.emplace_back(Event{});
209 Event* event = &events.back();
210 event->name = "block_getrq";
211 event->group = "block";
212 event->proto_field_id = 122;
213 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
214 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
215 event->fields.push_back(
216 MakeField("nr_sector", 3, ProtoSchemaType::kUint32));
217 event->fields.push_back(MakeField("rwbs", 4, ProtoSchemaType::kString));
218 event->fields.push_back(MakeField("comm", 5, ProtoSchemaType::kString));
219 }
220
221 {
222 events.emplace_back(Event{});
223 Event* event = &events.back();
224 event->name = "block_plug";
225 event->group = "block";
226 event->proto_field_id = 123;
227 event->fields.push_back(MakeField("comm", 1, ProtoSchemaType::kString));
228 }
229
230 {
231 events.emplace_back(Event{});
232 Event* event = &events.back();
233 event->name = "block_rq_abort";
234 event->group = "block";
235 event->proto_field_id = 124;
236 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
237 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
238 event->fields.push_back(
239 MakeField("nr_sector", 3, ProtoSchemaType::kUint32));
240 event->fields.push_back(MakeField("errors", 4, ProtoSchemaType::kInt32));
241 event->fields.push_back(MakeField("rwbs", 5, ProtoSchemaType::kString));
242 event->fields.push_back(MakeField("cmd", 6, ProtoSchemaType::kString));
243 }
244
245 {
246 events.emplace_back(Event{});
247 Event* event = &events.back();
248 event->name = "block_rq_complete";
249 event->group = "block";
250 event->proto_field_id = 125;
251 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
252 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
253 event->fields.push_back(
254 MakeField("nr_sector", 3, ProtoSchemaType::kUint32));
255 event->fields.push_back(MakeField("errors", 4, ProtoSchemaType::kInt32));
256 event->fields.push_back(MakeField("rwbs", 5, ProtoSchemaType::kString));
257 event->fields.push_back(MakeField("cmd", 6, ProtoSchemaType::kString));
258 }
259
260 {
261 events.emplace_back(Event{});
262 Event* event = &events.back();
263 event->name = "block_rq_insert";
264 event->group = "block";
265 event->proto_field_id = 126;
266 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
267 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
268 event->fields.push_back(
269 MakeField("nr_sector", 3, ProtoSchemaType::kUint32));
270 event->fields.push_back(MakeField("bytes", 4, ProtoSchemaType::kUint32));
271 event->fields.push_back(MakeField("rwbs", 5, ProtoSchemaType::kString));
272 event->fields.push_back(MakeField("comm", 6, ProtoSchemaType::kString));
273 event->fields.push_back(MakeField("cmd", 7, ProtoSchemaType::kString));
274 }
275
276 {
277 events.emplace_back(Event{});
278 Event* event = &events.back();
279 event->name = "block_rq_remap";
280 event->group = "block";
281 event->proto_field_id = 128;
282 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
283 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
284 event->fields.push_back(
285 MakeField("nr_sector", 3, ProtoSchemaType::kUint32));
286 event->fields.push_back(MakeField("old_dev", 4, ProtoSchemaType::kUint64));
287 event->fields.push_back(
288 MakeField("old_sector", 5, ProtoSchemaType::kUint64));
289 event->fields.push_back(MakeField("nr_bios", 6, ProtoSchemaType::kUint32));
290 event->fields.push_back(MakeField("rwbs", 7, ProtoSchemaType::kString));
291 }
292
293 {
294 events.emplace_back(Event{});
295 Event* event = &events.back();
296 event->name = "block_rq_requeue";
297 event->group = "block";
298 event->proto_field_id = 129;
299 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
300 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
301 event->fields.push_back(
302 MakeField("nr_sector", 3, ProtoSchemaType::kUint32));
303 event->fields.push_back(MakeField("errors", 4, ProtoSchemaType::kInt32));
304 event->fields.push_back(MakeField("rwbs", 5, ProtoSchemaType::kString));
305 event->fields.push_back(MakeField("cmd", 6, ProtoSchemaType::kString));
306 }
307
308 {
309 events.emplace_back(Event{});
310 Event* event = &events.back();
311 event->name = "block_sleeprq";
312 event->group = "block";
313 event->proto_field_id = 130;
314 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
315 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
316 event->fields.push_back(
317 MakeField("nr_sector", 3, ProtoSchemaType::kUint32));
318 event->fields.push_back(MakeField("rwbs", 4, ProtoSchemaType::kString));
319 event->fields.push_back(MakeField("comm", 5, ProtoSchemaType::kString));
320 }
321
322 {
323 events.emplace_back(Event{});
324 Event* event = &events.back();
325 event->name = "block_split";
326 event->group = "block";
327 event->proto_field_id = 131;
328 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
329 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
330 event->fields.push_back(
331 MakeField("new_sector", 3, ProtoSchemaType::kUint64));
332 event->fields.push_back(MakeField("rwbs", 4, ProtoSchemaType::kString));
333 event->fields.push_back(MakeField("comm", 5, ProtoSchemaType::kString));
334 }
335
336 {
337 events.emplace_back(Event{});
338 Event* event = &events.back();
339 event->name = "block_touch_buffer";
340 event->group = "block";
341 event->proto_field_id = 132;
342 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
343 event->fields.push_back(MakeField("sector", 2, ProtoSchemaType::kUint64));
344 event->fields.push_back(MakeField("size", 3, ProtoSchemaType::kUint64));
345 }
346
347 {
348 events.emplace_back(Event{});
349 Event* event = &events.back();
350 event->name = "block_unplug";
351 event->group = "block";
352 event->proto_field_id = 133;
353 event->fields.push_back(MakeField("nr_rq", 1, ProtoSchemaType::kInt32));
354 event->fields.push_back(MakeField("comm", 2, ProtoSchemaType::kString));
355 }
356
357 {
358 events.emplace_back(Event{});
359 Event* event = &events.back();
360 event->name = "cgroup_attach_task";
361 event->group = "cgroup";
362 event->proto_field_id = 67;
363 event->fields.push_back(MakeField("dst_root", 1, ProtoSchemaType::kInt32));
364 event->fields.push_back(MakeField("dst_id", 2, ProtoSchemaType::kInt32));
365 event->fields.push_back(MakeField("pid", 3, ProtoSchemaType::kInt32));
366 event->fields.push_back(MakeField("comm", 4, ProtoSchemaType::kString));
367 event->fields.push_back(MakeField("cname", 5, ProtoSchemaType::kString));
368 }
369
370 {
371 events.emplace_back(Event{});
372 Event* event = &events.back();
373 event->name = "cgroup_mkdir";
374 event->group = "cgroup";
375 event->proto_field_id = 68;
376 event->fields.push_back(MakeField("root", 1, ProtoSchemaType::kInt32));
377 event->fields.push_back(MakeField("id", 2, ProtoSchemaType::kInt32));
378 event->fields.push_back(MakeField("cname", 3, ProtoSchemaType::kString));
379 }
380
381 {
382 events.emplace_back(Event{});
383 Event* event = &events.back();
384 event->name = "cgroup_remount";
385 event->group = "cgroup";
386 event->proto_field_id = 69;
387 event->fields.push_back(MakeField("root", 1, ProtoSchemaType::kInt32));
388 event->fields.push_back(MakeField("ss_mask", 2, ProtoSchemaType::kUint32));
389 event->fields.push_back(MakeField("name", 3, ProtoSchemaType::kString));
390 }
391
392 {
393 events.emplace_back(Event{});
394 Event* event = &events.back();
395 event->name = "cgroup_rmdir";
396 event->group = "cgroup";
397 event->proto_field_id = 70;
398 event->fields.push_back(MakeField("root", 1, ProtoSchemaType::kInt32));
399 event->fields.push_back(MakeField("id", 2, ProtoSchemaType::kInt32));
400 event->fields.push_back(MakeField("cname", 3, ProtoSchemaType::kString));
401 }
402
403 {
404 events.emplace_back(Event{});
405 Event* event = &events.back();
406 event->name = "cgroup_transfer_tasks";
407 event->group = "cgroup";
408 event->proto_field_id = 71;
409 event->fields.push_back(MakeField("dst_root", 1, ProtoSchemaType::kInt32));
410 event->fields.push_back(MakeField("dst_id", 2, ProtoSchemaType::kInt32));
411 event->fields.push_back(MakeField("pid", 3, ProtoSchemaType::kInt32));
412 event->fields.push_back(MakeField("comm", 4, ProtoSchemaType::kString));
413 event->fields.push_back(MakeField("cname", 5, ProtoSchemaType::kString));
414 }
415
416 {
417 events.emplace_back(Event{});
418 Event* event = &events.back();
419 event->name = "cgroup_destroy_root";
420 event->group = "cgroup";
421 event->proto_field_id = 72;
422 event->fields.push_back(MakeField("root", 1, ProtoSchemaType::kInt32));
423 event->fields.push_back(MakeField("ss_mask", 2, ProtoSchemaType::kUint32));
424 event->fields.push_back(MakeField("name", 3, ProtoSchemaType::kString));
425 }
426
427 {
428 events.emplace_back(Event{});
429 Event* event = &events.back();
430 event->name = "cgroup_release";
431 event->group = "cgroup";
432 event->proto_field_id = 73;
433 event->fields.push_back(MakeField("root", 1, ProtoSchemaType::kInt32));
434 event->fields.push_back(MakeField("id", 2, ProtoSchemaType::kInt32));
435 event->fields.push_back(MakeField("cname", 3, ProtoSchemaType::kString));
436 }
437
438 {
439 events.emplace_back(Event{});
440 Event* event = &events.back();
441 event->name = "cgroup_rename";
442 event->group = "cgroup";
443 event->proto_field_id = 74;
444 event->fields.push_back(MakeField("root", 1, ProtoSchemaType::kInt32));
445 event->fields.push_back(MakeField("id", 2, ProtoSchemaType::kInt32));
446 event->fields.push_back(MakeField("cname", 3, ProtoSchemaType::kString));
447 }
448
449 {
450 events.emplace_back(Event{});
451 Event* event = &events.back();
452 event->name = "cgroup_setup_root";
453 event->group = "cgroup";
454 event->proto_field_id = 75;
455 event->fields.push_back(MakeField("root", 1, ProtoSchemaType::kInt32));
456 event->fields.push_back(MakeField("ss_mask", 2, ProtoSchemaType::kUint32));
457 event->fields.push_back(MakeField("name", 3, ProtoSchemaType::kString));
458 }
459
460 {
461 events.emplace_back(Event{});
462 Event* event = &events.back();
463 event->name = "clk_enable";
464 event->group = "clk";
465 event->proto_field_id = 320;
466 event->fields.push_back(MakeField("name", 1, ProtoSchemaType::kString));
467 }
468
469 {
470 events.emplace_back(Event{});
471 Event* event = &events.back();
472 event->name = "clk_disable";
473 event->group = "clk";
474 event->proto_field_id = 321;
475 event->fields.push_back(MakeField("name", 1, ProtoSchemaType::kString));
476 }
477
478 {
479 events.emplace_back(Event{});
480 Event* event = &events.back();
481 event->name = "clk_set_rate";
482 event->group = "clk";
483 event->proto_field_id = 322;
484 event->fields.push_back(MakeField("name", 1, ProtoSchemaType::kString));
485 event->fields.push_back(MakeField("rate", 2, ProtoSchemaType::kUint64));
486 }
487
488 {
489 events.emplace_back(Event{});
490 Event* event = &events.back();
491 event->name = "mm_compaction_begin";
492 event->group = "compaction";
493 event->proto_field_id = 99;
494 event->fields.push_back(
495 MakeField("zone_start", 1, ProtoSchemaType::kUint64));
496 event->fields.push_back(
497 MakeField("migrate_pfn", 2, ProtoSchemaType::kUint64));
498 event->fields.push_back(MakeField("free_pfn", 3, ProtoSchemaType::kUint64));
499 event->fields.push_back(MakeField("zone_end", 4, ProtoSchemaType::kUint64));
500 event->fields.push_back(MakeField("sync", 5, ProtoSchemaType::kUint32));
501 }
502
503 {
504 events.emplace_back(Event{});
505 Event* event = &events.back();
506 event->name = "mm_compaction_defer_compaction";
507 event->group = "compaction";
508 event->proto_field_id = 100;
509 event->fields.push_back(MakeField("nid", 1, ProtoSchemaType::kInt32));
510 event->fields.push_back(MakeField("idx", 2, ProtoSchemaType::kUint32));
511 event->fields.push_back(MakeField("order", 3, ProtoSchemaType::kInt32));
512 event->fields.push_back(
513 MakeField("considered", 4, ProtoSchemaType::kUint32));
514 event->fields.push_back(
515 MakeField("defer_shift", 5, ProtoSchemaType::kUint32));
516 event->fields.push_back(
517 MakeField("order_failed", 6, ProtoSchemaType::kInt32));
518 }
519
520 {
521 events.emplace_back(Event{});
522 Event* event = &events.back();
523 event->name = "mm_compaction_deferred";
524 event->group = "compaction";
525 event->proto_field_id = 101;
526 event->fields.push_back(MakeField("nid", 1, ProtoSchemaType::kInt32));
527 event->fields.push_back(MakeField("idx", 2, ProtoSchemaType::kUint32));
528 event->fields.push_back(MakeField("order", 3, ProtoSchemaType::kInt32));
529 event->fields.push_back(
530 MakeField("considered", 4, ProtoSchemaType::kUint32));
531 event->fields.push_back(
532 MakeField("defer_shift", 5, ProtoSchemaType::kUint32));
533 event->fields.push_back(
534 MakeField("order_failed", 6, ProtoSchemaType::kInt32));
535 }
536
537 {
538 events.emplace_back(Event{});
539 Event* event = &events.back();
540 event->name = "mm_compaction_defer_reset";
541 event->group = "compaction";
542 event->proto_field_id = 102;
543 event->fields.push_back(MakeField("nid", 1, ProtoSchemaType::kInt32));
544 event->fields.push_back(MakeField("idx", 2, ProtoSchemaType::kUint32));
545 event->fields.push_back(MakeField("order", 3, ProtoSchemaType::kInt32));
546 event->fields.push_back(
547 MakeField("considered", 4, ProtoSchemaType::kUint32));
548 event->fields.push_back(
549 MakeField("defer_shift", 5, ProtoSchemaType::kUint32));
550 event->fields.push_back(
551 MakeField("order_failed", 6, ProtoSchemaType::kInt32));
552 }
553
554 {
555 events.emplace_back(Event{});
556 Event* event = &events.back();
557 event->name = "mm_compaction_end";
558 event->group = "compaction";
559 event->proto_field_id = 103;
560 event->fields.push_back(
561 MakeField("zone_start", 1, ProtoSchemaType::kUint64));
562 event->fields.push_back(
563 MakeField("migrate_pfn", 2, ProtoSchemaType::kUint64));
564 event->fields.push_back(MakeField("free_pfn", 3, ProtoSchemaType::kUint64));
565 event->fields.push_back(MakeField("zone_end", 4, ProtoSchemaType::kUint64));
566 event->fields.push_back(MakeField("sync", 5, ProtoSchemaType::kUint32));
567 event->fields.push_back(MakeField("status", 6, ProtoSchemaType::kInt32));
568 }
569
570 {
571 events.emplace_back(Event{});
572 Event* event = &events.back();
573 event->name = "mm_compaction_finished";
574 event->group = "compaction";
575 event->proto_field_id = 104;
576 event->fields.push_back(MakeField("nid", 1, ProtoSchemaType::kInt32));
577 event->fields.push_back(MakeField("idx", 2, ProtoSchemaType::kUint32));
578 event->fields.push_back(MakeField("order", 3, ProtoSchemaType::kInt32));
579 event->fields.push_back(MakeField("ret", 4, ProtoSchemaType::kInt32));
580 }
581
582 {
583 events.emplace_back(Event{});
584 Event* event = &events.back();
585 event->name = "mm_compaction_isolate_freepages";
586 event->group = "compaction";
587 event->proto_field_id = 105;
588 event->fields.push_back(
589 MakeField("start_pfn", 1, ProtoSchemaType::kUint64));
590 event->fields.push_back(MakeField("end_pfn", 2, ProtoSchemaType::kUint64));
591 event->fields.push_back(
592 MakeField("nr_scanned", 3, ProtoSchemaType::kUint64));
593 event->fields.push_back(MakeField("nr_taken", 4, ProtoSchemaType::kUint64));
594 }
595
596 {
597 events.emplace_back(Event{});
598 Event* event = &events.back();
599 event->name = "mm_compaction_isolate_migratepages";
600 event->group = "compaction";
601 event->proto_field_id = 106;
602 event->fields.push_back(
603 MakeField("start_pfn", 1, ProtoSchemaType::kUint64));
604 event->fields.push_back(MakeField("end_pfn", 2, ProtoSchemaType::kUint64));
605 event->fields.push_back(
606 MakeField("nr_scanned", 3, ProtoSchemaType::kUint64));
607 event->fields.push_back(MakeField("nr_taken", 4, ProtoSchemaType::kUint64));
608 }
609
610 {
611 events.emplace_back(Event{});
612 Event* event = &events.back();
613 event->name = "mm_compaction_kcompactd_sleep";
614 event->group = "compaction";
615 event->proto_field_id = 107;
616 event->fields.push_back(MakeField("nid", 1, ProtoSchemaType::kInt32));
617 }
618
619 {
620 events.emplace_back(Event{});
621 Event* event = &events.back();
622 event->name = "mm_compaction_kcompactd_wake";
623 event->group = "compaction";
624 event->proto_field_id = 108;
625 event->fields.push_back(MakeField("nid", 1, ProtoSchemaType::kInt32));
626 event->fields.push_back(MakeField("order", 2, ProtoSchemaType::kInt32));
627 event->fields.push_back(
628 MakeField("classzone_idx", 3, ProtoSchemaType::kUint32));
629 }
630
631 {
632 events.emplace_back(Event{});
633 Event* event = &events.back();
634 event->name = "mm_compaction_migratepages";
635 event->group = "compaction";
636 event->proto_field_id = 109;
637 event->fields.push_back(
638 MakeField("nr_migrated", 1, ProtoSchemaType::kUint64));
639 event->fields.push_back(
640 MakeField("nr_failed", 2, ProtoSchemaType::kUint64));
641 }
642
643 {
644 events.emplace_back(Event{});
645 Event* event = &events.back();
646 event->name = "mm_compaction_suitable";
647 event->group = "compaction";
648 event->proto_field_id = 110;
649 event->fields.push_back(MakeField("nid", 1, ProtoSchemaType::kInt32));
650 event->fields.push_back(MakeField("idx", 2, ProtoSchemaType::kUint32));
651 event->fields.push_back(MakeField("order", 3, ProtoSchemaType::kInt32));
652 event->fields.push_back(MakeField("ret", 4, ProtoSchemaType::kInt32));
653 }
654
655 {
656 events.emplace_back(Event{});
657 Event* event = &events.back();
658 event->name = "mm_compaction_try_to_compact_pages";
659 event->group = "compaction";
660 event->proto_field_id = 111;
661 event->fields.push_back(MakeField("order", 1, ProtoSchemaType::kInt32));
662 event->fields.push_back(MakeField("gfp_mask", 2, ProtoSchemaType::kUint32));
663 event->fields.push_back(MakeField("mode", 3, ProtoSchemaType::kUint32));
664 }
665
666 {
667 events.emplace_back(Event{});
668 Event* event = &events.back();
669 event->name = "mm_compaction_wakeup_kcompactd";
670 event->group = "compaction";
671 event->proto_field_id = 112;
672 event->fields.push_back(MakeField("nid", 1, ProtoSchemaType::kInt32));
673 event->fields.push_back(MakeField("order", 2, ProtoSchemaType::kInt32));
674 event->fields.push_back(
675 MakeField("classzone_idx", 3, ProtoSchemaType::kUint32));
676 }
677
678 {
679 events.emplace_back(Event{});
680 Event* event = &events.back();
681 event->name = "ext4_da_write_begin";
682 event->group = "ext4";
683 event->proto_field_id = 41;
684 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
685 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
686 event->fields.push_back(MakeField("pos", 3, ProtoSchemaType::kInt64));
687 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
688 event->fields.push_back(MakeField("flags", 5, ProtoSchemaType::kUint32));
689 }
690
691 {
692 events.emplace_back(Event{});
693 Event* event = &events.back();
694 event->name = "ext4_da_write_end";
695 event->group = "ext4";
696 event->proto_field_id = 42;
697 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
698 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
699 event->fields.push_back(MakeField("pos", 3, ProtoSchemaType::kInt64));
700 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
701 event->fields.push_back(MakeField("copied", 5, ProtoSchemaType::kUint32));
702 }
703
704 {
705 events.emplace_back(Event{});
706 Event* event = &events.back();
707 event->name = "ext4_sync_file_enter";
708 event->group = "ext4";
709 event->proto_field_id = 43;
710 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
711 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
712 event->fields.push_back(MakeField("parent", 3, ProtoSchemaType::kUint64));
713 event->fields.push_back(MakeField("datasync", 4, ProtoSchemaType::kInt32));
714 }
715
716 {
717 events.emplace_back(Event{});
718 Event* event = &events.back();
719 event->name = "ext4_sync_file_exit";
720 event->group = "ext4";
721 event->proto_field_id = 44;
722 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
723 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
724 event->fields.push_back(MakeField("ret", 3, ProtoSchemaType::kInt32));
725 }
726
727 {
728 events.emplace_back(Event{});
729 Event* event = &events.back();
730 event->name = "ext4_alloc_da_blocks";
731 event->group = "ext4";
732 event->proto_field_id = 134;
733 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
734 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
735 event->fields.push_back(
736 MakeField("data_blocks", 3, ProtoSchemaType::kUint32));
737 event->fields.push_back(
738 MakeField("meta_blocks", 4, ProtoSchemaType::kUint32));
739 }
740
741 {
742 events.emplace_back(Event{});
743 Event* event = &events.back();
744 event->name = "ext4_allocate_blocks";
745 event->group = "ext4";
746 event->proto_field_id = 135;
747 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
748 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
749 event->fields.push_back(MakeField("block", 3, ProtoSchemaType::kUint64));
750 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
751 event->fields.push_back(MakeField("logical", 5, ProtoSchemaType::kUint32));
752 event->fields.push_back(MakeField("lleft", 6, ProtoSchemaType::kUint32));
753 event->fields.push_back(MakeField("lright", 7, ProtoSchemaType::kUint32));
754 event->fields.push_back(MakeField("goal", 8, ProtoSchemaType::kUint64));
755 event->fields.push_back(MakeField("pleft", 9, ProtoSchemaType::kUint64));
756 event->fields.push_back(MakeField("pright", 10, ProtoSchemaType::kUint64));
757 event->fields.push_back(MakeField("flags", 11, ProtoSchemaType::kUint32));
758 }
759
760 {
761 events.emplace_back(Event{});
762 Event* event = &events.back();
763 event->name = "ext4_allocate_inode";
764 event->group = "ext4";
765 event->proto_field_id = 136;
766 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
767 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
768 event->fields.push_back(MakeField("dir", 3, ProtoSchemaType::kUint64));
769 event->fields.push_back(MakeField("mode", 4, ProtoSchemaType::kUint32));
770 }
771
772 {
773 events.emplace_back(Event{});
774 Event* event = &events.back();
775 event->name = "ext4_begin_ordered_truncate";
776 event->group = "ext4";
777 event->proto_field_id = 137;
778 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
779 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
780 event->fields.push_back(MakeField("new_size", 3, ProtoSchemaType::kInt64));
781 }
782
783 {
784 events.emplace_back(Event{});
785 Event* event = &events.back();
786 event->name = "ext4_collapse_range";
787 event->group = "ext4";
788 event->proto_field_id = 138;
789 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
790 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
791 event->fields.push_back(MakeField("offset", 3, ProtoSchemaType::kInt64));
792 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kInt64));
793 }
794
795 {
796 events.emplace_back(Event{});
797 Event* event = &events.back();
798 event->name = "ext4_da_release_space";
799 event->group = "ext4";
800 event->proto_field_id = 139;
801 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
802 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
803 event->fields.push_back(MakeField("i_blocks", 3, ProtoSchemaType::kUint64));
804 event->fields.push_back(
805 MakeField("freed_blocks", 4, ProtoSchemaType::kInt32));
806 event->fields.push_back(
807 MakeField("reserved_data_blocks", 5, ProtoSchemaType::kInt32));
808 event->fields.push_back(
809 MakeField("reserved_meta_blocks", 6, ProtoSchemaType::kInt32));
810 event->fields.push_back(
811 MakeField("allocated_meta_blocks", 7, ProtoSchemaType::kInt32));
812 event->fields.push_back(MakeField("mode", 8, ProtoSchemaType::kUint32));
813 }
814
815 {
816 events.emplace_back(Event{});
817 Event* event = &events.back();
818 event->name = "ext4_da_reserve_space";
819 event->group = "ext4";
820 event->proto_field_id = 140;
821 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
822 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
823 event->fields.push_back(MakeField("i_blocks", 3, ProtoSchemaType::kUint64));
824 event->fields.push_back(
825 MakeField("reserved_data_blocks", 4, ProtoSchemaType::kInt32));
826 event->fields.push_back(
827 MakeField("reserved_meta_blocks", 5, ProtoSchemaType::kInt32));
828 event->fields.push_back(MakeField("mode", 6, ProtoSchemaType::kUint32));
829 event->fields.push_back(MakeField("md_needed", 7, ProtoSchemaType::kInt32));
830 }
831
832 {
833 events.emplace_back(Event{});
834 Event* event = &events.back();
835 event->name = "ext4_da_update_reserve_space";
836 event->group = "ext4";
837 event->proto_field_id = 141;
838 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
839 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
840 event->fields.push_back(MakeField("i_blocks", 3, ProtoSchemaType::kUint64));
841 event->fields.push_back(
842 MakeField("used_blocks", 4, ProtoSchemaType::kInt32));
843 event->fields.push_back(
844 MakeField("reserved_data_blocks", 5, ProtoSchemaType::kInt32));
845 event->fields.push_back(
846 MakeField("reserved_meta_blocks", 6, ProtoSchemaType::kInt32));
847 event->fields.push_back(
848 MakeField("allocated_meta_blocks", 7, ProtoSchemaType::kInt32));
849 event->fields.push_back(
850 MakeField("quota_claim", 8, ProtoSchemaType::kInt32));
851 event->fields.push_back(MakeField("mode", 9, ProtoSchemaType::kUint32));
852 }
853
854 {
855 events.emplace_back(Event{});
856 Event* event = &events.back();
857 event->name = "ext4_da_write_pages";
858 event->group = "ext4";
859 event->proto_field_id = 142;
860 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
861 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
862 event->fields.push_back(
863 MakeField("first_page", 3, ProtoSchemaType::kUint64));
864 event->fields.push_back(
865 MakeField("nr_to_write", 4, ProtoSchemaType::kInt64));
866 event->fields.push_back(MakeField("sync_mode", 5, ProtoSchemaType::kInt32));
867 event->fields.push_back(
868 MakeField("b_blocknr", 6, ProtoSchemaType::kUint64));
869 event->fields.push_back(MakeField("b_size", 7, ProtoSchemaType::kUint32));
870 event->fields.push_back(MakeField("b_state", 8, ProtoSchemaType::kUint32));
871 event->fields.push_back(MakeField("io_done", 9, ProtoSchemaType::kInt32));
872 event->fields.push_back(
873 MakeField("pages_written", 10, ProtoSchemaType::kInt32));
874 }
875
876 {
877 events.emplace_back(Event{});
878 Event* event = &events.back();
879 event->name = "ext4_da_write_pages_extent";
880 event->group = "ext4";
881 event->proto_field_id = 143;
882 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
883 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
884 event->fields.push_back(MakeField("lblk", 3, ProtoSchemaType::kUint64));
885 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
886 event->fields.push_back(MakeField("flags", 5, ProtoSchemaType::kUint32));
887 }
888
889 {
890 events.emplace_back(Event{});
891 Event* event = &events.back();
892 event->name = "ext4_direct_IO_enter";
893 event->group = "ext4";
894 event->proto_field_id = 144;
895 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
896 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
897 event->fields.push_back(MakeField("pos", 3, ProtoSchemaType::kInt64));
898 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint64));
899 event->fields.push_back(MakeField("rw", 5, ProtoSchemaType::kInt32));
900 }
901
902 {
903 events.emplace_back(Event{});
904 Event* event = &events.back();
905 event->name = "ext4_direct_IO_exit";
906 event->group = "ext4";
907 event->proto_field_id = 145;
908 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
909 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
910 event->fields.push_back(MakeField("pos", 3, ProtoSchemaType::kInt64));
911 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint64));
912 event->fields.push_back(MakeField("rw", 5, ProtoSchemaType::kInt32));
913 event->fields.push_back(MakeField("ret", 6, ProtoSchemaType::kInt32));
914 }
915
916 {
917 events.emplace_back(Event{});
918 Event* event = &events.back();
919 event->name = "ext4_discard_blocks";
920 event->group = "ext4";
921 event->proto_field_id = 146;
922 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
923 event->fields.push_back(MakeField("blk", 2, ProtoSchemaType::kUint64));
924 event->fields.push_back(MakeField("count", 3, ProtoSchemaType::kUint64));
925 }
926
927 {
928 events.emplace_back(Event{});
929 Event* event = &events.back();
930 event->name = "ext4_discard_preallocations";
931 event->group = "ext4";
932 event->proto_field_id = 147;
933 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
934 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
935 }
936
937 {
938 events.emplace_back(Event{});
939 Event* event = &events.back();
940 event->name = "ext4_drop_inode";
941 event->group = "ext4";
942 event->proto_field_id = 148;
943 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
944 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
945 event->fields.push_back(MakeField("drop", 3, ProtoSchemaType::kInt32));
946 }
947
948 {
949 events.emplace_back(Event{});
950 Event* event = &events.back();
951 event->name = "ext4_es_cache_extent";
952 event->group = "ext4";
953 event->proto_field_id = 149;
954 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
955 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
956 event->fields.push_back(MakeField("lblk", 3, ProtoSchemaType::kUint32));
957 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
958 event->fields.push_back(MakeField("pblk", 5, ProtoSchemaType::kUint64));
959 event->fields.push_back(MakeField("status", 6, ProtoSchemaType::kUint32));
960 }
961
962 {
963 events.emplace_back(Event{});
964 Event* event = &events.back();
965 event->name = "ext4_es_find_delayed_extent_range_enter";
966 event->group = "ext4";
967 event->proto_field_id = 150;
968 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
969 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
970 event->fields.push_back(MakeField("lblk", 3, ProtoSchemaType::kUint32));
971 }
972
973 {
974 events.emplace_back(Event{});
975 Event* event = &events.back();
976 event->name = "ext4_es_find_delayed_extent_range_exit";
977 event->group = "ext4";
978 event->proto_field_id = 151;
979 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
980 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
981 event->fields.push_back(MakeField("lblk", 3, ProtoSchemaType::kUint32));
982 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
983 event->fields.push_back(MakeField("pblk", 5, ProtoSchemaType::kUint64));
984 event->fields.push_back(MakeField("status", 6, ProtoSchemaType::kUint64));
985 }
986
987 {
988 events.emplace_back(Event{});
989 Event* event = &events.back();
990 event->name = "ext4_es_insert_extent";
991 event->group = "ext4";
992 event->proto_field_id = 152;
993 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
994 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
995 event->fields.push_back(MakeField("lblk", 3, ProtoSchemaType::kUint32));
996 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
997 event->fields.push_back(MakeField("pblk", 5, ProtoSchemaType::kUint64));
998 event->fields.push_back(MakeField("status", 6, ProtoSchemaType::kUint64));
999 }
1000
1001 {
1002 events.emplace_back(Event{});
1003 Event* event = &events.back();
1004 event->name = "ext4_es_lookup_extent_enter";
1005 event->group = "ext4";
1006 event->proto_field_id = 153;
1007 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1008 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1009 event->fields.push_back(MakeField("lblk", 3, ProtoSchemaType::kUint32));
1010 }
1011
1012 {
1013 events.emplace_back(Event{});
1014 Event* event = &events.back();
1015 event->name = "ext4_es_lookup_extent_exit";
1016 event->group = "ext4";
1017 event->proto_field_id = 154;
1018 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1019 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1020 event->fields.push_back(MakeField("lblk", 3, ProtoSchemaType::kUint32));
1021 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
1022 event->fields.push_back(MakeField("pblk", 5, ProtoSchemaType::kUint64));
1023 event->fields.push_back(MakeField("status", 6, ProtoSchemaType::kUint64));
1024 event->fields.push_back(MakeField("found", 7, ProtoSchemaType::kInt32));
1025 }
1026
1027 {
1028 events.emplace_back(Event{});
1029 Event* event = &events.back();
1030 event->name = "ext4_es_remove_extent";
1031 event->group = "ext4";
1032 event->proto_field_id = 155;
1033 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1034 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1035 event->fields.push_back(MakeField("lblk", 3, ProtoSchemaType::kInt64));
1036 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kInt64));
1037 }
1038
1039 {
1040 events.emplace_back(Event{});
1041 Event* event = &events.back();
1042 event->name = "ext4_es_shrink";
1043 event->group = "ext4";
1044 event->proto_field_id = 156;
1045 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1046 event->fields.push_back(MakeField("nr_shrunk", 2, ProtoSchemaType::kInt32));
1047 event->fields.push_back(
1048 MakeField("scan_time", 3, ProtoSchemaType::kUint64));
1049 event->fields.push_back(
1050 MakeField("nr_skipped", 4, ProtoSchemaType::kInt32));
1051 event->fields.push_back(MakeField("retried", 5, ProtoSchemaType::kInt32));
1052 }
1053
1054 {
1055 events.emplace_back(Event{});
1056 Event* event = &events.back();
1057 event->name = "ext4_es_shrink_count";
1058 event->group = "ext4";
1059 event->proto_field_id = 157;
1060 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1061 event->fields.push_back(
1062 MakeField("nr_to_scan", 2, ProtoSchemaType::kInt32));
1063 event->fields.push_back(MakeField("cache_cnt", 3, ProtoSchemaType::kInt32));
1064 }
1065
1066 {
1067 events.emplace_back(Event{});
1068 Event* event = &events.back();
1069 event->name = "ext4_es_shrink_scan_enter";
1070 event->group = "ext4";
1071 event->proto_field_id = 158;
1072 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1073 event->fields.push_back(
1074 MakeField("nr_to_scan", 2, ProtoSchemaType::kInt32));
1075 event->fields.push_back(MakeField("cache_cnt", 3, ProtoSchemaType::kInt32));
1076 }
1077
1078 {
1079 events.emplace_back(Event{});
1080 Event* event = &events.back();
1081 event->name = "ext4_es_shrink_scan_exit";
1082 event->group = "ext4";
1083 event->proto_field_id = 159;
1084 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1085 event->fields.push_back(MakeField("nr_shrunk", 2, ProtoSchemaType::kInt32));
1086 event->fields.push_back(MakeField("cache_cnt", 3, ProtoSchemaType::kInt32));
1087 }
1088
1089 {
1090 events.emplace_back(Event{});
1091 Event* event = &events.back();
1092 event->name = "ext4_evict_inode";
1093 event->group = "ext4";
1094 event->proto_field_id = 160;
1095 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1096 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1097 event->fields.push_back(MakeField("nlink", 3, ProtoSchemaType::kInt32));
1098 }
1099
1100 {
1101 events.emplace_back(Event{});
1102 Event* event = &events.back();
1103 event->name = "ext4_ext_convert_to_initialized_enter";
1104 event->group = "ext4";
1105 event->proto_field_id = 161;
1106 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1107 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1108 event->fields.push_back(MakeField("m_lblk", 3, ProtoSchemaType::kUint32));
1109 event->fields.push_back(MakeField("m_len", 4, ProtoSchemaType::kUint32));
1110 event->fields.push_back(MakeField("u_lblk", 5, ProtoSchemaType::kUint32));
1111 event->fields.push_back(MakeField("u_len", 6, ProtoSchemaType::kUint32));
1112 event->fields.push_back(MakeField("u_pblk", 7, ProtoSchemaType::kUint64));
1113 }
1114
1115 {
1116 events.emplace_back(Event{});
1117 Event* event = &events.back();
1118 event->name = "ext4_ext_convert_to_initialized_fastpath";
1119 event->group = "ext4";
1120 event->proto_field_id = 162;
1121 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1122 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1123 event->fields.push_back(MakeField("m_lblk", 3, ProtoSchemaType::kUint32));
1124 event->fields.push_back(MakeField("m_len", 4, ProtoSchemaType::kUint32));
1125 event->fields.push_back(MakeField("u_lblk", 5, ProtoSchemaType::kUint32));
1126 event->fields.push_back(MakeField("u_len", 6, ProtoSchemaType::kUint32));
1127 event->fields.push_back(MakeField("u_pblk", 7, ProtoSchemaType::kUint64));
1128 event->fields.push_back(MakeField("i_lblk", 8, ProtoSchemaType::kUint32));
1129 event->fields.push_back(MakeField("i_len", 9, ProtoSchemaType::kUint32));
1130 event->fields.push_back(MakeField("i_pblk", 10, ProtoSchemaType::kUint64));
1131 }
1132
1133 {
1134 events.emplace_back(Event{});
1135 Event* event = &events.back();
1136 event->name = "ext4_ext_handle_unwritten_extents";
1137 event->group = "ext4";
1138 event->proto_field_id = 163;
1139 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1140 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1141 event->fields.push_back(MakeField("flags", 3, ProtoSchemaType::kInt32));
1142 event->fields.push_back(MakeField("lblk", 4, ProtoSchemaType::kUint32));
1143 event->fields.push_back(MakeField("pblk", 5, ProtoSchemaType::kUint64));
1144 event->fields.push_back(MakeField("len", 6, ProtoSchemaType::kUint32));
1145 event->fields.push_back(
1146 MakeField("allocated", 7, ProtoSchemaType::kUint32));
1147 event->fields.push_back(MakeField("newblk", 8, ProtoSchemaType::kUint64));
1148 }
1149
1150 {
1151 events.emplace_back(Event{});
1152 Event* event = &events.back();
1153 event->name = "ext4_ext_in_cache";
1154 event->group = "ext4";
1155 event->proto_field_id = 164;
1156 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1157 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1158 event->fields.push_back(MakeField("lblk", 3, ProtoSchemaType::kUint32));
1159 event->fields.push_back(MakeField("ret", 4, ProtoSchemaType::kInt32));
1160 }
1161
1162 {
1163 events.emplace_back(Event{});
1164 Event* event = &events.back();
1165 event->name = "ext4_ext_load_extent";
1166 event->group = "ext4";
1167 event->proto_field_id = 165;
1168 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1169 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1170 event->fields.push_back(MakeField("pblk", 3, ProtoSchemaType::kUint64));
1171 event->fields.push_back(MakeField("lblk", 4, ProtoSchemaType::kUint32));
1172 }
1173
1174 {
1175 events.emplace_back(Event{});
1176 Event* event = &events.back();
1177 event->name = "ext4_ext_map_blocks_enter";
1178 event->group = "ext4";
1179 event->proto_field_id = 166;
1180 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1181 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1182 event->fields.push_back(MakeField("lblk", 3, ProtoSchemaType::kUint32));
1183 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
1184 event->fields.push_back(MakeField("flags", 5, ProtoSchemaType::kUint32));
1185 }
1186
1187 {
1188 events.emplace_back(Event{});
1189 Event* event = &events.back();
1190 event->name = "ext4_ext_map_blocks_exit";
1191 event->group = "ext4";
1192 event->proto_field_id = 167;
1193 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1194 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1195 event->fields.push_back(MakeField("flags", 3, ProtoSchemaType::kUint32));
1196 event->fields.push_back(MakeField("pblk", 4, ProtoSchemaType::kUint64));
1197 event->fields.push_back(MakeField("lblk", 5, ProtoSchemaType::kUint32));
1198 event->fields.push_back(MakeField("len", 6, ProtoSchemaType::kUint32));
1199 event->fields.push_back(MakeField("mflags", 7, ProtoSchemaType::kUint32));
1200 event->fields.push_back(MakeField("ret", 8, ProtoSchemaType::kInt32));
1201 }
1202
1203 {
1204 events.emplace_back(Event{});
1205 Event* event = &events.back();
1206 event->name = "ext4_ext_put_in_cache";
1207 event->group = "ext4";
1208 event->proto_field_id = 168;
1209 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1210 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1211 event->fields.push_back(MakeField("lblk", 3, ProtoSchemaType::kUint32));
1212 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
1213 event->fields.push_back(MakeField("start", 5, ProtoSchemaType::kUint64));
1214 }
1215
1216 {
1217 events.emplace_back(Event{});
1218 Event* event = &events.back();
1219 event->name = "ext4_ext_remove_space";
1220 event->group = "ext4";
1221 event->proto_field_id = 169;
1222 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1223 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1224 event->fields.push_back(MakeField("start", 3, ProtoSchemaType::kUint32));
1225 event->fields.push_back(MakeField("end", 4, ProtoSchemaType::kUint32));
1226 event->fields.push_back(MakeField("depth", 5, ProtoSchemaType::kInt32));
1227 }
1228
1229 {
1230 events.emplace_back(Event{});
1231 Event* event = &events.back();
1232 event->name = "ext4_ext_remove_space_done";
1233 event->group = "ext4";
1234 event->proto_field_id = 170;
1235 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1236 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1237 event->fields.push_back(MakeField("start", 3, ProtoSchemaType::kUint32));
1238 event->fields.push_back(MakeField("end", 4, ProtoSchemaType::kUint32));
1239 event->fields.push_back(MakeField("depth", 5, ProtoSchemaType::kInt32));
1240 event->fields.push_back(MakeField("partial", 6, ProtoSchemaType::kInt64));
1241 event->fields.push_back(
1242 MakeField("eh_entries", 7, ProtoSchemaType::kUint32));
1243 }
1244
1245 {
1246 events.emplace_back(Event{});
1247 Event* event = &events.back();
1248 event->name = "ext4_ext_rm_idx";
1249 event->group = "ext4";
1250 event->proto_field_id = 171;
1251 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1252 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1253 event->fields.push_back(MakeField("pblk", 3, ProtoSchemaType::kUint64));
1254 }
1255
1256 {
1257 events.emplace_back(Event{});
1258 Event* event = &events.back();
1259 event->name = "ext4_ext_rm_leaf";
1260 event->group = "ext4";
1261 event->proto_field_id = 172;
1262 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1263 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1264 event->fields.push_back(MakeField("partial", 3, ProtoSchemaType::kInt64));
1265 event->fields.push_back(MakeField("start", 4, ProtoSchemaType::kUint32));
1266 event->fields.push_back(MakeField("ee_lblk", 5, ProtoSchemaType::kUint32));
1267 event->fields.push_back(MakeField("ee_pblk", 6, ProtoSchemaType::kUint64));
1268 event->fields.push_back(MakeField("ee_len", 7, ProtoSchemaType::kInt32));
1269 }
1270
1271 {
1272 events.emplace_back(Event{});
1273 Event* event = &events.back();
1274 event->name = "ext4_ext_show_extent";
1275 event->group = "ext4";
1276 event->proto_field_id = 173;
1277 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1278 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1279 event->fields.push_back(MakeField("pblk", 3, ProtoSchemaType::kUint64));
1280 event->fields.push_back(MakeField("lblk", 4, ProtoSchemaType::kUint32));
1281 event->fields.push_back(MakeField("len", 5, ProtoSchemaType::kUint32));
1282 }
1283
1284 {
1285 events.emplace_back(Event{});
1286 Event* event = &events.back();
1287 event->name = "ext4_fallocate_enter";
1288 event->group = "ext4";
1289 event->proto_field_id = 174;
1290 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1291 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1292 event->fields.push_back(MakeField("offset", 3, ProtoSchemaType::kInt64));
1293 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kInt64));
1294 event->fields.push_back(MakeField("mode", 5, ProtoSchemaType::kInt32));
1295 event->fields.push_back(MakeField("pos", 6, ProtoSchemaType::kInt64));
1296 }
1297
1298 {
1299 events.emplace_back(Event{});
1300 Event* event = &events.back();
1301 event->name = "ext4_fallocate_exit";
1302 event->group = "ext4";
1303 event->proto_field_id = 175;
1304 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1305 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1306 event->fields.push_back(MakeField("pos", 3, ProtoSchemaType::kInt64));
1307 event->fields.push_back(MakeField("blocks", 4, ProtoSchemaType::kUint32));
1308 event->fields.push_back(MakeField("ret", 5, ProtoSchemaType::kInt32));
1309 }
1310
1311 {
1312 events.emplace_back(Event{});
1313 Event* event = &events.back();
1314 event->name = "ext4_find_delalloc_range";
1315 event->group = "ext4";
1316 event->proto_field_id = 176;
1317 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1318 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1319 event->fields.push_back(MakeField("from", 3, ProtoSchemaType::kUint32));
1320 event->fields.push_back(MakeField("to", 4, ProtoSchemaType::kUint32));
1321 event->fields.push_back(MakeField("reverse", 5, ProtoSchemaType::kInt32));
1322 event->fields.push_back(MakeField("found", 6, ProtoSchemaType::kInt32));
1323 event->fields.push_back(
1324 MakeField("found_blk", 7, ProtoSchemaType::kUint32));
1325 }
1326
1327 {
1328 events.emplace_back(Event{});
1329 Event* event = &events.back();
1330 event->name = "ext4_forget";
1331 event->group = "ext4";
1332 event->proto_field_id = 177;
1333 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1334 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1335 event->fields.push_back(MakeField("block", 3, ProtoSchemaType::kUint64));
1336 event->fields.push_back(
1337 MakeField("is_metadata", 4, ProtoSchemaType::kInt32));
1338 event->fields.push_back(MakeField("mode", 5, ProtoSchemaType::kUint32));
1339 }
1340
1341 {
1342 events.emplace_back(Event{});
1343 Event* event = &events.back();
1344 event->name = "ext4_free_blocks";
1345 event->group = "ext4";
1346 event->proto_field_id = 178;
1347 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1348 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1349 event->fields.push_back(MakeField("block", 3, ProtoSchemaType::kUint64));
1350 event->fields.push_back(MakeField("count", 4, ProtoSchemaType::kUint64));
1351 event->fields.push_back(MakeField("flags", 5, ProtoSchemaType::kInt32));
1352 event->fields.push_back(MakeField("mode", 6, ProtoSchemaType::kUint32));
1353 }
1354
1355 {
1356 events.emplace_back(Event{});
1357 Event* event = &events.back();
1358 event->name = "ext4_free_inode";
1359 event->group = "ext4";
1360 event->proto_field_id = 179;
1361 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1362 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1363 event->fields.push_back(MakeField("uid", 3, ProtoSchemaType::kUint32));
1364 event->fields.push_back(MakeField("gid", 4, ProtoSchemaType::kUint32));
1365 event->fields.push_back(MakeField("blocks", 5, ProtoSchemaType::kUint64));
1366 event->fields.push_back(MakeField("mode", 6, ProtoSchemaType::kUint32));
1367 }
1368
1369 {
1370 events.emplace_back(Event{});
1371 Event* event = &events.back();
1372 event->name = "ext4_get_implied_cluster_alloc_exit";
1373 event->group = "ext4";
1374 event->proto_field_id = 180;
1375 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1376 event->fields.push_back(MakeField("flags", 2, ProtoSchemaType::kUint32));
1377 event->fields.push_back(MakeField("lblk", 3, ProtoSchemaType::kUint32));
1378 event->fields.push_back(MakeField("pblk", 4, ProtoSchemaType::kUint64));
1379 event->fields.push_back(MakeField("len", 5, ProtoSchemaType::kUint32));
1380 event->fields.push_back(MakeField("ret", 6, ProtoSchemaType::kInt32));
1381 }
1382
1383 {
1384 events.emplace_back(Event{});
1385 Event* event = &events.back();
1386 event->name = "ext4_get_reserved_cluster_alloc";
1387 event->group = "ext4";
1388 event->proto_field_id = 181;
1389 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1390 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1391 event->fields.push_back(MakeField("lblk", 3, ProtoSchemaType::kUint32));
1392 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
1393 }
1394
1395 {
1396 events.emplace_back(Event{});
1397 Event* event = &events.back();
1398 event->name = "ext4_ind_map_blocks_enter";
1399 event->group = "ext4";
1400 event->proto_field_id = 182;
1401 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1402 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1403 event->fields.push_back(MakeField("lblk", 3, ProtoSchemaType::kUint32));
1404 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
1405 event->fields.push_back(MakeField("flags", 5, ProtoSchemaType::kUint32));
1406 }
1407
1408 {
1409 events.emplace_back(Event{});
1410 Event* event = &events.back();
1411 event->name = "ext4_ind_map_blocks_exit";
1412 event->group = "ext4";
1413 event->proto_field_id = 183;
1414 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1415 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1416 event->fields.push_back(MakeField("flags", 3, ProtoSchemaType::kUint32));
1417 event->fields.push_back(MakeField("pblk", 4, ProtoSchemaType::kUint64));
1418 event->fields.push_back(MakeField("lblk", 5, ProtoSchemaType::kUint32));
1419 event->fields.push_back(MakeField("len", 6, ProtoSchemaType::kUint32));
1420 event->fields.push_back(MakeField("mflags", 7, ProtoSchemaType::kUint32));
1421 event->fields.push_back(MakeField("ret", 8, ProtoSchemaType::kInt32));
1422 }
1423
1424 {
1425 events.emplace_back(Event{});
1426 Event* event = &events.back();
1427 event->name = "ext4_insert_range";
1428 event->group = "ext4";
1429 event->proto_field_id = 184;
1430 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1431 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1432 event->fields.push_back(MakeField("offset", 3, ProtoSchemaType::kInt64));
1433 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kInt64));
1434 }
1435
1436 {
1437 events.emplace_back(Event{});
1438 Event* event = &events.back();
1439 event->name = "ext4_invalidatepage";
1440 event->group = "ext4";
1441 event->proto_field_id = 185;
1442 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1443 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1444 event->fields.push_back(MakeField("index", 3, ProtoSchemaType::kUint64));
1445 event->fields.push_back(MakeField("offset", 4, ProtoSchemaType::kUint64));
1446 event->fields.push_back(MakeField("length", 5, ProtoSchemaType::kUint32));
1447 }
1448
1449 {
1450 events.emplace_back(Event{});
1451 Event* event = &events.back();
1452 event->name = "ext4_journal_start";
1453 event->group = "ext4";
1454 event->proto_field_id = 186;
1455 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1456 event->fields.push_back(MakeField("ip", 2, ProtoSchemaType::kUint64));
1457 event->fields.push_back(MakeField("blocks", 3, ProtoSchemaType::kInt32));
1458 event->fields.push_back(
1459 MakeField("rsv_blocks", 4, ProtoSchemaType::kInt32));
1460 event->fields.push_back(MakeField("nblocks", 5, ProtoSchemaType::kInt32));
1461 }
1462
1463 {
1464 events.emplace_back(Event{});
1465 Event* event = &events.back();
1466 event->name = "ext4_journal_start_reserved";
1467 event->group = "ext4";
1468 event->proto_field_id = 187;
1469 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1470 event->fields.push_back(MakeField("ip", 2, ProtoSchemaType::kUint64));
1471 event->fields.push_back(MakeField("blocks", 3, ProtoSchemaType::kInt32));
1472 }
1473
1474 {
1475 events.emplace_back(Event{});
1476 Event* event = &events.back();
1477 event->name = "ext4_journalled_invalidatepage";
1478 event->group = "ext4";
1479 event->proto_field_id = 188;
1480 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1481 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1482 event->fields.push_back(MakeField("index", 3, ProtoSchemaType::kUint64));
1483 event->fields.push_back(MakeField("offset", 4, ProtoSchemaType::kUint64));
1484 event->fields.push_back(MakeField("length", 5, ProtoSchemaType::kUint32));
1485 }
1486
1487 {
1488 events.emplace_back(Event{});
1489 Event* event = &events.back();
1490 event->name = "ext4_journalled_write_end";
1491 event->group = "ext4";
1492 event->proto_field_id = 189;
1493 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1494 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1495 event->fields.push_back(MakeField("pos", 3, ProtoSchemaType::kInt64));
1496 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
1497 event->fields.push_back(MakeField("copied", 5, ProtoSchemaType::kUint32));
1498 }
1499
1500 {
1501 events.emplace_back(Event{});
1502 Event* event = &events.back();
1503 event->name = "ext4_load_inode";
1504 event->group = "ext4";
1505 event->proto_field_id = 190;
1506 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1507 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1508 }
1509
1510 {
1511 events.emplace_back(Event{});
1512 Event* event = &events.back();
1513 event->name = "ext4_load_inode_bitmap";
1514 event->group = "ext4";
1515 event->proto_field_id = 191;
1516 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1517 event->fields.push_back(MakeField("group", 2, ProtoSchemaType::kUint32));
1518 }
1519
1520 {
1521 events.emplace_back(Event{});
1522 Event* event = &events.back();
1523 event->name = "ext4_mark_inode_dirty";
1524 event->group = "ext4";
1525 event->proto_field_id = 192;
1526 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1527 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1528 event->fields.push_back(MakeField("ip", 3, ProtoSchemaType::kUint64));
1529 }
1530
1531 {
1532 events.emplace_back(Event{});
1533 Event* event = &events.back();
1534 event->name = "ext4_mb_bitmap_load";
1535 event->group = "ext4";
1536 event->proto_field_id = 193;
1537 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1538 event->fields.push_back(MakeField("group", 2, ProtoSchemaType::kUint32));
1539 }
1540
1541 {
1542 events.emplace_back(Event{});
1543 Event* event = &events.back();
1544 event->name = "ext4_mb_buddy_bitmap_load";
1545 event->group = "ext4";
1546 event->proto_field_id = 194;
1547 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1548 event->fields.push_back(MakeField("group", 2, ProtoSchemaType::kUint32));
1549 }
1550
1551 {
1552 events.emplace_back(Event{});
1553 Event* event = &events.back();
1554 event->name = "ext4_mb_discard_preallocations";
1555 event->group = "ext4";
1556 event->proto_field_id = 195;
1557 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1558 event->fields.push_back(MakeField("needed", 2, ProtoSchemaType::kInt32));
1559 }
1560
1561 {
1562 events.emplace_back(Event{});
1563 Event* event = &events.back();
1564 event->name = "ext4_mb_new_group_pa";
1565 event->group = "ext4";
1566 event->proto_field_id = 196;
1567 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1568 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1569 event->fields.push_back(
1570 MakeField("pa_pstart", 3, ProtoSchemaType::kUint64));
1571 event->fields.push_back(
1572 MakeField("pa_lstart", 4, ProtoSchemaType::kUint64));
1573 event->fields.push_back(MakeField("pa_len", 5, ProtoSchemaType::kUint32));
1574 }
1575
1576 {
1577 events.emplace_back(Event{});
1578 Event* event = &events.back();
1579 event->name = "ext4_mb_new_inode_pa";
1580 event->group = "ext4";
1581 event->proto_field_id = 197;
1582 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1583 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1584 event->fields.push_back(
1585 MakeField("pa_pstart", 3, ProtoSchemaType::kUint64));
1586 event->fields.push_back(
1587 MakeField("pa_lstart", 4, ProtoSchemaType::kUint64));
1588 event->fields.push_back(MakeField("pa_len", 5, ProtoSchemaType::kUint32));
1589 }
1590
1591 {
1592 events.emplace_back(Event{});
1593 Event* event = &events.back();
1594 event->name = "ext4_mb_release_group_pa";
1595 event->group = "ext4";
1596 event->proto_field_id = 198;
1597 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1598 event->fields.push_back(
1599 MakeField("pa_pstart", 2, ProtoSchemaType::kUint64));
1600 event->fields.push_back(MakeField("pa_len", 3, ProtoSchemaType::kUint32));
1601 }
1602
1603 {
1604 events.emplace_back(Event{});
1605 Event* event = &events.back();
1606 event->name = "ext4_mb_release_inode_pa";
1607 event->group = "ext4";
1608 event->proto_field_id = 199;
1609 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1610 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1611 event->fields.push_back(MakeField("block", 3, ProtoSchemaType::kUint64));
1612 event->fields.push_back(MakeField("count", 4, ProtoSchemaType::kUint32));
1613 }
1614
1615 {
1616 events.emplace_back(Event{});
1617 Event* event = &events.back();
1618 event->name = "ext4_mballoc_alloc";
1619 event->group = "ext4";
1620 event->proto_field_id = 200;
1621 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1622 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1623 event->fields.push_back(
1624 MakeField("orig_logical", 3, ProtoSchemaType::kUint32));
1625 event->fields.push_back(
1626 MakeField("orig_start", 4, ProtoSchemaType::kInt32));
1627 event->fields.push_back(
1628 MakeField("orig_group", 5, ProtoSchemaType::kUint32));
1629 event->fields.push_back(MakeField("orig_len", 6, ProtoSchemaType::kInt32));
1630 event->fields.push_back(
1631 MakeField("goal_logical", 7, ProtoSchemaType::kUint32));
1632 event->fields.push_back(
1633 MakeField("goal_start", 8, ProtoSchemaType::kInt32));
1634 event->fields.push_back(
1635 MakeField("goal_group", 9, ProtoSchemaType::kUint32));
1636 event->fields.push_back(MakeField("goal_len", 10, ProtoSchemaType::kInt32));
1637 event->fields.push_back(
1638 MakeField("result_logical", 11, ProtoSchemaType::kUint32));
1639 event->fields.push_back(
1640 MakeField("result_start", 12, ProtoSchemaType::kInt32));
1641 event->fields.push_back(
1642 MakeField("result_group", 13, ProtoSchemaType::kUint32));
1643 event->fields.push_back(
1644 MakeField("result_len", 14, ProtoSchemaType::kInt32));
1645 event->fields.push_back(MakeField("found", 15, ProtoSchemaType::kUint32));
1646 event->fields.push_back(MakeField("groups", 16, ProtoSchemaType::kUint32));
1647 event->fields.push_back(MakeField("buddy", 17, ProtoSchemaType::kUint32));
1648 event->fields.push_back(MakeField("flags", 18, ProtoSchemaType::kUint32));
1649 event->fields.push_back(MakeField("tail", 19, ProtoSchemaType::kUint32));
1650 event->fields.push_back(MakeField("cr", 20, ProtoSchemaType::kUint32));
1651 }
1652
1653 {
1654 events.emplace_back(Event{});
1655 Event* event = &events.back();
1656 event->name = "ext4_mballoc_discard";
1657 event->group = "ext4";
1658 event->proto_field_id = 201;
1659 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1660 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1661 event->fields.push_back(
1662 MakeField("result_start", 3, ProtoSchemaType::kInt32));
1663 event->fields.push_back(
1664 MakeField("result_group", 4, ProtoSchemaType::kUint32));
1665 event->fields.push_back(
1666 MakeField("result_len", 5, ProtoSchemaType::kInt32));
1667 }
1668
1669 {
1670 events.emplace_back(Event{});
1671 Event* event = &events.back();
1672 event->name = "ext4_mballoc_free";
1673 event->group = "ext4";
1674 event->proto_field_id = 202;
1675 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1676 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1677 event->fields.push_back(
1678 MakeField("result_start", 3, ProtoSchemaType::kInt32));
1679 event->fields.push_back(
1680 MakeField("result_group", 4, ProtoSchemaType::kUint32));
1681 event->fields.push_back(
1682 MakeField("result_len", 5, ProtoSchemaType::kInt32));
1683 }
1684
1685 {
1686 events.emplace_back(Event{});
1687 Event* event = &events.back();
1688 event->name = "ext4_mballoc_prealloc";
1689 event->group = "ext4";
1690 event->proto_field_id = 203;
1691 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1692 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1693 event->fields.push_back(
1694 MakeField("orig_logical", 3, ProtoSchemaType::kUint32));
1695 event->fields.push_back(
1696 MakeField("orig_start", 4, ProtoSchemaType::kInt32));
1697 event->fields.push_back(
1698 MakeField("orig_group", 5, ProtoSchemaType::kUint32));
1699 event->fields.push_back(MakeField("orig_len", 6, ProtoSchemaType::kInt32));
1700 event->fields.push_back(
1701 MakeField("result_logical", 7, ProtoSchemaType::kUint32));
1702 event->fields.push_back(
1703 MakeField("result_start", 8, ProtoSchemaType::kInt32));
1704 event->fields.push_back(
1705 MakeField("result_group", 9, ProtoSchemaType::kUint32));
1706 event->fields.push_back(
1707 MakeField("result_len", 10, ProtoSchemaType::kInt32));
1708 }
1709
1710 {
1711 events.emplace_back(Event{});
1712 Event* event = &events.back();
1713 event->name = "ext4_other_inode_update_time";
1714 event->group = "ext4";
1715 event->proto_field_id = 204;
1716 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1717 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1718 event->fields.push_back(MakeField("orig_ino", 3, ProtoSchemaType::kUint64));
1719 event->fields.push_back(MakeField("uid", 4, ProtoSchemaType::kUint32));
1720 event->fields.push_back(MakeField("gid", 5, ProtoSchemaType::kUint32));
1721 event->fields.push_back(MakeField("mode", 6, ProtoSchemaType::kUint32));
1722 }
1723
1724 {
1725 events.emplace_back(Event{});
1726 Event* event = &events.back();
1727 event->name = "ext4_punch_hole";
1728 event->group = "ext4";
1729 event->proto_field_id = 205;
1730 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1731 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1732 event->fields.push_back(MakeField("offset", 3, ProtoSchemaType::kInt64));
1733 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kInt64));
1734 event->fields.push_back(MakeField("mode", 5, ProtoSchemaType::kInt32));
1735 }
1736
1737 {
1738 events.emplace_back(Event{});
1739 Event* event = &events.back();
1740 event->name = "ext4_read_block_bitmap_load";
1741 event->group = "ext4";
1742 event->proto_field_id = 206;
1743 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1744 event->fields.push_back(MakeField("group", 2, ProtoSchemaType::kUint32));
1745 }
1746
1747 {
1748 events.emplace_back(Event{});
1749 Event* event = &events.back();
1750 event->name = "ext4_readpage";
1751 event->group = "ext4";
1752 event->proto_field_id = 207;
1753 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1754 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1755 event->fields.push_back(MakeField("index", 3, ProtoSchemaType::kUint64));
1756 }
1757
1758 {
1759 events.emplace_back(Event{});
1760 Event* event = &events.back();
1761 event->name = "ext4_releasepage";
1762 event->group = "ext4";
1763 event->proto_field_id = 208;
1764 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1765 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1766 event->fields.push_back(MakeField("index", 3, ProtoSchemaType::kUint64));
1767 }
1768
1769 {
1770 events.emplace_back(Event{});
1771 Event* event = &events.back();
1772 event->name = "ext4_remove_blocks";
1773 event->group = "ext4";
1774 event->proto_field_id = 209;
1775 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1776 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1777 event->fields.push_back(MakeField("from", 3, ProtoSchemaType::kUint32));
1778 event->fields.push_back(MakeField("to", 4, ProtoSchemaType::kUint32));
1779 event->fields.push_back(MakeField("partial", 5, ProtoSchemaType::kInt64));
1780 event->fields.push_back(MakeField("ee_pblk", 6, ProtoSchemaType::kUint64));
1781 event->fields.push_back(MakeField("ee_lblk", 7, ProtoSchemaType::kUint32));
1782 event->fields.push_back(MakeField("ee_len", 8, ProtoSchemaType::kUint32));
1783 }
1784
1785 {
1786 events.emplace_back(Event{});
1787 Event* event = &events.back();
1788 event->name = "ext4_request_blocks";
1789 event->group = "ext4";
1790 event->proto_field_id = 210;
1791 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1792 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1793 event->fields.push_back(MakeField("len", 3, ProtoSchemaType::kUint32));
1794 event->fields.push_back(MakeField("logical", 4, ProtoSchemaType::kUint32));
1795 event->fields.push_back(MakeField("lleft", 5, ProtoSchemaType::kUint32));
1796 event->fields.push_back(MakeField("lright", 6, ProtoSchemaType::kUint32));
1797 event->fields.push_back(MakeField("goal", 7, ProtoSchemaType::kUint64));
1798 event->fields.push_back(MakeField("pleft", 8, ProtoSchemaType::kUint64));
1799 event->fields.push_back(MakeField("pright", 9, ProtoSchemaType::kUint64));
1800 event->fields.push_back(MakeField("flags", 10, ProtoSchemaType::kUint32));
1801 }
1802
1803 {
1804 events.emplace_back(Event{});
1805 Event* event = &events.back();
1806 event->name = "ext4_request_inode";
1807 event->group = "ext4";
1808 event->proto_field_id = 211;
1809 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1810 event->fields.push_back(MakeField("dir", 2, ProtoSchemaType::kUint64));
1811 event->fields.push_back(MakeField("mode", 3, ProtoSchemaType::kUint32));
1812 }
1813
1814 {
1815 events.emplace_back(Event{});
1816 Event* event = &events.back();
1817 event->name = "ext4_sync_fs";
1818 event->group = "ext4";
1819 event->proto_field_id = 212;
1820 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1821 event->fields.push_back(MakeField("wait", 2, ProtoSchemaType::kInt32));
1822 }
1823
1824 {
1825 events.emplace_back(Event{});
1826 Event* event = &events.back();
1827 event->name = "ext4_trim_all_free";
1828 event->group = "ext4";
1829 event->proto_field_id = 213;
1830 event->fields.push_back(MakeField("dev_major", 1, ProtoSchemaType::kInt32));
1831 event->fields.push_back(MakeField("dev_minor", 2, ProtoSchemaType::kInt32));
1832 event->fields.push_back(MakeField("group", 3, ProtoSchemaType::kUint32));
1833 event->fields.push_back(MakeField("start", 4, ProtoSchemaType::kInt32));
1834 event->fields.push_back(MakeField("len", 5, ProtoSchemaType::kInt32));
1835 }
1836
1837 {
1838 events.emplace_back(Event{});
1839 Event* event = &events.back();
1840 event->name = "ext4_trim_extent";
1841 event->group = "ext4";
1842 event->proto_field_id = 214;
1843 event->fields.push_back(MakeField("dev_major", 1, ProtoSchemaType::kInt32));
1844 event->fields.push_back(MakeField("dev_minor", 2, ProtoSchemaType::kInt32));
1845 event->fields.push_back(MakeField("group", 3, ProtoSchemaType::kUint32));
1846 event->fields.push_back(MakeField("start", 4, ProtoSchemaType::kInt32));
1847 event->fields.push_back(MakeField("len", 5, ProtoSchemaType::kInt32));
1848 }
1849
1850 {
1851 events.emplace_back(Event{});
1852 Event* event = &events.back();
1853 event->name = "ext4_truncate_enter";
1854 event->group = "ext4";
1855 event->proto_field_id = 215;
1856 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1857 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1858 event->fields.push_back(MakeField("blocks", 3, ProtoSchemaType::kUint64));
1859 }
1860
1861 {
1862 events.emplace_back(Event{});
1863 Event* event = &events.back();
1864 event->name = "ext4_truncate_exit";
1865 event->group = "ext4";
1866 event->proto_field_id = 216;
1867 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1868 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1869 event->fields.push_back(MakeField("blocks", 3, ProtoSchemaType::kUint64));
1870 }
1871
1872 {
1873 events.emplace_back(Event{});
1874 Event* event = &events.back();
1875 event->name = "ext4_unlink_enter";
1876 event->group = "ext4";
1877 event->proto_field_id = 217;
1878 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1879 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1880 event->fields.push_back(MakeField("parent", 3, ProtoSchemaType::kUint64));
1881 event->fields.push_back(MakeField("size", 4, ProtoSchemaType::kInt64));
1882 }
1883
1884 {
1885 events.emplace_back(Event{});
1886 Event* event = &events.back();
1887 event->name = "ext4_unlink_exit";
1888 event->group = "ext4";
1889 event->proto_field_id = 218;
1890 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1891 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1892 event->fields.push_back(MakeField("ret", 3, ProtoSchemaType::kInt32));
1893 }
1894
1895 {
1896 events.emplace_back(Event{});
1897 Event* event = &events.back();
1898 event->name = "ext4_write_begin";
1899 event->group = "ext4";
1900 event->proto_field_id = 219;
1901 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1902 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1903 event->fields.push_back(MakeField("pos", 3, ProtoSchemaType::kInt64));
1904 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
1905 event->fields.push_back(MakeField("flags", 5, ProtoSchemaType::kUint32));
1906 }
1907
1908 {
1909 events.emplace_back(Event{});
1910 Event* event = &events.back();
1911 event->name = "ext4_write_end";
1912 event->group = "ext4";
1913 event->proto_field_id = 230;
1914 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1915 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1916 event->fields.push_back(MakeField("pos", 3, ProtoSchemaType::kInt64));
1917 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
1918 event->fields.push_back(MakeField("copied", 5, ProtoSchemaType::kUint32));
1919 }
1920
1921 {
1922 events.emplace_back(Event{});
1923 Event* event = &events.back();
1924 event->name = "ext4_writepage";
1925 event->group = "ext4";
1926 event->proto_field_id = 231;
1927 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1928 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1929 event->fields.push_back(MakeField("index", 3, ProtoSchemaType::kUint64));
1930 }
1931
1932 {
1933 events.emplace_back(Event{});
1934 Event* event = &events.back();
1935 event->name = "ext4_writepages";
1936 event->group = "ext4";
1937 event->proto_field_id = 232;
1938 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1939 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1940 event->fields.push_back(
1941 MakeField("nr_to_write", 3, ProtoSchemaType::kInt64));
1942 event->fields.push_back(
1943 MakeField("pages_skipped", 4, ProtoSchemaType::kInt64));
1944 event->fields.push_back(
1945 MakeField("range_start", 5, ProtoSchemaType::kInt64));
1946 event->fields.push_back(MakeField("range_end", 6, ProtoSchemaType::kInt64));
1947 event->fields.push_back(
1948 MakeField("writeback_index", 7, ProtoSchemaType::kUint64));
1949 event->fields.push_back(MakeField("sync_mode", 8, ProtoSchemaType::kInt32));
1950 event->fields.push_back(
1951 MakeField("for_kupdate", 9, ProtoSchemaType::kUint32));
1952 event->fields.push_back(
1953 MakeField("range_cyclic", 10, ProtoSchemaType::kUint32));
1954 }
1955
1956 {
1957 events.emplace_back(Event{});
1958 Event* event = &events.back();
1959 event->name = "ext4_writepages_result";
1960 event->group = "ext4";
1961 event->proto_field_id = 233;
1962 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1963 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1964 event->fields.push_back(MakeField("ret", 3, ProtoSchemaType::kInt32));
1965 event->fields.push_back(
1966 MakeField("pages_written", 4, ProtoSchemaType::kInt32));
1967 event->fields.push_back(
1968 MakeField("pages_skipped", 5, ProtoSchemaType::kInt64));
1969 event->fields.push_back(
1970 MakeField("writeback_index", 6, ProtoSchemaType::kUint64));
1971 event->fields.push_back(MakeField("sync_mode", 7, ProtoSchemaType::kInt32));
1972 }
1973
1974 {
1975 events.emplace_back(Event{});
1976 Event* event = &events.back();
1977 event->name = "ext4_zero_range";
1978 event->group = "ext4";
1979 event->proto_field_id = 234;
1980 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1981 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
1982 event->fields.push_back(MakeField("offset", 3, ProtoSchemaType::kInt64));
1983 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kInt64));
1984 event->fields.push_back(MakeField("mode", 5, ProtoSchemaType::kInt32));
1985 }
1986
1987 {
1988 events.emplace_back(Event{});
1989 Event* event = &events.back();
1990 event->name = "f2fs_do_submit_bio";
1991 event->group = "f2fs";
1992 event->proto_field_id = 243;
1993 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
1994 event->fields.push_back(MakeField("btype", 2, ProtoSchemaType::kInt32));
1995 event->fields.push_back(MakeField("sync", 3, ProtoSchemaType::kUint32));
1996 event->fields.push_back(MakeField("sector", 4, ProtoSchemaType::kUint64));
1997 event->fields.push_back(MakeField("size", 5, ProtoSchemaType::kUint32));
1998 }
1999
2000 {
2001 events.emplace_back(Event{});
2002 Event* event = &events.back();
2003 event->name = "f2fs_evict_inode";
2004 event->group = "f2fs";
2005 event->proto_field_id = 244;
2006 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2007 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2008 event->fields.push_back(MakeField("pino", 3, ProtoSchemaType::kUint64));
2009 event->fields.push_back(MakeField("mode", 4, ProtoSchemaType::kUint32));
2010 event->fields.push_back(MakeField("size", 5, ProtoSchemaType::kInt64));
2011 event->fields.push_back(MakeField("nlink", 6, ProtoSchemaType::kUint32));
2012 event->fields.push_back(MakeField("blocks", 7, ProtoSchemaType::kUint64));
2013 event->fields.push_back(MakeField("advise", 8, ProtoSchemaType::kUint32));
2014 }
2015
2016 {
2017 events.emplace_back(Event{});
2018 Event* event = &events.back();
2019 event->name = "f2fs_fallocate";
2020 event->group = "f2fs";
2021 event->proto_field_id = 245;
2022 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2023 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2024 event->fields.push_back(MakeField("mode", 3, ProtoSchemaType::kInt32));
2025 event->fields.push_back(MakeField("offset", 4, ProtoSchemaType::kInt64));
2026 event->fields.push_back(MakeField("len", 5, ProtoSchemaType::kInt64));
2027 event->fields.push_back(MakeField("size", 6, ProtoSchemaType::kInt64));
2028 event->fields.push_back(MakeField("blocks", 7, ProtoSchemaType::kUint64));
2029 event->fields.push_back(MakeField("ret", 8, ProtoSchemaType::kInt32));
2030 }
2031
2032 {
2033 events.emplace_back(Event{});
2034 Event* event = &events.back();
2035 event->name = "f2fs_get_data_block";
2036 event->group = "f2fs";
2037 event->proto_field_id = 246;
2038 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2039 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2040 event->fields.push_back(MakeField("iblock", 3, ProtoSchemaType::kUint64));
2041 event->fields.push_back(MakeField("bh_start", 4, ProtoSchemaType::kUint64));
2042 event->fields.push_back(MakeField("bh_size", 5, ProtoSchemaType::kUint64));
2043 event->fields.push_back(MakeField("ret", 6, ProtoSchemaType::kInt32));
2044 }
2045
2046 {
2047 events.emplace_back(Event{});
2048 Event* event = &events.back();
2049 event->name = "f2fs_get_victim";
2050 event->group = "f2fs";
2051 event->proto_field_id = 247;
2052 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2053 event->fields.push_back(MakeField("type", 2, ProtoSchemaType::kInt32));
2054 event->fields.push_back(MakeField("gc_type", 3, ProtoSchemaType::kInt32));
2055 event->fields.push_back(
2056 MakeField("alloc_mode", 4, ProtoSchemaType::kInt32));
2057 event->fields.push_back(MakeField("gc_mode", 5, ProtoSchemaType::kInt32));
2058 event->fields.push_back(MakeField("victim", 6, ProtoSchemaType::kUint32));
2059 event->fields.push_back(MakeField("ofs_unit", 7, ProtoSchemaType::kUint32));
2060 event->fields.push_back(
2061 MakeField("pre_victim", 8, ProtoSchemaType::kUint32));
2062 event->fields.push_back(MakeField("prefree", 9, ProtoSchemaType::kUint32));
2063 event->fields.push_back(MakeField("free", 10, ProtoSchemaType::kUint32));
2064 }
2065
2066 {
2067 events.emplace_back(Event{});
2068 Event* event = &events.back();
2069 event->name = "f2fs_iget";
2070 event->group = "f2fs";
2071 event->proto_field_id = 248;
2072 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2073 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2074 event->fields.push_back(MakeField("pino", 3, ProtoSchemaType::kUint64));
2075 event->fields.push_back(MakeField("mode", 4, ProtoSchemaType::kUint32));
2076 event->fields.push_back(MakeField("size", 5, ProtoSchemaType::kInt64));
2077 event->fields.push_back(MakeField("nlink", 6, ProtoSchemaType::kUint32));
2078 event->fields.push_back(MakeField("blocks", 7, ProtoSchemaType::kUint64));
2079 event->fields.push_back(MakeField("advise", 8, ProtoSchemaType::kUint32));
2080 }
2081
2082 {
2083 events.emplace_back(Event{});
2084 Event* event = &events.back();
2085 event->name = "f2fs_iget_exit";
2086 event->group = "f2fs";
2087 event->proto_field_id = 249;
2088 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2089 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2090 event->fields.push_back(MakeField("ret", 3, ProtoSchemaType::kInt32));
2091 }
2092
2093 {
2094 events.emplace_back(Event{});
2095 Event* event = &events.back();
2096 event->name = "f2fs_new_inode";
2097 event->group = "f2fs";
2098 event->proto_field_id = 250;
2099 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2100 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2101 event->fields.push_back(MakeField("ret", 3, ProtoSchemaType::kInt32));
2102 }
2103
2104 {
2105 events.emplace_back(Event{});
2106 Event* event = &events.back();
2107 event->name = "f2fs_readpage";
2108 event->group = "f2fs";
2109 event->proto_field_id = 251;
2110 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2111 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2112 event->fields.push_back(MakeField("index", 3, ProtoSchemaType::kUint64));
2113 event->fields.push_back(MakeField("blkaddr", 4, ProtoSchemaType::kUint64));
2114 event->fields.push_back(MakeField("type", 5, ProtoSchemaType::kInt32));
2115 }
2116
2117 {
2118 events.emplace_back(Event{});
2119 Event* event = &events.back();
2120 event->name = "f2fs_reserve_new_block";
2121 event->group = "f2fs";
2122 event->proto_field_id = 252;
2123 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2124 event->fields.push_back(MakeField("nid", 2, ProtoSchemaType::kUint32));
2125 event->fields.push_back(
2126 MakeField("ofs_in_node", 3, ProtoSchemaType::kUint32));
2127 }
2128
2129 {
2130 events.emplace_back(Event{});
2131 Event* event = &events.back();
2132 event->name = "f2fs_set_page_dirty";
2133 event->group = "f2fs";
2134 event->proto_field_id = 253;
2135 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2136 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2137 event->fields.push_back(MakeField("type", 3, ProtoSchemaType::kInt32));
2138 event->fields.push_back(MakeField("dir", 4, ProtoSchemaType::kInt32));
2139 event->fields.push_back(MakeField("index", 5, ProtoSchemaType::kUint64));
2140 event->fields.push_back(MakeField("dirty", 6, ProtoSchemaType::kInt32));
2141 }
2142
2143 {
2144 events.emplace_back(Event{});
2145 Event* event = &events.back();
2146 event->name = "f2fs_submit_write_page";
2147 event->group = "f2fs";
2148 event->proto_field_id = 254;
2149 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2150 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2151 event->fields.push_back(MakeField("type", 3, ProtoSchemaType::kInt32));
2152 event->fields.push_back(MakeField("index", 4, ProtoSchemaType::kUint64));
2153 event->fields.push_back(MakeField("block", 5, ProtoSchemaType::kUint32));
2154 }
2155
2156 {
2157 events.emplace_back(Event{});
2158 Event* event = &events.back();
2159 event->name = "f2fs_sync_file_enter";
2160 event->group = "f2fs";
2161 event->proto_field_id = 255;
2162 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2163 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2164 event->fields.push_back(MakeField("pino", 3, ProtoSchemaType::kUint64));
2165 event->fields.push_back(MakeField("mode", 4, ProtoSchemaType::kUint32));
2166 event->fields.push_back(MakeField("size", 5, ProtoSchemaType::kInt64));
2167 event->fields.push_back(MakeField("nlink", 6, ProtoSchemaType::kUint32));
2168 event->fields.push_back(MakeField("blocks", 7, ProtoSchemaType::kUint64));
2169 event->fields.push_back(MakeField("advise", 8, ProtoSchemaType::kUint32));
2170 }
2171
2172 {
2173 events.emplace_back(Event{});
2174 Event* event = &events.back();
2175 event->name = "f2fs_sync_file_exit";
2176 event->group = "f2fs";
2177 event->proto_field_id = 256;
2178 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2179 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2180 event->fields.push_back(MakeField("need_cp", 3, ProtoSchemaType::kUint32));
2181 event->fields.push_back(MakeField("datasync", 4, ProtoSchemaType::kInt32));
2182 event->fields.push_back(MakeField("ret", 5, ProtoSchemaType::kInt32));
2183 }
2184
2185 {
2186 events.emplace_back(Event{});
2187 Event* event = &events.back();
2188 event->name = "f2fs_sync_fs";
2189 event->group = "f2fs";
2190 event->proto_field_id = 257;
2191 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2192 event->fields.push_back(MakeField("dirty", 2, ProtoSchemaType::kInt32));
2193 event->fields.push_back(MakeField("wait", 3, ProtoSchemaType::kInt32));
2194 }
2195
2196 {
2197 events.emplace_back(Event{});
2198 Event* event = &events.back();
2199 event->name = "f2fs_truncate";
2200 event->group = "f2fs";
2201 event->proto_field_id = 258;
2202 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2203 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2204 event->fields.push_back(MakeField("pino", 3, ProtoSchemaType::kUint64));
2205 event->fields.push_back(MakeField("mode", 4, ProtoSchemaType::kUint32));
2206 event->fields.push_back(MakeField("size", 5, ProtoSchemaType::kInt64));
2207 event->fields.push_back(MakeField("nlink", 6, ProtoSchemaType::kUint32));
2208 event->fields.push_back(MakeField("blocks", 7, ProtoSchemaType::kUint64));
2209 event->fields.push_back(MakeField("advise", 8, ProtoSchemaType::kUint32));
2210 }
2211
2212 {
2213 events.emplace_back(Event{});
2214 Event* event = &events.back();
2215 event->name = "f2fs_truncate_blocks_enter";
2216 event->group = "f2fs";
2217 event->proto_field_id = 259;
2218 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2219 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2220 event->fields.push_back(MakeField("size", 3, ProtoSchemaType::kInt64));
2221 event->fields.push_back(MakeField("blocks", 4, ProtoSchemaType::kUint64));
2222 event->fields.push_back(MakeField("from", 5, ProtoSchemaType::kUint64));
2223 }
2224
2225 {
2226 events.emplace_back(Event{});
2227 Event* event = &events.back();
2228 event->name = "f2fs_truncate_blocks_exit";
2229 event->group = "f2fs";
2230 event->proto_field_id = 260;
2231 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2232 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2233 event->fields.push_back(MakeField("ret", 3, ProtoSchemaType::kInt32));
2234 }
2235
2236 {
2237 events.emplace_back(Event{});
2238 Event* event = &events.back();
2239 event->name = "f2fs_truncate_data_blocks_range";
2240 event->group = "f2fs";
2241 event->proto_field_id = 261;
2242 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2243 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2244 event->fields.push_back(MakeField("nid", 3, ProtoSchemaType::kUint32));
2245 event->fields.push_back(MakeField("ofs", 4, ProtoSchemaType::kUint32));
2246 event->fields.push_back(MakeField("free", 5, ProtoSchemaType::kInt32));
2247 }
2248
2249 {
2250 events.emplace_back(Event{});
2251 Event* event = &events.back();
2252 event->name = "f2fs_truncate_inode_blocks_enter";
2253 event->group = "f2fs";
2254 event->proto_field_id = 262;
2255 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2256 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2257 event->fields.push_back(MakeField("size", 3, ProtoSchemaType::kInt64));
2258 event->fields.push_back(MakeField("blocks", 4, ProtoSchemaType::kUint64));
2259 event->fields.push_back(MakeField("from", 5, ProtoSchemaType::kUint64));
2260 }
2261
2262 {
2263 events.emplace_back(Event{});
2264 Event* event = &events.back();
2265 event->name = "f2fs_truncate_inode_blocks_exit";
2266 event->group = "f2fs";
2267 event->proto_field_id = 263;
2268 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2269 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2270 event->fields.push_back(MakeField("ret", 3, ProtoSchemaType::kInt32));
2271 }
2272
2273 {
2274 events.emplace_back(Event{});
2275 Event* event = &events.back();
2276 event->name = "f2fs_truncate_node";
2277 event->group = "f2fs";
2278 event->proto_field_id = 264;
2279 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2280 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2281 event->fields.push_back(MakeField("nid", 3, ProtoSchemaType::kUint32));
2282 event->fields.push_back(MakeField("blk_addr", 4, ProtoSchemaType::kUint32));
2283 }
2284
2285 {
2286 events.emplace_back(Event{});
2287 Event* event = &events.back();
2288 event->name = "f2fs_truncate_nodes_enter";
2289 event->group = "f2fs";
2290 event->proto_field_id = 265;
2291 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2292 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2293 event->fields.push_back(MakeField("nid", 3, ProtoSchemaType::kUint32));
2294 event->fields.push_back(MakeField("blk_addr", 4, ProtoSchemaType::kUint32));
2295 }
2296
2297 {
2298 events.emplace_back(Event{});
2299 Event* event = &events.back();
2300 event->name = "f2fs_truncate_nodes_exit";
2301 event->group = "f2fs";
2302 event->proto_field_id = 266;
2303 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2304 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2305 event->fields.push_back(MakeField("ret", 3, ProtoSchemaType::kInt32));
2306 }
2307
2308 {
2309 events.emplace_back(Event{});
2310 Event* event = &events.back();
2311 event->name = "f2fs_truncate_partial_nodes";
2312 event->group = "f2fs";
2313 event->proto_field_id = 267;
2314 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2315 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2316 event->fields.push_back(MakeField("nid", 3, ProtoSchemaType::kUint32));
2317 event->fields.push_back(MakeField("depth", 4, ProtoSchemaType::kInt32));
2318 event->fields.push_back(MakeField("err", 5, ProtoSchemaType::kInt32));
2319 }
2320
2321 {
2322 events.emplace_back(Event{});
2323 Event* event = &events.back();
2324 event->name = "f2fs_unlink_enter";
2325 event->group = "f2fs";
2326 event->proto_field_id = 268;
2327 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2328 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2329 event->fields.push_back(MakeField("size", 3, ProtoSchemaType::kInt64));
2330 event->fields.push_back(MakeField("blocks", 4, ProtoSchemaType::kUint64));
2331 event->fields.push_back(MakeField("name", 5, ProtoSchemaType::kString));
2332 }
2333
2334 {
2335 events.emplace_back(Event{});
2336 Event* event = &events.back();
2337 event->name = "f2fs_unlink_exit";
2338 event->group = "f2fs";
2339 event->proto_field_id = 269;
2340 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2341 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2342 event->fields.push_back(MakeField("ret", 3, ProtoSchemaType::kInt32));
2343 }
2344
2345 {
2346 events.emplace_back(Event{});
2347 Event* event = &events.back();
2348 event->name = "f2fs_vm_page_mkwrite";
2349 event->group = "f2fs";
2350 event->proto_field_id = 270;
2351 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2352 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2353 event->fields.push_back(MakeField("type", 3, ProtoSchemaType::kInt32));
2354 event->fields.push_back(MakeField("dir", 4, ProtoSchemaType::kInt32));
2355 event->fields.push_back(MakeField("index", 5, ProtoSchemaType::kUint64));
2356 event->fields.push_back(MakeField("dirty", 6, ProtoSchemaType::kInt32));
2357 }
2358
2359 {
2360 events.emplace_back(Event{});
2361 Event* event = &events.back();
2362 event->name = "f2fs_write_begin";
2363 event->group = "f2fs";
2364 event->proto_field_id = 271;
2365 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2366 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2367 event->fields.push_back(MakeField("pos", 3, ProtoSchemaType::kInt64));
2368 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
2369 event->fields.push_back(MakeField("flags", 5, ProtoSchemaType::kUint32));
2370 }
2371
2372 {
2373 events.emplace_back(Event{});
2374 Event* event = &events.back();
2375 event->name = "f2fs_write_checkpoint";
2376 event->group = "f2fs";
2377 event->proto_field_id = 272;
2378 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2379 event->fields.push_back(
2380 MakeField("is_umount", 2, ProtoSchemaType::kUint32));
2381 event->fields.push_back(MakeField("msg", 3, ProtoSchemaType::kString));
2382 }
2383
2384 {
2385 events.emplace_back(Event{});
2386 Event* event = &events.back();
2387 event->name = "f2fs_write_end";
2388 event->group = "f2fs";
2389 event->proto_field_id = 273;
2390 event->fields.push_back(MakeField("dev", 1, ProtoSchemaType::kUint64));
2391 event->fields.push_back(MakeField("ino", 2, ProtoSchemaType::kUint64));
2392 event->fields.push_back(MakeField("pos", 3, ProtoSchemaType::kInt64));
2393 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint32));
2394 event->fields.push_back(MakeField("copied", 5, ProtoSchemaType::kUint32));
2395 }
2396
2397 {
2398 events.emplace_back(Event{});
2399 Event* event = &events.back();
2400 event->name = "fence_init";
2401 event->group = "fence";
2402 event->proto_field_id = 316;
2403 event->fields.push_back(MakeField("context", 1, ProtoSchemaType::kUint32));
2404 event->fields.push_back(MakeField("driver", 2, ProtoSchemaType::kString));
2405 event->fields.push_back(MakeField("seqno", 3, ProtoSchemaType::kUint32));
2406 event->fields.push_back(MakeField("timeline", 4, ProtoSchemaType::kString));
2407 }
2408
2409 {
2410 events.emplace_back(Event{});
2411 Event* event = &events.back();
2412 event->name = "fence_destroy";
2413 event->group = "fence";
2414 event->proto_field_id = 317;
2415 event->fields.push_back(MakeField("context", 1, ProtoSchemaType::kUint32));
2416 event->fields.push_back(MakeField("driver", 2, ProtoSchemaType::kString));
2417 event->fields.push_back(MakeField("seqno", 3, ProtoSchemaType::kUint32));
2418 event->fields.push_back(MakeField("timeline", 4, ProtoSchemaType::kString));
2419 }
2420
2421 {
2422 events.emplace_back(Event{});
2423 Event* event = &events.back();
2424 event->name = "fence_enable_signal";
2425 event->group = "fence";
2426 event->proto_field_id = 318;
2427 event->fields.push_back(MakeField("context", 1, ProtoSchemaType::kUint32));
2428 event->fields.push_back(MakeField("driver", 2, ProtoSchemaType::kString));
2429 event->fields.push_back(MakeField("seqno", 3, ProtoSchemaType::kUint32));
2430 event->fields.push_back(MakeField("timeline", 4, ProtoSchemaType::kString));
2431 }
2432
2433 {
2434 events.emplace_back(Event{});
2435 Event* event = &events.back();
2436 event->name = "fence_signaled";
2437 event->group = "fence";
2438 event->proto_field_id = 319;
2439 event->fields.push_back(MakeField("context", 1, ProtoSchemaType::kUint32));
2440 event->fields.push_back(MakeField("driver", 2, ProtoSchemaType::kString));
2441 event->fields.push_back(MakeField("seqno", 3, ProtoSchemaType::kUint32));
2442 event->fields.push_back(MakeField("timeline", 4, ProtoSchemaType::kString));
2443 }
2444
2445 {
2446 events.emplace_back(Event{});
2447 Event* event = &events.back();
2448 event->name = "mm_filemap_add_to_page_cache";
2449 event->group = "filemap";
2450 event->proto_field_id = 97;
2451 event->fields.push_back(MakeField("pfn", 1, ProtoSchemaType::kUint64));
2452 event->fields.push_back(MakeField("i_ino", 2, ProtoSchemaType::kUint64));
2453 event->fields.push_back(MakeField("index", 3, ProtoSchemaType::kUint64));
2454 event->fields.push_back(MakeField("s_dev", 4, ProtoSchemaType::kUint64));
2455 event->fields.push_back(MakeField("page", 5, ProtoSchemaType::kUint64));
2456 }
2457
2458 {
2459 events.emplace_back(Event{});
2460 Event* event = &events.back();
2461 event->name = "mm_filemap_delete_from_page_cache";
2462 event->group = "filemap";
2463 event->proto_field_id = 98;
2464 event->fields.push_back(MakeField("pfn", 1, ProtoSchemaType::kUint64));
2465 event->fields.push_back(MakeField("i_ino", 2, ProtoSchemaType::kUint64));
2466 event->fields.push_back(MakeField("index", 3, ProtoSchemaType::kUint64));
2467 event->fields.push_back(MakeField("s_dev", 4, ProtoSchemaType::kUint64));
2468 event->fields.push_back(MakeField("page", 5, ProtoSchemaType::kUint64));
2469 }
2470
2471 {
2472 events.emplace_back(Event{});
2473 Event* event = &events.back();
2474 event->name = "print";
2475 event->group = "ftrace";
2476 event->proto_field_id = 3;
2477 event->fields.push_back(MakeField("ip", 1, ProtoSchemaType::kUint64));
2478 event->fields.push_back(MakeField("buf", 2, ProtoSchemaType::kString));
2479 }
2480
2481 {
2482 events.emplace_back(Event{});
2483 Event* event = &events.back();
2484 event->name = "i2c_read";
2485 event->group = "i2c";
2486 event->proto_field_id = 27;
2487 event->fields.push_back(
2488 MakeField("adapter_nr", 1, ProtoSchemaType::kInt32));
2489 event->fields.push_back(MakeField("msg_nr", 2, ProtoSchemaType::kUint32));
2490 event->fields.push_back(MakeField("addr", 3, ProtoSchemaType::kUint32));
2491 event->fields.push_back(MakeField("flags", 4, ProtoSchemaType::kUint32));
2492 event->fields.push_back(MakeField("len", 5, ProtoSchemaType::kUint32));
2493 }
2494
2495 {
2496 events.emplace_back(Event{});
2497 Event* event = &events.back();
2498 event->name = "i2c_write";
2499 event->group = "i2c";
2500 event->proto_field_id = 28;
2501 event->fields.push_back(
2502 MakeField("adapter_nr", 1, ProtoSchemaType::kInt32));
2503 event->fields.push_back(MakeField("msg_nr", 2, ProtoSchemaType::kUint32));
2504 event->fields.push_back(MakeField("addr", 3, ProtoSchemaType::kUint32));
2505 event->fields.push_back(MakeField("flags", 4, ProtoSchemaType::kUint32));
2506 event->fields.push_back(MakeField("len", 5, ProtoSchemaType::kUint32));
2507 event->fields.push_back(MakeField("buf", 6, ProtoSchemaType::kUint32));
2508 }
2509
2510 {
2511 events.emplace_back(Event{});
2512 Event* event = &events.back();
2513 event->name = "i2c_result";
2514 event->group = "i2c";
2515 event->proto_field_id = 29;
2516 event->fields.push_back(
2517 MakeField("adapter_nr", 1, ProtoSchemaType::kInt32));
2518 event->fields.push_back(MakeField("nr_msgs", 2, ProtoSchemaType::kUint32));
2519 event->fields.push_back(MakeField("ret", 3, ProtoSchemaType::kInt32));
2520 }
2521
2522 {
2523 events.emplace_back(Event{});
2524 Event* event = &events.back();
2525 event->name = "i2c_reply";
2526 event->group = "i2c";
2527 event->proto_field_id = 30;
2528 event->fields.push_back(
2529 MakeField("adapter_nr", 1, ProtoSchemaType::kInt32));
2530 event->fields.push_back(MakeField("msg_nr", 2, ProtoSchemaType::kUint32));
2531 event->fields.push_back(MakeField("addr", 3, ProtoSchemaType::kUint32));
2532 event->fields.push_back(MakeField("flags", 4, ProtoSchemaType::kUint32));
2533 event->fields.push_back(MakeField("len", 5, ProtoSchemaType::kUint32));
2534 event->fields.push_back(MakeField("buf", 6, ProtoSchemaType::kUint32));
2535 }
2536
2537 {
2538 events.emplace_back(Event{});
2539 Event* event = &events.back();
2540 event->name = "smbus_read";
2541 event->group = "i2c";
2542 event->proto_field_id = 31;
2543 event->fields.push_back(
2544 MakeField("adapter_nr", 1, ProtoSchemaType::kInt32));
2545 event->fields.push_back(MakeField("flags", 2, ProtoSchemaType::kUint32));
2546 event->fields.push_back(MakeField("addr", 3, ProtoSchemaType::kUint32));
2547 event->fields.push_back(MakeField("command", 4, ProtoSchemaType::kUint32));
2548 event->fields.push_back(MakeField("protocol", 5, ProtoSchemaType::kUint32));
2549 }
2550
2551 {
2552 events.emplace_back(Event{});
2553 Event* event = &events.back();
2554 event->name = "smbus_write";
2555 event->group = "i2c";
2556 event->proto_field_id = 32;
2557 event->fields.push_back(
2558 MakeField("adapter_nr", 1, ProtoSchemaType::kInt32));
2559 event->fields.push_back(MakeField("addr", 2, ProtoSchemaType::kUint32));
2560 event->fields.push_back(MakeField("flags", 3, ProtoSchemaType::kUint32));
2561 event->fields.push_back(MakeField("command", 4, ProtoSchemaType::kUint32));
2562 event->fields.push_back(MakeField("len", 5, ProtoSchemaType::kUint32));
2563 event->fields.push_back(MakeField("protocol", 6, ProtoSchemaType::kUint32));
2564 }
2565
2566 {
2567 events.emplace_back(Event{});
2568 Event* event = &events.back();
2569 event->name = "smbus_result";
2570 event->group = "i2c";
2571 event->proto_field_id = 33;
2572 event->fields.push_back(
2573 MakeField("adapter_nr", 1, ProtoSchemaType::kInt32));
2574 event->fields.push_back(MakeField("addr", 2, ProtoSchemaType::kUint32));
2575 event->fields.push_back(MakeField("flags", 3, ProtoSchemaType::kUint32));
2576 event->fields.push_back(
2577 MakeField("read_write", 4, ProtoSchemaType::kUint32));
2578 event->fields.push_back(MakeField("command", 5, ProtoSchemaType::kUint32));
2579 event->fields.push_back(MakeField("res", 6, ProtoSchemaType::kInt32));
2580 event->fields.push_back(MakeField("protocol", 7, ProtoSchemaType::kUint32));
2581 }
2582
2583 {
2584 events.emplace_back(Event{});
2585 Event* event = &events.back();
2586 event->name = "smbus_reply";
2587 event->group = "i2c";
2588 event->proto_field_id = 34;
2589 event->fields.push_back(
2590 MakeField("adapter_nr", 1, ProtoSchemaType::kInt32));
2591 event->fields.push_back(MakeField("addr", 2, ProtoSchemaType::kUint32));
2592 event->fields.push_back(MakeField("flags", 3, ProtoSchemaType::kUint32));
2593 event->fields.push_back(MakeField("command", 4, ProtoSchemaType::kUint32));
2594 event->fields.push_back(MakeField("len", 5, ProtoSchemaType::kUint32));
2595 event->fields.push_back(MakeField("protocol", 6, ProtoSchemaType::kUint32));
2596 }
2597
2598 {
2599 events.emplace_back(Event{});
2600 Event* event = &events.back();
2601 event->name = "ipi_entry";
2602 event->group = "ipi";
2603 event->proto_field_id = 21;
2604 event->fields.push_back(MakeField("reason", 1, ProtoSchemaType::kString));
2605 }
2606
2607 {
2608 events.emplace_back(Event{});
2609 Event* event = &events.back();
2610 event->name = "ipi_exit";
2611 event->group = "ipi";
2612 event->proto_field_id = 22;
2613 event->fields.push_back(MakeField("reason", 1, ProtoSchemaType::kString));
2614 }
2615
2616 {
2617 events.emplace_back(Event{});
2618 Event* event = &events.back();
2619 event->name = "ipi_raise";
2620 event->group = "ipi";
2621 event->proto_field_id = 23;
2622 event->fields.push_back(
2623 MakeField("target_cpus", 1, ProtoSchemaType::kUint32));
2624 event->fields.push_back(MakeField("reason", 2, ProtoSchemaType::kString));
2625 }
2626
2627 {
2628 events.emplace_back(Event{});
2629 Event* event = &events.back();
2630 event->name = "softirq_entry";
2631 event->group = "irq";
2632 event->proto_field_id = 24;
2633 event->fields.push_back(MakeField("vec", 1, ProtoSchemaType::kUint32));
2634 }
2635
2636 {
2637 events.emplace_back(Event{});
2638 Event* event = &events.back();
2639 event->name = "softirq_exit";
2640 event->group = "irq";
2641 event->proto_field_id = 25;
2642 event->fields.push_back(MakeField("vec", 1, ProtoSchemaType::kUint32));
2643 }
2644
2645 {
2646 events.emplace_back(Event{});
2647 Event* event = &events.back();
2648 event->name = "softirq_raise";
2649 event->group = "irq";
2650 event->proto_field_id = 26;
2651 event->fields.push_back(MakeField("vec", 1, ProtoSchemaType::kUint32));
2652 }
2653
2654 {
2655 events.emplace_back(Event{});
2656 Event* event = &events.back();
2657 event->name = "irq_handler_entry";
2658 event->group = "irq";
2659 event->proto_field_id = 36;
2660 event->fields.push_back(MakeField("irq", 1, ProtoSchemaType::kInt32));
2661 event->fields.push_back(MakeField("name", 2, ProtoSchemaType::kString));
2662 event->fields.push_back(MakeField("handler", 3, ProtoSchemaType::kUint32));
2663 }
2664
2665 {
2666 events.emplace_back(Event{});
2667 Event* event = &events.back();
2668 event->name = "irq_handler_exit";
2669 event->group = "irq";
2670 event->proto_field_id = 37;
2671 event->fields.push_back(MakeField("irq", 1, ProtoSchemaType::kInt32));
2672 event->fields.push_back(MakeField("ret", 2, ProtoSchemaType::kInt32));
2673 }
2674
2675 {
2676 events.emplace_back(Event{});
2677 Event* event = &events.back();
2678 event->name = "alloc_pages_iommu_end";
2679 event->group = "kmem";
2680 event->proto_field_id = 274;
2681 event->fields.push_back(
2682 MakeField("gfp_flags", 1, ProtoSchemaType::kUint32));
2683 event->fields.push_back(MakeField("order", 2, ProtoSchemaType::kUint32));
2684 }
2685
2686 {
2687 events.emplace_back(Event{});
2688 Event* event = &events.back();
2689 event->name = "alloc_pages_iommu_fail";
2690 event->group = "kmem";
2691 event->proto_field_id = 275;
2692 event->fields.push_back(
2693 MakeField("gfp_flags", 1, ProtoSchemaType::kUint32));
2694 event->fields.push_back(MakeField("order", 2, ProtoSchemaType::kUint32));
2695 }
2696
2697 {
2698 events.emplace_back(Event{});
2699 Event* event = &events.back();
2700 event->name = "alloc_pages_iommu_start";
2701 event->group = "kmem";
2702 event->proto_field_id = 276;
2703 event->fields.push_back(
2704 MakeField("gfp_flags", 1, ProtoSchemaType::kUint32));
2705 event->fields.push_back(MakeField("order", 2, ProtoSchemaType::kUint32));
2706 }
2707
2708 {
2709 events.emplace_back(Event{});
2710 Event* event = &events.back();
2711 event->name = "alloc_pages_sys_end";
2712 event->group = "kmem";
2713 event->proto_field_id = 277;
2714 event->fields.push_back(
2715 MakeField("gfp_flags", 1, ProtoSchemaType::kUint32));
2716 event->fields.push_back(MakeField("order", 2, ProtoSchemaType::kUint32));
2717 }
2718
2719 {
2720 events.emplace_back(Event{});
2721 Event* event = &events.back();
2722 event->name = "alloc_pages_sys_fail";
2723 event->group = "kmem";
2724 event->proto_field_id = 278;
2725 event->fields.push_back(
2726 MakeField("gfp_flags", 1, ProtoSchemaType::kUint32));
2727 event->fields.push_back(MakeField("order", 2, ProtoSchemaType::kUint32));
2728 }
2729
2730 {
2731 events.emplace_back(Event{});
2732 Event* event = &events.back();
2733 event->name = "alloc_pages_sys_start";
2734 event->group = "kmem";
2735 event->proto_field_id = 279;
2736 event->fields.push_back(
2737 MakeField("gfp_flags", 1, ProtoSchemaType::kUint32));
2738 event->fields.push_back(MakeField("order", 2, ProtoSchemaType::kUint32));
2739 }
2740
2741 {
2742 events.emplace_back(Event{});
2743 Event* event = &events.back();
2744 event->name = "dma_alloc_contiguous_retry";
2745 event->group = "kmem";
2746 event->proto_field_id = 280;
2747 event->fields.push_back(MakeField("tries", 1, ProtoSchemaType::kInt32));
2748 }
2749
2750 {
2751 events.emplace_back(Event{});
2752 Event* event = &events.back();
2753 event->name = "iommu_map_range";
2754 event->group = "kmem";
2755 event->proto_field_id = 281;
2756 event->fields.push_back(
2757 MakeField("chunk_size", 1, ProtoSchemaType::kUint64));
2758 event->fields.push_back(MakeField("len", 2, ProtoSchemaType::kUint64));
2759 event->fields.push_back(MakeField("pa", 3, ProtoSchemaType::kUint64));
2760 event->fields.push_back(MakeField("va", 4, ProtoSchemaType::kUint64));
2761 }
2762
2763 {
2764 events.emplace_back(Event{});
2765 Event* event = &events.back();
2766 event->name = "iommu_sec_ptbl_map_range_end";
2767 event->group = "kmem";
2768 event->proto_field_id = 282;
2769 event->fields.push_back(MakeField("len", 1, ProtoSchemaType::kUint64));
2770 event->fields.push_back(MakeField("num", 2, ProtoSchemaType::kInt32));
2771 event->fields.push_back(MakeField("pa", 3, ProtoSchemaType::kUint32));
2772 event->fields.push_back(MakeField("sec_id", 4, ProtoSchemaType::kInt32));
2773 event->fields.push_back(MakeField("va", 5, ProtoSchemaType::kUint64));
2774 }
2775
2776 {
2777 events.emplace_back(Event{});
2778 Event* event = &events.back();
2779 event->name = "iommu_sec_ptbl_map_range_start";
2780 event->group = "kmem";
2781 event->proto_field_id = 283;
2782 event->fields.push_back(MakeField("len", 1, ProtoSchemaType::kUint64));
2783 event->fields.push_back(MakeField("num", 2, ProtoSchemaType::kInt32));
2784 event->fields.push_back(MakeField("pa", 3, ProtoSchemaType::kUint32));
2785 event->fields.push_back(MakeField("sec_id", 4, ProtoSchemaType::kInt32));
2786 event->fields.push_back(MakeField("va", 5, ProtoSchemaType::kUint64));
2787 }
2788
2789 {
2790 events.emplace_back(Event{});
2791 Event* event = &events.back();
2792 event->name = "ion_alloc_buffer_end";
2793 event->group = "kmem";
2794 event->proto_field_id = 284;
2795 event->fields.push_back(
2796 MakeField("client_name", 1, ProtoSchemaType::kString));
2797 event->fields.push_back(MakeField("flags", 2, ProtoSchemaType::kUint32));
2798 event->fields.push_back(
2799 MakeField("heap_name", 3, ProtoSchemaType::kString));
2800 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint64));
2801 event->fields.push_back(MakeField("mask", 5, ProtoSchemaType::kUint32));
2802 }
2803
2804 {
2805 events.emplace_back(Event{});
2806 Event* event = &events.back();
2807 event->name = "ion_alloc_buffer_fail";
2808 event->group = "kmem";
2809 event->proto_field_id = 285;
2810 event->fields.push_back(
2811 MakeField("client_name", 1, ProtoSchemaType::kString));
2812 event->fields.push_back(MakeField("error", 2, ProtoSchemaType::kInt64));
2813 event->fields.push_back(MakeField("flags", 3, ProtoSchemaType::kUint32));
2814 event->fields.push_back(
2815 MakeField("heap_name", 4, ProtoSchemaType::kString));
2816 event->fields.push_back(MakeField("len", 5, ProtoSchemaType::kUint64));
2817 event->fields.push_back(MakeField("mask", 6, ProtoSchemaType::kUint32));
2818 }
2819
2820 {
2821 events.emplace_back(Event{});
2822 Event* event = &events.back();
2823 event->name = "ion_alloc_buffer_fallback";
2824 event->group = "kmem";
2825 event->proto_field_id = 286;
2826 event->fields.push_back(
2827 MakeField("client_name", 1, ProtoSchemaType::kString));
2828 event->fields.push_back(MakeField("error", 2, ProtoSchemaType::kInt64));
2829 event->fields.push_back(MakeField("flags", 3, ProtoSchemaType::kUint32));
2830 event->fields.push_back(
2831 MakeField("heap_name", 4, ProtoSchemaType::kString));
2832 event->fields.push_back(MakeField("len", 5, ProtoSchemaType::kUint64));
2833 event->fields.push_back(MakeField("mask", 6, ProtoSchemaType::kUint32));
2834 }
2835
2836 {
2837 events.emplace_back(Event{});
2838 Event* event = &events.back();
2839 event->name = "ion_alloc_buffer_start";
2840 event->group = "kmem";
2841 event->proto_field_id = 287;
2842 event->fields.push_back(
2843 MakeField("client_name", 1, ProtoSchemaType::kString));
2844 event->fields.push_back(MakeField("flags", 2, ProtoSchemaType::kUint32));
2845 event->fields.push_back(
2846 MakeField("heap_name", 3, ProtoSchemaType::kString));
2847 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint64));
2848 event->fields.push_back(MakeField("mask", 5, ProtoSchemaType::kUint32));
2849 }
2850
2851 {
2852 events.emplace_back(Event{});
2853 Event* event = &events.back();
2854 event->name = "ion_cp_alloc_retry";
2855 event->group = "kmem";
2856 event->proto_field_id = 288;
2857 event->fields.push_back(MakeField("tries", 1, ProtoSchemaType::kInt32));
2858 }
2859
2860 {
2861 events.emplace_back(Event{});
2862 Event* event = &events.back();
2863 event->name = "ion_cp_secure_buffer_end";
2864 event->group = "kmem";
2865 event->proto_field_id = 289;
2866 event->fields.push_back(MakeField("align", 1, ProtoSchemaType::kUint64));
2867 event->fields.push_back(MakeField("flags", 2, ProtoSchemaType::kUint64));
2868 event->fields.push_back(
2869 MakeField("heap_name", 3, ProtoSchemaType::kString));
2870 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint64));
2871 }
2872
2873 {
2874 events.emplace_back(Event{});
2875 Event* event = &events.back();
2876 event->name = "ion_cp_secure_buffer_start";
2877 event->group = "kmem";
2878 event->proto_field_id = 290;
2879 event->fields.push_back(MakeField("align", 1, ProtoSchemaType::kUint64));
2880 event->fields.push_back(MakeField("flags", 2, ProtoSchemaType::kUint64));
2881 event->fields.push_back(
2882 MakeField("heap_name", 3, ProtoSchemaType::kString));
2883 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint64));
2884 }
2885
2886 {
2887 events.emplace_back(Event{});
2888 Event* event = &events.back();
2889 event->name = "ion_prefetching";
2890 event->group = "kmem";
2891 event->proto_field_id = 291;
2892 event->fields.push_back(MakeField("len", 1, ProtoSchemaType::kUint64));
2893 }
2894
2895 {
2896 events.emplace_back(Event{});
2897 Event* event = &events.back();
2898 event->name = "ion_secure_cma_add_to_pool_end";
2899 event->group = "kmem";
2900 event->proto_field_id = 292;
2901 event->fields.push_back(
2902 MakeField("is_prefetch", 1, ProtoSchemaType::kUint32));
2903 event->fields.push_back(MakeField("len", 2, ProtoSchemaType::kUint64));
2904 event->fields.push_back(
2905 MakeField("pool_total", 3, ProtoSchemaType::kInt32));
2906 }
2907
2908 {
2909 events.emplace_back(Event{});
2910 Event* event = &events.back();
2911 event->name = "ion_secure_cma_add_to_pool_start";
2912 event->group = "kmem";
2913 event->proto_field_id = 293;
2914 event->fields.push_back(
2915 MakeField("is_prefetch", 1, ProtoSchemaType::kUint32));
2916 event->fields.push_back(MakeField("len", 2, ProtoSchemaType::kUint64));
2917 event->fields.push_back(
2918 MakeField("pool_total", 3, ProtoSchemaType::kInt32));
2919 }
2920
2921 {
2922 events.emplace_back(Event{});
2923 Event* event = &events.back();
2924 event->name = "ion_secure_cma_allocate_end";
2925 event->group = "kmem";
2926 event->proto_field_id = 294;
2927 event->fields.push_back(MakeField("align", 1, ProtoSchemaType::kUint64));
2928 event->fields.push_back(MakeField("flags", 2, ProtoSchemaType::kUint64));
2929 event->fields.push_back(
2930 MakeField("heap_name", 3, ProtoSchemaType::kString));
2931 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint64));
2932 }
2933
2934 {
2935 events.emplace_back(Event{});
2936 Event* event = &events.back();
2937 event->name = "ion_secure_cma_allocate_start";
2938 event->group = "kmem";
2939 event->proto_field_id = 295;
2940 event->fields.push_back(MakeField("align", 1, ProtoSchemaType::kUint64));
2941 event->fields.push_back(MakeField("flags", 2, ProtoSchemaType::kUint64));
2942 event->fields.push_back(
2943 MakeField("heap_name", 3, ProtoSchemaType::kString));
2944 event->fields.push_back(MakeField("len", 4, ProtoSchemaType::kUint64));
2945 }
2946
2947 {
2948 events.emplace_back(Event{});
2949 Event* event = &events.back();
2950 event->name = "ion_secure_cma_shrink_pool_end";
2951 event->group = "kmem";
2952 event->proto_field_id = 296;
2953 event->fields.push_back(
2954 MakeField("drained_size", 1, ProtoSchemaType::kUint64));
2955 event->fields.push_back(
2956 MakeField("skipped_size", 2, ProtoSchemaType::kUint64));
2957 }
2958
2959 {
2960 events.emplace_back(Event{});
2961 Event* event = &events.back();
2962 event->name = "ion_secure_cma_shrink_pool_start";
2963 event->group = "kmem";
2964 event->proto_field_id = 297;
2965 event->fields.push_back(
2966 MakeField("drained_size", 1, ProtoSchemaType::kUint64));
2967 event->fields.push_back(
2968 MakeField("skipped_size", 2, ProtoSchemaType::kUint64));
2969 }
2970
2971 {
2972 events.emplace_back(Event{});
2973 Event* event = &events.back();
2974 event->name = "kfree";
2975 event->group = "kmem";
2976 event->proto_field_id = 298;
2977 event->fields.push_back(
2978 MakeField("call_site", 1, ProtoSchemaType::kUint64));
2979 event->fields.push_back(MakeField("ptr", 2, ProtoSchemaType::kUint64));
2980 }
2981
2982 {
2983 events.emplace_back(Event{});
2984 Event* event = &events.back();
2985 event->name = "kmalloc";
2986 event->group = "kmem";
2987 event->proto_field_id = 299;
2988 event->fields.push_back(
2989 MakeField("bytes_alloc", 1, ProtoSchemaType::kUint64));
2990 event->fields.push_back(
2991 MakeField("bytes_req", 2, ProtoSchemaType::kUint64));
2992 event->fields.push_back(
2993 MakeField("call_site", 3, ProtoSchemaType::kUint64));
2994 event->fields.push_back(
2995 MakeField("gfp_flags", 4, ProtoSchemaType::kUint32));
2996 event->fields.push_back(MakeField("ptr", 5, ProtoSchemaType::kUint64));
2997 }
2998
2999 {
3000 events.emplace_back(Event{});
3001 Event* event = &events.back();
3002 event->name = "kmalloc_node";
3003 event->group = "kmem";
3004 event->proto_field_id = 300;
3005 event->fields.push_back(
3006 MakeField("bytes_alloc", 1, ProtoSchemaType::kUint64));
3007 event->fields.push_back(
3008 MakeField("bytes_req", 2, ProtoSchemaType::kUint64));
3009 event->fields.push_back(
3010 MakeField("call_site", 3, ProtoSchemaType::kUint64));
3011 event->fields.push_back(
3012 MakeField("gfp_flags", 4, ProtoSchemaType::kUint32));
3013 event->fields.push_back(MakeField("node", 5, ProtoSchemaType::kInt32));
3014 event->fields.push_back(MakeField("ptr", 6, ProtoSchemaType::kUint64));
3015 }
3016
3017 {
3018 events.emplace_back(Event{});
3019 Event* event = &events.back();
3020 event->name = "kmem_cache_alloc";
3021 event->group = "kmem";
3022 event->proto_field_id = 301;
3023 event->fields.push_back(
3024 MakeField("bytes_alloc", 1, ProtoSchemaType::kUint64));
3025 event->fields.push_back(
3026 MakeField("bytes_req", 2, ProtoSchemaType::kUint64));
3027 event->fields.push_back(
3028 MakeField("call_site", 3, ProtoSchemaType::kUint64));
3029 event->fields.push_back(
3030 MakeField("gfp_flags", 4, ProtoSchemaType::kUint32));
3031 event->fields.push_back(MakeField("ptr", 5, ProtoSchemaType::kUint64));
3032 }
3033
3034 {
3035 events.emplace_back(Event{});
3036 Event* event = &events.back();
3037 event->name = "kmem_cache_alloc_node";
3038 event->group = "kmem";
3039 event->proto_field_id = 302;
3040 event->fields.push_back(
3041 MakeField("bytes_alloc", 1, ProtoSchemaType::kUint64));
3042 event->fields.push_back(
3043 MakeField("bytes_req", 2, ProtoSchemaType::kUint64));
3044 event->fields.push_back(
3045 MakeField("call_site", 3, ProtoSchemaType::kUint64));
3046 event->fields.push_back(
3047 MakeField("gfp_flags", 4, ProtoSchemaType::kUint32));
3048 event->fields.push_back(MakeField("node", 5, ProtoSchemaType::kInt32));
3049 event->fields.push_back(MakeField("ptr", 6, ProtoSchemaType::kUint64));
3050 }
3051
3052 {
3053 events.emplace_back(Event{});
3054 Event* event = &events.back();
3055 event->name = "kmem_cache_free";
3056 event->group = "kmem";
3057 event->proto_field_id = 303;
3058 event->fields.push_back(
3059 MakeField("call_site", 1, ProtoSchemaType::kUint64));
3060 event->fields.push_back(MakeField("ptr", 2, ProtoSchemaType::kUint64));
3061 }
3062
3063 {
3064 events.emplace_back(Event{});
3065 Event* event = &events.back();
3066 event->name = "migrate_pages_end";
3067 event->group = "kmem";
3068 event->proto_field_id = 304;
3069 event->fields.push_back(MakeField("mode", 1, ProtoSchemaType::kInt32));
3070 }
3071
3072 {
3073 events.emplace_back(Event{});
3074 Event* event = &events.back();
3075 event->name = "migrate_pages_start";
3076 event->group = "kmem";
3077 event->proto_field_id = 305;
3078 event->fields.push_back(MakeField("mode", 1, ProtoSchemaType::kInt32));
3079 }
3080
3081 {
3082 events.emplace_back(Event{});
3083 Event* event = &events.back();
3084 event->name = "migrate_retry";
3085 event->group = "kmem";
3086 event->proto_field_id = 306;
3087 event->fields.push_back(MakeField("tries", 1, ProtoSchemaType::kInt32));
3088 }
3089
3090 {
3091 events.emplace_back(Event{});
3092 Event* event = &events.back();
3093 event->name = "mm_page_alloc";
3094 event->group = "kmem";
3095 event->proto_field_id = 307;
3096 event->fields.push_back(
3097 MakeField("gfp_flags", 1, ProtoSchemaType::kUint32));
3098 event->fields.push_back(
3099 MakeField("migratetype", 2, ProtoSchemaType::kInt32));
3100 event->fields.push_back(MakeField("order", 3, ProtoSchemaType::kUint32));
3101 event->fields.push_back(MakeField("page", 4, ProtoSchemaType::kUint64));
3102 event->fields.push_back(MakeField("pfn", 5, ProtoSchemaType::kUint64));
3103 }
3104
3105 {
3106 events.emplace_back(Event{});
3107 Event* event = &events.back();
3108 event->name = "mm_page_alloc_extfrag";
3109 event->group = "kmem";
3110 event->proto_field_id = 308;
3111 event->fields.push_back(
3112 MakeField("alloc_migratetype", 1, ProtoSchemaType::kInt32));
3113 event->fields.push_back(
3114 MakeField("alloc_order", 2, ProtoSchemaType::kInt32));
3115 event->fields.push_back(
3116 MakeField("fallback_migratetype", 3, ProtoSchemaType::kInt32));
3117 event->fields.push_back(
3118 MakeField("fallback_order", 4, ProtoSchemaType::kInt32));
3119 event->fields.push_back(MakeField("page", 5, ProtoSchemaType::kUint64));
3120 event->fields.push_back(
3121 MakeField("change_ownership", 6, ProtoSchemaType::kInt32));
3122 event->fields.push_back(MakeField("pfn", 7, ProtoSchemaType::kUint64));
3123 }
3124
3125 {
3126 events.emplace_back(Event{});
3127 Event* event = &events.back();
3128 event->name = "mm_page_alloc_zone_locked";
3129 event->group = "kmem";
3130 event->proto_field_id = 309;
3131 event->fields.push_back(
3132 MakeField("migratetype", 1, ProtoSchemaType::kInt32));
3133 event->fields.push_back(MakeField("order", 2, ProtoSchemaType::kUint32));
3134 event->fields.push_back(MakeField("page", 3, ProtoSchemaType::kUint64));
3135 event->fields.push_back(MakeField("pfn", 4, ProtoSchemaType::kUint64));
3136 }
3137
3138 {
3139 events.emplace_back(Event{});
3140 Event* event = &events.back();
3141 event->name = "mm_page_free";
3142 event->group = "kmem";
3143 event->proto_field_id = 310;
3144 event->fields.push_back(MakeField("order", 1, ProtoSchemaType::kUint32));
3145 event->fields.push_back(MakeField("page", 2, ProtoSchemaType::kUint64));
3146 event->fields.push_back(MakeField("pfn", 3, ProtoSchemaType::kUint64));
3147 }
3148
3149 {
3150 events.emplace_back(Event{});
3151 Event* event = &events.back();
3152 event->name = "mm_page_free_batched";
3153 event->group = "kmem";
3154 event->proto_field_id = 311;
3155 event->fields.push_back(MakeField("cold", 1, ProtoSchemaType::kInt32));
3156 event->fields.push_back(MakeField("page", 2, ProtoSchemaType::kUint64));
3157 event->fields.push_back(MakeField("pfn", 3, ProtoSchemaType::kUint64));
3158 }
3159
3160 {
3161 events.emplace_back(Event{});
3162 Event* event = &events.back();
3163 event->name = "mm_page_pcpu_drain";
3164 event->group = "kmem";
3165 event->proto_field_id = 312;
3166 event->fields.push_back(
3167 MakeField("migratetype", 1, ProtoSchemaType::kInt32));
3168 event->fields.push_back(MakeField("order", 2, ProtoSchemaType::kUint32));
3169 event->fields.push_back(MakeField("page", 3, ProtoSchemaType::kUint64));
3170 event->fields.push_back(MakeField("pfn", 4, ProtoSchemaType::kUint64));
3171 }
3172
3173 {
3174 events.emplace_back(Event{});
3175 Event* event = &events.back();
3176 event->name = "rss_stat";
3177 event->group = "kmem";
3178 event->proto_field_id = 313;
3179 event->fields.push_back(MakeField("member", 1, ProtoSchemaType::kInt32));
3180 event->fields.push_back(MakeField("size", 2, ProtoSchemaType::kInt64));
3181 }
3182
3183 {
3184 events.emplace_back(Event{});
3185 Event* event = &events.back();
3186 event->name = "ion_heap_shrink";
3187 event->group = "kmem";
3188 event->proto_field_id = 314;
3189 event->fields.push_back(
3190 MakeField("heap_name", 1, ProtoSchemaType::kString));
3191 event->fields.push_back(MakeField("len", 2, ProtoSchemaType::kUint64));
3192 event->fields.push_back(
3193 MakeField("total_allocated", 3, ProtoSchemaType::kInt64));
3194 }
3195
3196 {
3197 events.emplace_back(Event{});
3198 Event* event = &events.back();
3199 event->name = "ion_heap_grow";
3200 event->group = "kmem";
3201 event->proto_field_id = 315;
3202 event->fields.push_back(
3203 MakeField("heap_name", 1, ProtoSchemaType::kString));
3204 event->fields.push_back(MakeField("len", 2, ProtoSchemaType::kUint64));
3205 event->fields.push_back(
3206 MakeField("total_allocated", 3, ProtoSchemaType::kInt64));
3207 }
3208
3209 {
3210 events.emplace_back(Event{});
3211 Event* event = &events.back();
3212 event->name = "lowmemory_kill";
3213 event->group = "lowmemorykiller";
3214 event->proto_field_id = 35;
3215 event->fields.push_back(MakeField("comm", 1, ProtoSchemaType::kString));
3216 event->fields.push_back(MakeField("pid", 2, ProtoSchemaType::kInt32));
3217 event->fields.push_back(
3218 MakeField("pagecache_size", 3, ProtoSchemaType::kInt64));
3219 event->fields.push_back(
3220 MakeField("pagecache_limit", 4, ProtoSchemaType::kInt64));
3221 event->fields.push_back(MakeField("free", 5, ProtoSchemaType::kInt64));
3222 }
3223
3224 {
3225 events.emplace_back(Event{});
3226 Event* event = &events.back();
3227 event->name = "mdp_cmd_kickoff";
3228 event->group = "mdss";
3229 event->proto_field_id = 76;
3230 event->fields.push_back(MakeField("ctl_num", 1, ProtoSchemaType::kUint32));
3231 event->fields.push_back(
3232 MakeField("kickoff_cnt", 2, ProtoSchemaType::kInt32));
3233 }
3234
3235 {
3236 events.emplace_back(Event{});
3237 Event* event = &events.back();
3238 event->name = "mdp_commit";
3239 event->group = "mdss";
3240 event->proto_field_id = 77;
3241 event->fields.push_back(MakeField("num", 1, ProtoSchemaType::kUint32));
3242 event->fields.push_back(MakeField("play_cnt", 2, ProtoSchemaType::kUint32));
3243 event->fields.push_back(MakeField("clk_rate", 3, ProtoSchemaType::kUint32));
3244 event->fields.push_back(
3245 MakeField("bandwidth", 4, ProtoSchemaType::kUint64));
3246 }
3247
3248 {
3249 events.emplace_back(Event{});
3250 Event* event = &events.back();
3251 event->name = "mdp_perf_set_ot";
3252 event->group = "mdss";
3253 event->proto_field_id = 78;
3254 event->fields.push_back(MakeField("pnum", 1, ProtoSchemaType::kUint32));
3255 event->fields.push_back(MakeField("xin_id", 2, ProtoSchemaType::kUint32));
3256 event->fields.push_back(MakeField("rd_lim", 3, ProtoSchemaType::kUint32));
3257 event->fields.push_back(
3258 MakeField("is_vbif_rt", 4, ProtoSchemaType::kUint32));
3259 }
3260
3261 {
3262 events.emplace_back(Event{});
3263 Event* event = &events.back();
3264 event->name = "mdp_sspp_change";
3265 event->group = "mdss";
3266 event->proto_field_id = 79;
3267 event->fields.push_back(MakeField("num", 1, ProtoSchemaType::kUint32));
3268 event->fields.push_back(MakeField("play_cnt", 2, ProtoSchemaType::kUint32));
3269 event->fields.push_back(MakeField("mixer", 3, ProtoSchemaType::kUint32));
3270 event->fields.push_back(MakeField("stage", 4, ProtoSchemaType::kUint32));
3271 event->fields.push_back(MakeField("flags", 5, ProtoSchemaType::kUint32));
3272 event->fields.push_back(MakeField("format", 6, ProtoSchemaType::kUint32));
3273 event->fields.push_back(MakeField("img_w", 7, ProtoSchemaType::kUint32));
3274 event->fields.push_back(MakeField("img_h", 8, ProtoSchemaType::kUint32));
3275 event->fields.push_back(MakeField("src_x", 9, ProtoSchemaType::kUint32));
3276 event->fields.push_back(MakeField("src_y", 10, ProtoSchemaType::kUint32));
3277 event->fields.push_back(MakeField("src_w", 11, ProtoSchemaType::kUint32));
3278 event->fields.push_back(MakeField("src_h", 12, ProtoSchemaType::kUint32));
3279 event->fields.push_back(MakeField("dst_x", 13, ProtoSchemaType::kUint32));
3280 event->fields.push_back(MakeField("dst_y", 14, ProtoSchemaType::kUint32));
3281 event->fields.push_back(MakeField("dst_w", 15, ProtoSchemaType::kUint32));
3282 event->fields.push_back(MakeField("dst_h", 16, ProtoSchemaType::kUint32));
3283 }
3284
3285 {
3286 events.emplace_back(Event{});
3287 Event* event = &events.back();
3288 event->name = "tracing_mark_write";
3289 event->group = "mdss";
3290 event->proto_field_id = 80;
3291 event->fields.push_back(MakeField("pid", 1, ProtoSchemaType::kInt32));
3292 event->fields.push_back(
3293 MakeField("trace_name", 2, ProtoSchemaType::kString));
3294 event->fields.push_back(
3295 MakeField("trace_begin", 3, ProtoSchemaType::kUint32));
3296 }
3297
3298 {
3299 events.emplace_back(Event{});
3300 Event* event = &events.back();
3301 event->name = "mdp_cmd_pingpong_done";
3302 event->group = "mdss";
3303 event->proto_field_id = 81;
3304 event->fields.push_back(MakeField("ctl_num", 1, ProtoSchemaType::kUint32));
3305 event->fields.push_back(MakeField("intf_num", 2, ProtoSchemaType::kUint32));
3306 event->fields.push_back(MakeField("pp_num", 3, ProtoSchemaType::kUint32));
3307 event->fields.push_back(MakeField("koff_cnt", 4, ProtoSchemaType::kInt32));
3308 }
3309
3310 {
3311 events.emplace_back(Event{});
3312 Event* event = &events.back();
3313 event->name = "mdp_compare_bw";
3314 event->group = "mdss";
3315 event->proto_field_id = 82;
3316 event->fields.push_back(MakeField("new_ab", 1, ProtoSchemaType::kUint64));
3317 event->fields.push_back(MakeField("new_ib", 2, ProtoSchemaType::kUint64));
3318 event->fields.push_back(MakeField("new_wb", 3, ProtoSchemaType::kUint64));
3319 event->fields.push_back(MakeField("old_ab", 4, ProtoSchemaType::kUint64));
3320 event->fields.push_back(MakeField("old_ib", 5, ProtoSchemaType::kUint64));
3321 event->fields.push_back(MakeField("old_wb", 6, ProtoSchemaType::kUint64));
3322 event->fields.push_back(
3323 MakeField("params_changed", 7, ProtoSchemaType::kUint32));
3324 event->fields.push_back(
3325 MakeField("update_bw", 8, ProtoSchemaType::kUint32));
3326 }
3327
3328 {
3329 events.emplace_back(Event{});
3330 Event* event = &events.back();
3331 event->name = "mdp_perf_set_panic_luts";
3332 event->group = "mdss";
3333 event->proto_field_id = 83;
3334 event->fields.push_back(MakeField("pnum", 1, ProtoSchemaType::kUint32));
3335 event->fields.push_back(MakeField("fmt", 2, ProtoSchemaType::kUint32));
3336 event->fields.push_back(MakeField("mode", 3, ProtoSchemaType::kUint32));
3337 event->fields.push_back(
3338 MakeField("panic_lut", 4, ProtoSchemaType::kUint32));
3339 event->fields.push_back(
3340 MakeField("robust_lut", 5, ProtoSchemaType::kUint32));
3341 }
3342
3343 {
3344 events.emplace_back(Event{});
3345 Event* event = &events.back();
3346 event->name = "mdp_sspp_set";
3347 event->group = "mdss";
3348 event->proto_field_id = 84;
3349 event->fields.push_back(MakeField("num", 1, ProtoSchemaType::kUint32));
3350 event->fields.push_back(MakeField("play_cnt", 2, ProtoSchemaType::kUint32));
3351 event->fields.push_back(MakeField("mixer", 3, ProtoSchemaType::kUint32));
3352 event->fields.push_back(MakeField("stage", 4, ProtoSchemaType::kUint32));
3353 event->fields.push_back(MakeField("flags", 5, ProtoSchemaType::kUint32));
3354 event->fields.push_back(MakeField("format", 6, ProtoSchemaType::kUint32));
3355 event->fields.push_back(MakeField("img_w", 7, ProtoSchemaType::kUint32));
3356 event->fields.push_back(MakeField("img_h", 8, ProtoSchemaType::kUint32));
3357 event->fields.push_back(MakeField("src_x", 9, ProtoSchemaType::kUint32));
3358 event->fields.push_back(MakeField("src_y", 10, ProtoSchemaType::kUint32));
3359 event->fields.push_back(MakeField("src_w", 11, ProtoSchemaType::kUint32));
3360 event->fields.push_back(MakeField("src_h", 12, ProtoSchemaType::kUint32));
3361 event->fields.push_back(MakeField("dst_x", 13, ProtoSchemaType::kUint32));
3362 event->fields.push_back(MakeField("dst_y", 14, ProtoSchemaType::kUint32));
3363 event->fields.push_back(MakeField("dst_w", 15, ProtoSchemaType::kUint32));
3364 event->fields.push_back(MakeField("dst_h", 16, ProtoSchemaType::kUint32));
3365 }
3366
3367 {
3368 events.emplace_back(Event{});
3369 Event* event = &events.back();
3370 event->name = "mdp_cmd_readptr_done";
3371 event->group = "mdss";
3372 event->proto_field_id = 85;
3373 event->fields.push_back(MakeField("ctl_num", 1, ProtoSchemaType::kUint32));
3374 event->fields.push_back(MakeField("koff_cnt", 2, ProtoSchemaType::kInt32));
3375 }
3376
3377 {
3378 events.emplace_back(Event{});
3379 Event* event = &events.back();
3380 event->name = "mdp_misr_crc";
3381 event->group = "mdss";
3382 event->proto_field_id = 86;
3383 event->fields.push_back(MakeField("block_id", 1, ProtoSchemaType::kUint32));
3384 event->fields.push_back(
3385 MakeField("vsync_cnt", 2, ProtoSchemaType::kUint32));
3386 event->fields.push_back(MakeField("crc", 3, ProtoSchemaType::kUint32));
3387 }
3388
3389 {
3390 events.emplace_back(Event{});
3391 Event* event = &events.back();
3392 event->name = "mdp_perf_set_qos_luts";
3393 event->group = "mdss";
3394 event->proto_field_id = 87;
3395 event->fields.push_back(MakeField("pnum", 1, ProtoSchemaType::kUint32));
3396 event->fields.push_back(MakeField("fmt", 2, ProtoSchemaType::kUint32));
3397 event->fields.push_back(MakeField("intf", 3, ProtoSchemaType::kUint32));
3398 event->fields.push_back(MakeField("rot", 4, ProtoSchemaType::kUint32));
3399 event->fields.push_back(MakeField("fl", 5, ProtoSchemaType::kUint32));
3400 event->fields.push_back(MakeField("lut", 6, ProtoSchemaType::kUint32));
3401 event->fields.push_back(MakeField("linear", 7, ProtoSchemaType::kUint32));
3402 }
3403
3404 {
3405 events.emplace_back(Event{});
3406 Event* event = &events.back();
3407 event->name = "mdp_trace_counter";
3408 event->group = "mdss";
3409 event->proto_field_id = 88;
3410 event->fields.push_back(MakeField("pid", 1, ProtoSchemaType::kInt32));
3411 event->fields.push_back(
3412 MakeField("counter_name", 2, ProtoSchemaType::kString));
3413 event->fields.push_back(MakeField("value", 3, ProtoSchemaType::kInt32));
3414 }
3415
3416 {
3417 events.emplace_back(Event{});
3418 Event* event = &events.back();
3419 event->name = "mdp_cmd_release_bw";
3420 event->group = "mdss";
3421 event->proto_field_id = 89;
3422 event->fields.push_back(MakeField("ctl_num", 1, ProtoSchemaType::kUint32));
3423 }
3424
3425 {
3426 events.emplace_back(Event{});
3427 Event* event = &events.back();
3428 event->name = "mdp_mixer_update";
3429 event->group = "mdss";
3430 event->proto_field_id = 90;
3431 event->fields.push_back(
3432 MakeField("mixer_num", 1, ProtoSchemaType::kUint32));
3433 }
3434
3435 {
3436 events.emplace_back(Event{});
3437 Event* event = &events.back();
3438 event->name = "mdp_perf_set_wm_levels";
3439 event->group = "mdss";
3440 event->proto_field_id = 91;
3441 event->fields.push_back(MakeField("pnum", 1, ProtoSchemaType::kUint32));
3442 event->fields.push_back(
3443 MakeField("use_space", 2, ProtoSchemaType::kUint32));
3444 event->fields.push_back(
3445 MakeField("priority_bytes", 3, ProtoSchemaType::kUint32));
3446 event->fields.push_back(MakeField("wm0", 4, ProtoSchemaType::kUint32));
3447 event->fields.push_back(MakeField("wm1", 5, ProtoSchemaType::kUint32));
3448 event->fields.push_back(MakeField("wm2", 6, ProtoSchemaType::kUint32));
3449 event->fields.push_back(MakeField("mb_cnt", 7, ProtoSchemaType::kUint32));
3450 event->fields.push_back(MakeField("mb_size", 8, ProtoSchemaType::kUint32));
3451 }
3452
3453 {
3454 events.emplace_back(Event{});
3455 Event* event = &events.back();
3456 event->name = "mdp_video_underrun_done";
3457 event->group = "mdss";
3458 event->proto_field_id = 92;
3459 event->fields.push_back(MakeField("ctl_num", 1, ProtoSchemaType::kUint32));
3460 event->fields.push_back(
3461 MakeField("underrun_cnt", 2, ProtoSchemaType::kUint32));
3462 }
3463
3464 {
3465 events.emplace_back(Event{});
3466 Event* event = &events.back();
3467 event->name = "mdp_cmd_wait_pingpong";
3468 event->group = "mdss";
3469 event->proto_field_id = 93;
3470 event->fields.push_back(MakeField("ctl_num", 1, ProtoSchemaType::kUint32));
3471 event->fields.push_back(
3472 MakeField("kickoff_cnt", 2, ProtoSchemaType::kInt32));
3473 }
3474
3475 {
3476 events.emplace_back(Event{});
3477 Event* event = &events.back();
3478 event->name = "mdp_perf_prefill_calc";
3479 event->group = "mdss";
3480 event->proto_field_id = 94;
3481 event->fields.push_back(MakeField("pnum", 1, ProtoSchemaType::kUint32));
3482 event->fields.push_back(
3483 MakeField("latency_buf", 2, ProtoSchemaType::kUint32));
3484 event->fields.push_back(MakeField("ot", 3, ProtoSchemaType::kUint32));
3485 event->fields.push_back(MakeField("y_buf", 4, ProtoSchemaType::kUint32));
3486 event->fields.push_back(MakeField("y_scaler", 5, ProtoSchemaType::kUint32));
3487 event->fields.push_back(MakeField("pp_lines", 6, ProtoSchemaType::kUint32));
3488 event->fields.push_back(MakeField("pp_bytes", 7, ProtoSchemaType::kUint32));
3489 event->fields.push_back(MakeField("post_sc", 8, ProtoSchemaType::kUint32));
3490 event->fields.push_back(
3491 MakeField("fbc_bytes", 9, ProtoSchemaType::kUint32));
3492 event->fields.push_back(
3493 MakeField("prefill_bytes", 10, ProtoSchemaType::kUint32));
3494 }
3495
3496 {
3497 events.emplace_back(Event{});
3498 Event* event = &events.back();
3499 event->name = "mdp_perf_update_bus";
3500 event->group = "mdss";
3501 event->proto_field_id = 95;
3502 event->fields.push_back(MakeField("client", 1, ProtoSchemaType::kInt32));
3503 event->fields.push_back(MakeField("ab_quota", 2, ProtoSchemaType::kUint64));
3504 event->fields.push_back(MakeField("ib_quota", 3, ProtoSchemaType::kUint64));
3505 }
3506
3507 {
3508 events.emplace_back(Event{});
3509 Event* event = &events.back();
3510 event->name = "rotator_bw_ao_as_context";
3511 event->group = "mdss";
3512 event->proto_field_id = 96;
3513 event->fields.push_back(MakeField("state", 1, ProtoSchemaType::kUint32));
3514 }
3515
3516 {
3517 events.emplace_back(Event{});
3518 Event* event = &events.back();
3519 event->name = "mm_event_record";
3520 event->group = "mm_event";
3521 event->proto_field_id = 328;
3522 event->fields.push_back(MakeField("avg_lat", 1, ProtoSchemaType::kUint32));
3523 event->fields.push_back(MakeField("count", 2, ProtoSchemaType::kUint32));
3524 event->fields.push_back(MakeField("max_lat", 3, ProtoSchemaType::kUint32));
3525 event->fields.push_back(MakeField("type", 4, ProtoSchemaType::kUint32));
3526 }
3527
3528 {
3529 events.emplace_back(Event{});
3530 Event* event = &events.back();
3531 event->name = "oom_score_adj_update";
3532 event->group = "oom";
3533 event->proto_field_id = 326;
3534 event->fields.push_back(MakeField("comm", 1, ProtoSchemaType::kString));
3535 event->fields.push_back(
3536 MakeField("oom_score_adj", 2, ProtoSchemaType::kInt32));
3537 event->fields.push_back(MakeField("pid", 3, ProtoSchemaType::kInt32));
3538 }
3539
3540 {
3541 events.emplace_back(Event{});
3542 Event* event = &events.back();
3543 event->name = "cpu_frequency";
3544 event->group = "power";
3545 event->proto_field_id = 11;
3546 event->fields.push_back(MakeField("state", 1, ProtoSchemaType::kUint32));
3547 event->fields.push_back(MakeField("cpu_id", 2, ProtoSchemaType::kUint32));
3548 }
3549
3550 {
3551 events.emplace_back(Event{});
3552 Event* event = &events.back();
3553 event->name = "cpu_frequency_limits";
3554 event->group = "power";
3555 event->proto_field_id = 12;
3556 event->fields.push_back(MakeField("min_freq", 1, ProtoSchemaType::kUint32));
3557 event->fields.push_back(MakeField("max_freq", 2, ProtoSchemaType::kUint32));
3558 event->fields.push_back(MakeField("cpu_id", 3, ProtoSchemaType::kUint32));
3559 }
3560
3561 {
3562 events.emplace_back(Event{});
3563 Event* event = &events.back();
3564 event->name = "cpu_idle";
3565 event->group = "power";
3566 event->proto_field_id = 13;
3567 event->fields.push_back(MakeField("state", 1, ProtoSchemaType::kUint32));
3568 event->fields.push_back(MakeField("cpu_id", 2, ProtoSchemaType::kUint32));
3569 }
3570
3571 {
3572 events.emplace_back(Event{});
3573 Event* event = &events.back();
3574 event->name = "clock_enable";
3575 event->group = "power";
3576 event->proto_field_id = 14;
3577 event->fields.push_back(MakeField("name", 1, ProtoSchemaType::kString));
3578 event->fields.push_back(MakeField("state", 2, ProtoSchemaType::kUint64));
3579 event->fields.push_back(MakeField("cpu_id", 3, ProtoSchemaType::kUint64));
3580 }
3581
3582 {
3583 events.emplace_back(Event{});
3584 Event* event = &events.back();
3585 event->name = "clock_disable";
3586 event->group = "power";
3587 event->proto_field_id = 15;
3588 event->fields.push_back(MakeField("name", 1, ProtoSchemaType::kString));
3589 event->fields.push_back(MakeField("state", 2, ProtoSchemaType::kUint64));
3590 event->fields.push_back(MakeField("cpu_id", 3, ProtoSchemaType::kUint64));
3591 }
3592
3593 {
3594 events.emplace_back(Event{});
3595 Event* event = &events.back();
3596 event->name = "clock_set_rate";
3597 event->group = "power";
3598 event->proto_field_id = 16;
3599 event->fields.push_back(MakeField("name", 1, ProtoSchemaType::kString));
3600 event->fields.push_back(MakeField("state", 2, ProtoSchemaType::kUint64));
3601 event->fields.push_back(MakeField("cpu_id", 3, ProtoSchemaType::kUint64));
3602 }
3603
3604 {
3605 events.emplace_back(Event{});
3606 Event* event = &events.back();
3607 event->name = "suspend_resume";
3608 event->group = "power";
3609 event->proto_field_id = 113;
3610 event->fields.push_back(MakeField("action", 1, ProtoSchemaType::kString));
3611 event->fields.push_back(MakeField("val", 2, ProtoSchemaType::kInt32));
3612 event->fields.push_back(MakeField("start", 3, ProtoSchemaType::kUint32));
3613 }
3614
3615 {
3616 events.emplace_back(Event{});
3617 Event* event = &events.back();
3618 event->name = "gpu_frequency";
3619 event->group = "power";
3620 event->proto_field_id = 332;
3621 event->fields.push_back(MakeField("gpu_id", 1, ProtoSchemaType::kUint32));
3622 event->fields.push_back(MakeField("state", 2, ProtoSchemaType::kUint32));
3623 }
3624
3625 {
3626 events.emplace_back(Event{});
3627 Event* event = &events.back();
3628 event->name = "sys_enter";
3629 event->group = "raw_syscalls";
3630 event->proto_field_id = 329;
3631 event->fields.push_back(MakeField("id", 1, ProtoSchemaType::kInt64));
3632 }
3633
3634 {
3635 events.emplace_back(Event{});
3636 Event* event = &events.back();
3637 event->name = "sys_exit";
3638 event->group = "raw_syscalls";
3639 event->proto_field_id = 330;
3640 event->fields.push_back(MakeField("id", 1, ProtoSchemaType::kInt64));
3641 event->fields.push_back(MakeField("ret", 2, ProtoSchemaType::kInt64));
3642 }
3643
3644 {
3645 events.emplace_back(Event{});
3646 Event* event = &events.back();
3647 event->name = "regulator_disable";
3648 event->group = "regulator";
3649 event->proto_field_id = 60;
3650 event->fields.push_back(MakeField("name", 1, ProtoSchemaType::kString));
3651 }
3652
3653 {
3654 events.emplace_back(Event{});
3655 Event* event = &events.back();
3656 event->name = "regulator_disable_complete";
3657 event->group = "regulator";
3658 event->proto_field_id = 61;
3659 event->fields.push_back(MakeField("name", 1, ProtoSchemaType::kString));
3660 }
3661
3662 {
3663 events.emplace_back(Event{});
3664 Event* event = &events.back();
3665 event->name = "regulator_enable";
3666 event->group = "regulator";
3667 event->proto_field_id = 62;
3668 event->fields.push_back(MakeField("name", 1, ProtoSchemaType::kString));
3669 }
3670
3671 {
3672 events.emplace_back(Event{});
3673 Event* event = &events.back();
3674 event->name = "regulator_enable_complete";
3675 event->group = "regulator";
3676 event->proto_field_id = 63;
3677 event->fields.push_back(MakeField("name", 1, ProtoSchemaType::kString));
3678 }
3679
3680 {
3681 events.emplace_back(Event{});
3682 Event* event = &events.back();
3683 event->name = "regulator_enable_delay";
3684 event->group = "regulator";
3685 event->proto_field_id = 64;
3686 event->fields.push_back(MakeField("name", 1, ProtoSchemaType::kString));
3687 }
3688
3689 {
3690 events.emplace_back(Event{});
3691 Event* event = &events.back();
3692 event->name = "regulator_set_voltage";
3693 event->group = "regulator";
3694 event->proto_field_id = 65;
3695 event->fields.push_back(MakeField("name", 1, ProtoSchemaType::kString));
3696 event->fields.push_back(MakeField("min", 2, ProtoSchemaType::kInt32));
3697 event->fields.push_back(MakeField("max", 3, ProtoSchemaType::kInt32));
3698 }
3699
3700 {
3701 events.emplace_back(Event{});
3702 Event* event = &events.back();
3703 event->name = "regulator_set_voltage_complete";
3704 event->group = "regulator";
3705 event->proto_field_id = 66;
3706 event->fields.push_back(MakeField("name", 1, ProtoSchemaType::kString));
3707 event->fields.push_back(MakeField("val", 2, ProtoSchemaType::kUint32));
3708 }
3709
3710 {
3711 events.emplace_back(Event{});
3712 Event* event = &events.back();
3713 event->name = "sched_switch";
3714 event->group = "sched";
3715 event->proto_field_id = 4;
3716 event->fields.push_back(
3717 MakeField("prev_comm", 1, ProtoSchemaType::kString));
3718 event->fields.push_back(MakeField("prev_pid", 2, ProtoSchemaType::kInt32));
3719 event->fields.push_back(MakeField("prev_prio", 3, ProtoSchemaType::kInt32));
3720 event->fields.push_back(
3721 MakeField("prev_state", 4, ProtoSchemaType::kInt64));
3722 event->fields.push_back(
3723 MakeField("next_comm", 5, ProtoSchemaType::kString));
3724 event->fields.push_back(MakeField("next_pid", 6, ProtoSchemaType::kInt32));
3725 event->fields.push_back(MakeField("next_prio", 7, ProtoSchemaType::kInt32));
3726 }
3727
3728 {
3729 events.emplace_back(Event{});
3730 Event* event = &events.back();
3731 event->name = "sched_wakeup";
3732 event->group = "sched";
3733 event->proto_field_id = 17;
3734 event->fields.push_back(MakeField("comm", 1, ProtoSchemaType::kString));
3735 event->fields.push_back(MakeField("pid", 2, ProtoSchemaType::kInt32));
3736 event->fields.push_back(MakeField("prio", 3, ProtoSchemaType::kInt32));
3737 event->fields.push_back(MakeField("success", 4, ProtoSchemaType::kInt32));
3738 event->fields.push_back(
3739 MakeField("target_cpu", 5, ProtoSchemaType::kInt32));
3740 }
3741
3742 {
3743 events.emplace_back(Event{});
3744 Event* event = &events.back();
3745 event->name = "sched_blocked_reason";
3746 event->group = "sched";
3747 event->proto_field_id = 18;
3748 event->fields.push_back(MakeField("pid", 1, ProtoSchemaType::kInt32));
3749 event->fields.push_back(MakeField("caller", 2, ProtoSchemaType::kUint64));
3750 event->fields.push_back(MakeField("io_wait", 3, ProtoSchemaType::kUint32));
3751 }
3752
3753 {
3754 events.emplace_back(Event{});
3755 Event* event = &events.back();
3756 event->name = "sched_cpu_hotplug";
3757 event->group = "sched";
3758 event->proto_field_id = 19;
3759 event->fields.push_back(
3760 MakeField("affected_cpu", 1, ProtoSchemaType::kInt32));
3761 event->fields.push_back(MakeField("error", 2, ProtoSchemaType::kInt32));
3762 event->fields.push_back(MakeField("status", 3, ProtoSchemaType::kInt32));
3763 }
3764
3765 {
3766 events.emplace_back(Event{});
3767 Event* event = &events.back();
3768 event->name = "sched_waking";
3769 event->group = "sched";
3770 event->proto_field_id = 20;
3771 event->fields.push_back(MakeField("comm", 1, ProtoSchemaType::kString));
3772 event->fields.push_back(MakeField("pid", 2, ProtoSchemaType::kInt32));
3773 event->fields.push_back(MakeField("prio", 3, ProtoSchemaType::kInt32));
3774 event->fields.push_back(MakeField("success", 4, ProtoSchemaType::kInt32));
3775 event->fields.push_back(
3776 MakeField("target_cpu", 5, ProtoSchemaType::kInt32));
3777 }
3778
3779 {
3780 events.emplace_back(Event{});
3781 Event* event = &events.back();
3782 event->name = "sched_wakeup_new";
3783 event->group = "sched";
3784 event->proto_field_id = 114;
3785 event->fields.push_back(MakeField("comm", 1, ProtoSchemaType::kString));
3786 event->fields.push_back(MakeField("pid", 2, ProtoSchemaType::kInt32));
3787 event->fields.push_back(MakeField("prio", 3, ProtoSchemaType::kInt32));
3788 event->fields.push_back(MakeField("success", 4, ProtoSchemaType::kInt32));
3789 event->fields.push_back(
3790 MakeField("target_cpu", 5, ProtoSchemaType::kInt32));
3791 }
3792
3793 {
3794 events.emplace_back(Event{});
3795 Event* event = &events.back();
3796 event->name = "sched_process_exec";
3797 event->group = "sched";
3798 event->proto_field_id = 237;
3799 event->fields.push_back(MakeField("filename", 1, ProtoSchemaType::kString));
3800 event->fields.push_back(MakeField("pid", 2, ProtoSchemaType::kInt32));
3801 event->fields.push_back(MakeField("old_pid", 3, ProtoSchemaType::kInt32));
3802 }
3803
3804 {
3805 events.emplace_back(Event{});
3806 Event* event = &events.back();
3807 event->name = "sched_process_exit";
3808 event->group = "sched";
3809 event->proto_field_id = 238;
3810 event->fields.push_back(MakeField("comm", 1, ProtoSchemaType::kString));
3811 event->fields.push_back(MakeField("pid", 2, ProtoSchemaType::kInt32));
3812 event->fields.push_back(MakeField("tgid", 3, ProtoSchemaType::kInt32));
3813 event->fields.push_back(MakeField("prio", 4, ProtoSchemaType::kInt32));
3814 }
3815
3816 {
3817 events.emplace_back(Event{});
3818 Event* event = &events.back();
3819 event->name = "sched_process_fork";
3820 event->group = "sched";
3821 event->proto_field_id = 239;
3822 event->fields.push_back(
3823 MakeField("parent_comm", 1, ProtoSchemaType::kString));
3824 event->fields.push_back(
3825 MakeField("parent_pid", 2, ProtoSchemaType::kInt32));
3826 event->fields.push_back(
3827 MakeField("child_comm", 3, ProtoSchemaType::kString));
3828 event->fields.push_back(MakeField("child_pid", 4, ProtoSchemaType::kInt32));
3829 }
3830
3831 {
3832 events.emplace_back(Event{});
3833 Event* event = &events.back();
3834 event->name = "sched_process_free";
3835 event->group = "sched";
3836 event->proto_field_id = 240;
3837 event->fields.push_back(MakeField("comm", 1, ProtoSchemaType::kString));
3838 event->fields.push_back(MakeField("pid", 2, ProtoSchemaType::kInt32));
3839 event->fields.push_back(MakeField("prio", 3, ProtoSchemaType::kInt32));
3840 }
3841
3842 {
3843 events.emplace_back(Event{});
3844 Event* event = &events.back();
3845 event->name = "sched_process_hang";
3846 event->group = "sched";
3847 event->proto_field_id = 241;
3848 event->fields.push_back(MakeField("comm", 1, ProtoSchemaType::kString));
3849 event->fields.push_back(MakeField("pid", 2, ProtoSchemaType::kInt32));
3850 }
3851
3852 {
3853 events.emplace_back(Event{});
3854 Event* event = &events.back();
3855 event->name = "sched_process_wait";
3856 event->group = "sched";
3857 event->proto_field_id = 242;
3858 event->fields.push_back(MakeField("comm", 1, ProtoSchemaType::kString));
3859 event->fields.push_back(MakeField("pid", 2, ProtoSchemaType::kInt32));
3860 event->fields.push_back(MakeField("prio", 3, ProtoSchemaType::kInt32));
3861 }
3862
3863 {
3864 events.emplace_back(Event{});
3865 Event* event = &events.back();
3866 event->name = "signal_deliver";
3867 event->group = "signal";
3868 event->proto_field_id = 324;
3869 event->fields.push_back(MakeField("code", 1, ProtoSchemaType::kInt32));
3870 event->fields.push_back(MakeField("sa_flags", 2, ProtoSchemaType::kUint64));
3871 event->fields.push_back(MakeField("sig", 3, ProtoSchemaType::kInt32));
3872 }
3873
3874 {
3875 events.emplace_back(Event{});
3876 Event* event = &events.back();
3877 event->name = "signal_generate";
3878 event->group = "signal";
3879 event->proto_field_id = 325;
3880 event->fields.push_back(MakeField("code", 1, ProtoSchemaType::kInt32));
3881 event->fields.push_back(MakeField("comm", 2, ProtoSchemaType::kString));
3882 event->fields.push_back(MakeField("group", 3, ProtoSchemaType::kInt32));
3883 event->fields.push_back(MakeField("pid", 4, ProtoSchemaType::kInt32));
3884 event->fields.push_back(MakeField("result", 5, ProtoSchemaType::kInt32));
3885 event->fields.push_back(MakeField("sig", 6, ProtoSchemaType::kInt32));
3886 }
3887
3888 {
3889 events.emplace_back(Event{});
3890 Event* event = &events.back();
3891 event->name = "sync_pt";
3892 event->group = "sync";
3893 event->proto_field_id = 38;
3894 event->fields.push_back(MakeField("timeline", 1, ProtoSchemaType::kString));
3895 event->fields.push_back(MakeField("value", 2, ProtoSchemaType::kString));
3896 }
3897
3898 {
3899 events.emplace_back(Event{});
3900 Event* event = &events.back();
3901 event->name = "sync_timeline";
3902 event->group = "sync";
3903 event->proto_field_id = 39;
3904 event->fields.push_back(MakeField("name", 1, ProtoSchemaType::kString));
3905 event->fields.push_back(MakeField("value", 2, ProtoSchemaType::kString));
3906 }
3907
3908 {
3909 events.emplace_back(Event{});
3910 Event* event = &events.back();
3911 event->name = "sync_wait";
3912 event->group = "sync";
3913 event->proto_field_id = 40;
3914 event->fields.push_back(MakeField("name", 1, ProtoSchemaType::kString));
3915 event->fields.push_back(MakeField("status", 2, ProtoSchemaType::kInt32));
3916 event->fields.push_back(MakeField("begin", 3, ProtoSchemaType::kUint32));
3917 }
3918
3919 {
3920 events.emplace_back(Event{});
3921 Event* event = &events.back();
3922 event->name = "0";
3923 event->group = "systrace";
3924 event->proto_field_id = 331;
3925 event->fields.push_back(MakeField("flag", 1, ProtoSchemaType::kInt32));
3926 event->fields.push_back(MakeField("name", 2, ProtoSchemaType::kString));
3927 event->fields.push_back(MakeField("pid", 3, ProtoSchemaType::kInt32));
3928 event->fields.push_back(MakeField("value", 4, ProtoSchemaType::kInt64));
3929 }
3930
3931 {
3932 events.emplace_back(Event{});
3933 Event* event = &events.back();
3934 event->name = "task_newtask";
3935 event->group = "task";
3936 event->proto_field_id = 235;
3937 event->fields.push_back(MakeField("pid", 1, ProtoSchemaType::kInt32));
3938 event->fields.push_back(MakeField("comm", 2, ProtoSchemaType::kString));
3939 event->fields.push_back(
3940 MakeField("clone_flags", 3, ProtoSchemaType::kUint64));
3941 event->fields.push_back(
3942 MakeField("oom_score_adj", 4, ProtoSchemaType::kInt32));
3943 }
3944
3945 {
3946 events.emplace_back(Event{});
3947 Event* event = &events.back();
3948 event->name = "task_rename";
3949 event->group = "task";
3950 event->proto_field_id = 236;
3951 event->fields.push_back(MakeField("pid", 1, ProtoSchemaType::kInt32));
3952 event->fields.push_back(MakeField("oldcomm", 2, ProtoSchemaType::kString));
3953 event->fields.push_back(MakeField("newcomm", 3, ProtoSchemaType::kString));
3954 event->fields.push_back(
3955 MakeField("oom_score_adj", 4, ProtoSchemaType::kInt32));
3956 }
3957
3958 {
3959 events.emplace_back(Event{});
3960 Event* event = &events.back();
3961 event->name = "mm_vmscan_direct_reclaim_begin";
3962 event->group = "vmscan";
3963 event->proto_field_id = 46;
3964 event->fields.push_back(MakeField("order", 1, ProtoSchemaType::kInt32));
3965 event->fields.push_back(
3966 MakeField("may_writepage", 2, ProtoSchemaType::kInt32));
3967 event->fields.push_back(
3968 MakeField("gfp_flags", 3, ProtoSchemaType::kUint32));
3969 }
3970
3971 {
3972 events.emplace_back(Event{});
3973 Event* event = &events.back();
3974 event->name = "mm_vmscan_direct_reclaim_end";
3975 event->group = "vmscan";
3976 event->proto_field_id = 47;
3977 event->fields.push_back(
3978 MakeField("nr_reclaimed", 1, ProtoSchemaType::kUint64));
3979 }
3980
3981 {
3982 events.emplace_back(Event{});
3983 Event* event = &events.back();
3984 event->name = "mm_vmscan_kswapd_wake";
3985 event->group = "vmscan";
3986 event->proto_field_id = 48;
3987 event->fields.push_back(MakeField("nid", 1, ProtoSchemaType::kInt32));
3988 event->fields.push_back(MakeField("order", 2, ProtoSchemaType::kInt32));
3989 }
3990
3991 {
3992 events.emplace_back(Event{});
3993 Event* event = &events.back();
3994 event->name = "mm_vmscan_kswapd_sleep";
3995 event->group = "vmscan";
3996 event->proto_field_id = 49;
3997 event->fields.push_back(MakeField("nid", 1, ProtoSchemaType::kInt32));
3998 }
3999
4000 {
4001 events.emplace_back(Event{});
4002 Event* event = &events.back();
4003 event->name = "workqueue_activate_work";
4004 event->group = "workqueue";
4005 event->proto_field_id = 56;
4006 event->fields.push_back(MakeField("work", 1, ProtoSchemaType::kUint64));
4007 }
4008
4009 {
4010 events.emplace_back(Event{});
4011 Event* event = &events.back();
4012 event->name = "workqueue_execute_end";
4013 event->group = "workqueue";
4014 event->proto_field_id = 57;
4015 event->fields.push_back(MakeField("work", 1, ProtoSchemaType::kUint64));
4016 }
4017
4018 {
4019 events.emplace_back(Event{});
4020 Event* event = &events.back();
4021 event->name = "workqueue_execute_start";
4022 event->group = "workqueue";
4023 event->proto_field_id = 58;
4024 event->fields.push_back(MakeField("work", 1, ProtoSchemaType::kUint64));
4025 event->fields.push_back(MakeField("function", 2, ProtoSchemaType::kUint64));
4026 }
4027
4028 {
4029 events.emplace_back(Event{});
4030 Event* event = &events.back();
4031 event->name = "workqueue_queue_work";
4032 event->group = "workqueue";
4033 event->proto_field_id = 59;
4034 event->fields.push_back(MakeField("work", 1, ProtoSchemaType::kUint64));
4035 event->fields.push_back(MakeField("function", 2, ProtoSchemaType::kUint64));
4036 event->fields.push_back(
4037 MakeField("workqueue", 3, ProtoSchemaType::kUint64));
4038 event->fields.push_back(MakeField("req_cpu", 4, ProtoSchemaType::kUint32));
4039 event->fields.push_back(MakeField("cpu", 5, ProtoSchemaType::kUint32));
4040 }
4041
4042 return events;
4043 }
4044
4045 } // namespace perfetto
4046