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