• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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, 419> 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         3,
450         {
451             {},
452             {"nid", ProtoSchemaType::kInt32},
453             {"order", ProtoSchemaType::kInt32},
454             {"zid", ProtoSchemaType::kInt32},
455         },
456     },
457     {
458         "mm_vmscan_kswapd_sleep",
459         1,
460         {
461             {},
462             {"nid", ProtoSchemaType::kInt32},
463         },
464     },
465     {
466         "binder_transaction",
467         7,
468         {
469             {},
470             {"debug_id", ProtoSchemaType::kInt32},
471             {"target_node", ProtoSchemaType::kInt32},
472             {"to_proc", ProtoSchemaType::kInt32},
473             {"to_thread", ProtoSchemaType::kInt32},
474             {"reply", ProtoSchemaType::kInt32},
475             {"code", ProtoSchemaType::kUint32},
476             {"flags", ProtoSchemaType::kUint32},
477         },
478     },
479     {
480         "binder_transaction_received",
481         1,
482         {
483             {},
484             {"debug_id", ProtoSchemaType::kInt32},
485         },
486     },
487     {
488         "binder_set_priority",
489         5,
490         {
491             {},
492             {"proc", ProtoSchemaType::kInt32},
493             {"thread", ProtoSchemaType::kInt32},
494             {"old_prio", ProtoSchemaType::kUint32},
495             {"new_prio", ProtoSchemaType::kUint32},
496             {"desired_prio", ProtoSchemaType::kUint32},
497         },
498     },
499     {
500         "binder_lock",
501         1,
502         {
503             {},
504             {"tag", ProtoSchemaType::kString},
505         },
506     },
507     {
508         "binder_locked",
509         1,
510         {
511             {},
512             {"tag", ProtoSchemaType::kString},
513         },
514     },
515     {
516         "binder_unlock",
517         1,
518         {
519             {},
520             {"tag", ProtoSchemaType::kString},
521         },
522     },
523     {
524         "workqueue_activate_work",
525         1,
526         {
527             {},
528             {"work", ProtoSchemaType::kUint64},
529         },
530     },
531     {
532         "workqueue_execute_end",
533         2,
534         {
535             {},
536             {"work", ProtoSchemaType::kUint64},
537             {"function", ProtoSchemaType::kUint64},
538         },
539     },
540     {
541         "workqueue_execute_start",
542         2,
543         {
544             {},
545             {"work", ProtoSchemaType::kUint64},
546             {"function", ProtoSchemaType::kUint64},
547         },
548     },
549     {
550         "workqueue_queue_work",
551         5,
552         {
553             {},
554             {"work", ProtoSchemaType::kUint64},
555             {"function", ProtoSchemaType::kUint64},
556             {"workqueue", ProtoSchemaType::kUint64},
557             {"req_cpu", ProtoSchemaType::kUint32},
558             {"cpu", ProtoSchemaType::kUint32},
559         },
560     },
561     {
562         "regulator_disable",
563         1,
564         {
565             {},
566             {"name", ProtoSchemaType::kString},
567         },
568     },
569     {
570         "regulator_disable_complete",
571         1,
572         {
573             {},
574             {"name", ProtoSchemaType::kString},
575         },
576     },
577     {
578         "regulator_enable",
579         1,
580         {
581             {},
582             {"name", ProtoSchemaType::kString},
583         },
584     },
585     {
586         "regulator_enable_complete",
587         1,
588         {
589             {},
590             {"name", ProtoSchemaType::kString},
591         },
592     },
593     {
594         "regulator_enable_delay",
595         1,
596         {
597             {},
598             {"name", ProtoSchemaType::kString},
599         },
600     },
601     {
602         "regulator_set_voltage",
603         3,
604         {
605             {},
606             {"name", ProtoSchemaType::kString},
607             {"min", ProtoSchemaType::kInt32},
608             {"max", ProtoSchemaType::kInt32},
609         },
610     },
611     {
612         "regulator_set_voltage_complete",
613         2,
614         {
615             {},
616             {"name", ProtoSchemaType::kString},
617             {"val", ProtoSchemaType::kUint32},
618         },
619     },
620     {
621         "cgroup_attach_task",
622         7,
623         {
624             {},
625             {"dst_root", ProtoSchemaType::kInt32},
626             {"dst_id", ProtoSchemaType::kInt32},
627             {"pid", ProtoSchemaType::kInt32},
628             {"comm", ProtoSchemaType::kString},
629             {"cname", ProtoSchemaType::kString},
630             {"dst_level", ProtoSchemaType::kInt32},
631             {"dst_path", ProtoSchemaType::kString},
632         },
633     },
634     {
635         "cgroup_mkdir",
636         5,
637         {
638             {},
639             {"root", ProtoSchemaType::kInt32},
640             {"id", ProtoSchemaType::kInt32},
641             {"cname", ProtoSchemaType::kString},
642             {"level", ProtoSchemaType::kInt32},
643             {"path", ProtoSchemaType::kString},
644         },
645     },
646     {
647         "cgroup_remount",
648         3,
649         {
650             {},
651             {"root", ProtoSchemaType::kInt32},
652             {"ss_mask", ProtoSchemaType::kUint32},
653             {"name", ProtoSchemaType::kString},
654         },
655     },
656     {
657         "cgroup_rmdir",
658         5,
659         {
660             {},
661             {"root", ProtoSchemaType::kInt32},
662             {"id", ProtoSchemaType::kInt32},
663             {"cname", ProtoSchemaType::kString},
664             {"level", ProtoSchemaType::kInt32},
665             {"path", ProtoSchemaType::kString},
666         },
667     },
668     {
669         "cgroup_transfer_tasks",
670         7,
671         {
672             {},
673             {"dst_root", ProtoSchemaType::kInt32},
674             {"dst_id", ProtoSchemaType::kInt32},
675             {"pid", ProtoSchemaType::kInt32},
676             {"comm", ProtoSchemaType::kString},
677             {"cname", ProtoSchemaType::kString},
678             {"dst_level", ProtoSchemaType::kInt32},
679             {"dst_path", ProtoSchemaType::kString},
680         },
681     },
682     {
683         "cgroup_destroy_root",
684         3,
685         {
686             {},
687             {"root", ProtoSchemaType::kInt32},
688             {"ss_mask", ProtoSchemaType::kUint32},
689             {"name", ProtoSchemaType::kString},
690         },
691     },
692     {
693         "cgroup_release",
694         5,
695         {
696             {},
697             {"root", ProtoSchemaType::kInt32},
698             {"id", ProtoSchemaType::kInt32},
699             {"cname", ProtoSchemaType::kString},
700             {"level", ProtoSchemaType::kInt32},
701             {"path", ProtoSchemaType::kString},
702         },
703     },
704     {
705         "cgroup_rename",
706         5,
707         {
708             {},
709             {"root", ProtoSchemaType::kInt32},
710             {"id", ProtoSchemaType::kInt32},
711             {"cname", ProtoSchemaType::kString},
712             {"level", ProtoSchemaType::kInt32},
713             {"path", ProtoSchemaType::kString},
714         },
715     },
716     {
717         "cgroup_setup_root",
718         3,
719         {
720             {},
721             {"root", ProtoSchemaType::kInt32},
722             {"ss_mask", ProtoSchemaType::kUint32},
723             {"name", ProtoSchemaType::kString},
724         },
725     },
726     {
727         "mdp_cmd_kickoff",
728         2,
729         {
730             {},
731             {"ctl_num", ProtoSchemaType::kUint32},
732             {"kickoff_cnt", ProtoSchemaType::kInt32},
733         },
734     },
735     {
736         "mdp_commit",
737         4,
738         {
739             {},
740             {"num", ProtoSchemaType::kUint32},
741             {"play_cnt", ProtoSchemaType::kUint32},
742             {"clk_rate", ProtoSchemaType::kUint32},
743             {"bandwidth", ProtoSchemaType::kUint64},
744         },
745     },
746     {
747         "mdp_perf_set_ot",
748         4,
749         {
750             {},
751             {"pnum", ProtoSchemaType::kUint32},
752             {"xin_id", ProtoSchemaType::kUint32},
753             {"rd_lim", ProtoSchemaType::kUint32},
754             {"is_vbif_rt", ProtoSchemaType::kUint32},
755         },
756     },
757     {
758         "mdp_sspp_change",
759         16,
760         {
761             {},
762             {"num", ProtoSchemaType::kUint32},
763             {"play_cnt", ProtoSchemaType::kUint32},
764             {"mixer", ProtoSchemaType::kUint32},
765             {"stage", ProtoSchemaType::kUint32},
766             {"flags", ProtoSchemaType::kUint32},
767             {"format", ProtoSchemaType::kUint32},
768             {"img_w", ProtoSchemaType::kUint32},
769             {"img_h", ProtoSchemaType::kUint32},
770             {"src_x", ProtoSchemaType::kUint32},
771             {"src_y", ProtoSchemaType::kUint32},
772             {"src_w", ProtoSchemaType::kUint32},
773             {"src_h", ProtoSchemaType::kUint32},
774             {"dst_x", ProtoSchemaType::kUint32},
775             {"dst_y", ProtoSchemaType::kUint32},
776             {"dst_w", ProtoSchemaType::kUint32},
777             {"dst_h", ProtoSchemaType::kUint32},
778         },
779     },
780     {
781         "tracing_mark_write",
782         3,
783         {
784             {},
785             {"pid", ProtoSchemaType::kInt32},
786             {"trace_name", ProtoSchemaType::kString},
787             {"trace_begin", ProtoSchemaType::kUint32},
788         },
789     },
790     {
791         "mdp_cmd_pingpong_done",
792         4,
793         {
794             {},
795             {"ctl_num", ProtoSchemaType::kUint32},
796             {"intf_num", ProtoSchemaType::kUint32},
797             {"pp_num", ProtoSchemaType::kUint32},
798             {"koff_cnt", ProtoSchemaType::kInt32},
799         },
800     },
801     {
802         "mdp_compare_bw",
803         8,
804         {
805             {},
806             {"new_ab", ProtoSchemaType::kUint64},
807             {"new_ib", ProtoSchemaType::kUint64},
808             {"new_wb", ProtoSchemaType::kUint64},
809             {"old_ab", ProtoSchemaType::kUint64},
810             {"old_ib", ProtoSchemaType::kUint64},
811             {"old_wb", ProtoSchemaType::kUint64},
812             {"params_changed", ProtoSchemaType::kUint32},
813             {"update_bw", ProtoSchemaType::kUint32},
814         },
815     },
816     {
817         "mdp_perf_set_panic_luts",
818         5,
819         {
820             {},
821             {"pnum", ProtoSchemaType::kUint32},
822             {"fmt", ProtoSchemaType::kUint32},
823             {"mode", ProtoSchemaType::kUint32},
824             {"panic_lut", ProtoSchemaType::kUint32},
825             {"robust_lut", ProtoSchemaType::kUint32},
826         },
827     },
828     {
829         "mdp_sspp_set",
830         16,
831         {
832             {},
833             {"num", ProtoSchemaType::kUint32},
834             {"play_cnt", ProtoSchemaType::kUint32},
835             {"mixer", ProtoSchemaType::kUint32},
836             {"stage", ProtoSchemaType::kUint32},
837             {"flags", ProtoSchemaType::kUint32},
838             {"format", ProtoSchemaType::kUint32},
839             {"img_w", ProtoSchemaType::kUint32},
840             {"img_h", ProtoSchemaType::kUint32},
841             {"src_x", ProtoSchemaType::kUint32},
842             {"src_y", ProtoSchemaType::kUint32},
843             {"src_w", ProtoSchemaType::kUint32},
844             {"src_h", ProtoSchemaType::kUint32},
845             {"dst_x", ProtoSchemaType::kUint32},
846             {"dst_y", ProtoSchemaType::kUint32},
847             {"dst_w", ProtoSchemaType::kUint32},
848             {"dst_h", ProtoSchemaType::kUint32},
849         },
850     },
851     {
852         "mdp_cmd_readptr_done",
853         2,
854         {
855             {},
856             {"ctl_num", ProtoSchemaType::kUint32},
857             {"koff_cnt", ProtoSchemaType::kInt32},
858         },
859     },
860     {
861         "mdp_misr_crc",
862         3,
863         {
864             {},
865             {"block_id", ProtoSchemaType::kUint32},
866             {"vsync_cnt", ProtoSchemaType::kUint32},
867             {"crc", ProtoSchemaType::kUint32},
868         },
869     },
870     {
871         "mdp_perf_set_qos_luts",
872         7,
873         {
874             {},
875             {"pnum", ProtoSchemaType::kUint32},
876             {"fmt", ProtoSchemaType::kUint32},
877             {"intf", ProtoSchemaType::kUint32},
878             {"rot", ProtoSchemaType::kUint32},
879             {"fl", ProtoSchemaType::kUint32},
880             {"lut", ProtoSchemaType::kUint32},
881             {"linear", ProtoSchemaType::kUint32},
882         },
883     },
884     {
885         "mdp_trace_counter",
886         3,
887         {
888             {},
889             {"pid", ProtoSchemaType::kInt32},
890             {"counter_name", ProtoSchemaType::kString},
891             {"value", ProtoSchemaType::kInt32},
892         },
893     },
894     {
895         "mdp_cmd_release_bw",
896         1,
897         {
898             {},
899             {"ctl_num", ProtoSchemaType::kUint32},
900         },
901     },
902     {
903         "mdp_mixer_update",
904         1,
905         {
906             {},
907             {"mixer_num", ProtoSchemaType::kUint32},
908         },
909     },
910     {
911         "mdp_perf_set_wm_levels",
912         8,
913         {
914             {},
915             {"pnum", ProtoSchemaType::kUint32},
916             {"use_space", ProtoSchemaType::kUint32},
917             {"priority_bytes", ProtoSchemaType::kUint32},
918             {"wm0", ProtoSchemaType::kUint32},
919             {"wm1", ProtoSchemaType::kUint32},
920             {"wm2", ProtoSchemaType::kUint32},
921             {"mb_cnt", ProtoSchemaType::kUint32},
922             {"mb_size", ProtoSchemaType::kUint32},
923         },
924     },
925     {
926         "mdp_video_underrun_done",
927         2,
928         {
929             {},
930             {"ctl_num", ProtoSchemaType::kUint32},
931             {"underrun_cnt", ProtoSchemaType::kUint32},
932         },
933     },
934     {
935         "mdp_cmd_wait_pingpong",
936         2,
937         {
938             {},
939             {"ctl_num", ProtoSchemaType::kUint32},
940             {"kickoff_cnt", ProtoSchemaType::kInt32},
941         },
942     },
943     {
944         "mdp_perf_prefill_calc",
945         10,
946         {
947             {},
948             {"pnum", ProtoSchemaType::kUint32},
949             {"latency_buf", ProtoSchemaType::kUint32},
950             {"ot", ProtoSchemaType::kUint32},
951             {"y_buf", ProtoSchemaType::kUint32},
952             {"y_scaler", ProtoSchemaType::kUint32},
953             {"pp_lines", ProtoSchemaType::kUint32},
954             {"pp_bytes", ProtoSchemaType::kUint32},
955             {"post_sc", ProtoSchemaType::kUint32},
956             {"fbc_bytes", ProtoSchemaType::kUint32},
957             {"prefill_bytes", ProtoSchemaType::kUint32},
958         },
959     },
960     {
961         "mdp_perf_update_bus",
962         3,
963         {
964             {},
965             {"client", ProtoSchemaType::kInt32},
966             {"ab_quota", ProtoSchemaType::kUint64},
967             {"ib_quota", ProtoSchemaType::kUint64},
968         },
969     },
970     {
971         "rotator_bw_ao_as_context",
972         1,
973         {
974             {},
975             {"state", ProtoSchemaType::kUint32},
976         },
977     },
978     {
979         "mm_filemap_add_to_page_cache",
980         5,
981         {
982             {},
983             {"pfn", ProtoSchemaType::kUint64},
984             {"i_ino", ProtoSchemaType::kUint64},
985             {"index", ProtoSchemaType::kUint64},
986             {"s_dev", ProtoSchemaType::kUint64},
987             {"page", ProtoSchemaType::kUint64},
988         },
989     },
990     {
991         "mm_filemap_delete_from_page_cache",
992         5,
993         {
994             {},
995             {"pfn", ProtoSchemaType::kUint64},
996             {"i_ino", ProtoSchemaType::kUint64},
997             {"index", ProtoSchemaType::kUint64},
998             {"s_dev", ProtoSchemaType::kUint64},
999             {"page", ProtoSchemaType::kUint64},
1000         },
1001     },
1002     {
1003         "mm_compaction_begin",
1004         5,
1005         {
1006             {},
1007             {"zone_start", ProtoSchemaType::kUint64},
1008             {"migrate_pfn", ProtoSchemaType::kUint64},
1009             {"free_pfn", ProtoSchemaType::kUint64},
1010             {"zone_end", ProtoSchemaType::kUint64},
1011             {"sync", ProtoSchemaType::kUint32},
1012         },
1013     },
1014     {
1015         "mm_compaction_defer_compaction",
1016         6,
1017         {
1018             {},
1019             {"nid", ProtoSchemaType::kInt32},
1020             {"idx", ProtoSchemaType::kUint32},
1021             {"order", ProtoSchemaType::kInt32},
1022             {"considered", ProtoSchemaType::kUint32},
1023             {"defer_shift", ProtoSchemaType::kUint32},
1024             {"order_failed", ProtoSchemaType::kInt32},
1025         },
1026     },
1027     {
1028         "mm_compaction_deferred",
1029         6,
1030         {
1031             {},
1032             {"nid", ProtoSchemaType::kInt32},
1033             {"idx", ProtoSchemaType::kUint32},
1034             {"order", ProtoSchemaType::kInt32},
1035             {"considered", ProtoSchemaType::kUint32},
1036             {"defer_shift", ProtoSchemaType::kUint32},
1037             {"order_failed", ProtoSchemaType::kInt32},
1038         },
1039     },
1040     {
1041         "mm_compaction_defer_reset",
1042         6,
1043         {
1044             {},
1045             {"nid", ProtoSchemaType::kInt32},
1046             {"idx", ProtoSchemaType::kUint32},
1047             {"order", ProtoSchemaType::kInt32},
1048             {"considered", ProtoSchemaType::kUint32},
1049             {"defer_shift", ProtoSchemaType::kUint32},
1050             {"order_failed", ProtoSchemaType::kInt32},
1051         },
1052     },
1053     {
1054         "mm_compaction_end",
1055         6,
1056         {
1057             {},
1058             {"zone_start", ProtoSchemaType::kUint64},
1059             {"migrate_pfn", ProtoSchemaType::kUint64},
1060             {"free_pfn", ProtoSchemaType::kUint64},
1061             {"zone_end", ProtoSchemaType::kUint64},
1062             {"sync", ProtoSchemaType::kUint32},
1063             {"status", ProtoSchemaType::kInt32},
1064         },
1065     },
1066     {
1067         "mm_compaction_finished",
1068         4,
1069         {
1070             {},
1071             {"nid", ProtoSchemaType::kInt32},
1072             {"idx", ProtoSchemaType::kUint32},
1073             {"order", ProtoSchemaType::kInt32},
1074             {"ret", ProtoSchemaType::kInt32},
1075         },
1076     },
1077     {
1078         "mm_compaction_isolate_freepages",
1079         4,
1080         {
1081             {},
1082             {"start_pfn", ProtoSchemaType::kUint64},
1083             {"end_pfn", ProtoSchemaType::kUint64},
1084             {"nr_scanned", ProtoSchemaType::kUint64},
1085             {"nr_taken", ProtoSchemaType::kUint64},
1086         },
1087     },
1088     {
1089         "mm_compaction_isolate_migratepages",
1090         4,
1091         {
1092             {},
1093             {"start_pfn", ProtoSchemaType::kUint64},
1094             {"end_pfn", ProtoSchemaType::kUint64},
1095             {"nr_scanned", ProtoSchemaType::kUint64},
1096             {"nr_taken", ProtoSchemaType::kUint64},
1097         },
1098     },
1099     {
1100         "mm_compaction_kcompactd_sleep",
1101         1,
1102         {
1103             {},
1104             {"nid", ProtoSchemaType::kInt32},
1105         },
1106     },
1107     {
1108         "mm_compaction_kcompactd_wake",
1109         4,
1110         {
1111             {},
1112             {"nid", ProtoSchemaType::kInt32},
1113             {"order", ProtoSchemaType::kInt32},
1114             {"classzone_idx", ProtoSchemaType::kUint32},
1115             {"highest_zoneidx", ProtoSchemaType::kUint32},
1116         },
1117     },
1118     {
1119         "mm_compaction_migratepages",
1120         2,
1121         {
1122             {},
1123             {"nr_migrated", ProtoSchemaType::kUint64},
1124             {"nr_failed", ProtoSchemaType::kUint64},
1125         },
1126     },
1127     {
1128         "mm_compaction_suitable",
1129         4,
1130         {
1131             {},
1132             {"nid", ProtoSchemaType::kInt32},
1133             {"idx", ProtoSchemaType::kUint32},
1134             {"order", ProtoSchemaType::kInt32},
1135             {"ret", ProtoSchemaType::kInt32},
1136         },
1137     },
1138     {
1139         "mm_compaction_try_to_compact_pages",
1140         4,
1141         {
1142             {},
1143             {"order", ProtoSchemaType::kInt32},
1144             {"gfp_mask", ProtoSchemaType::kUint32},
1145             {"mode", ProtoSchemaType::kUint32},
1146             {"prio", ProtoSchemaType::kInt32},
1147         },
1148     },
1149     {
1150         "mm_compaction_wakeup_kcompactd",
1151         4,
1152         {
1153             {},
1154             {"nid", ProtoSchemaType::kInt32},
1155             {"order", ProtoSchemaType::kInt32},
1156             {"classzone_idx", ProtoSchemaType::kUint32},
1157             {"highest_zoneidx", ProtoSchemaType::kUint32},
1158         },
1159     },
1160     {
1161         "suspend_resume",
1162         3,
1163         {
1164             {},
1165             {"action", ProtoSchemaType::kString},
1166             {"val", ProtoSchemaType::kInt32},
1167             {"start", ProtoSchemaType::kUint32},
1168         },
1169     },
1170     {
1171         "sched_wakeup_new",
1172         5,
1173         {
1174             {},
1175             {"comm", ProtoSchemaType::kString},
1176             {"pid", ProtoSchemaType::kInt32},
1177             {"prio", ProtoSchemaType::kInt32},
1178             {"success", ProtoSchemaType::kInt32},
1179             {"target_cpu", ProtoSchemaType::kInt32},
1180         },
1181     },
1182     {
1183         "block_bio_backmerge",
1184         5,
1185         {
1186             {},
1187             {"dev", ProtoSchemaType::kUint64},
1188             {"sector", ProtoSchemaType::kUint64},
1189             {"nr_sector", ProtoSchemaType::kUint32},
1190             {"rwbs", ProtoSchemaType::kString},
1191             {"comm", ProtoSchemaType::kString},
1192         },
1193     },
1194     {
1195         "block_bio_bounce",
1196         5,
1197         {
1198             {},
1199             {"dev", ProtoSchemaType::kUint64},
1200             {"sector", ProtoSchemaType::kUint64},
1201             {"nr_sector", ProtoSchemaType::kUint32},
1202             {"rwbs", ProtoSchemaType::kString},
1203             {"comm", ProtoSchemaType::kString},
1204         },
1205     },
1206     {
1207         "block_bio_complete",
1208         5,
1209         {
1210             {},
1211             {"dev", ProtoSchemaType::kUint64},
1212             {"sector", ProtoSchemaType::kUint64},
1213             {"nr_sector", ProtoSchemaType::kUint32},
1214             {"error", ProtoSchemaType::kInt32},
1215             {"rwbs", ProtoSchemaType::kString},
1216         },
1217     },
1218     {
1219         "block_bio_frontmerge",
1220         5,
1221         {
1222             {},
1223             {"dev", ProtoSchemaType::kUint64},
1224             {"sector", ProtoSchemaType::kUint64},
1225             {"nr_sector", ProtoSchemaType::kUint32},
1226             {"rwbs", ProtoSchemaType::kString},
1227             {"comm", ProtoSchemaType::kString},
1228         },
1229     },
1230     {
1231         "block_bio_queue",
1232         5,
1233         {
1234             {},
1235             {"dev", ProtoSchemaType::kUint64},
1236             {"sector", ProtoSchemaType::kUint64},
1237             {"nr_sector", ProtoSchemaType::kUint32},
1238             {"rwbs", ProtoSchemaType::kString},
1239             {"comm", ProtoSchemaType::kString},
1240         },
1241     },
1242     {
1243         "block_bio_remap",
1244         6,
1245         {
1246             {},
1247             {"dev", ProtoSchemaType::kUint64},
1248             {"sector", ProtoSchemaType::kUint64},
1249             {"nr_sector", ProtoSchemaType::kUint32},
1250             {"old_dev", ProtoSchemaType::kUint64},
1251             {"old_sector", ProtoSchemaType::kUint64},
1252             {"rwbs", ProtoSchemaType::kString},
1253         },
1254     },
1255     {
1256         "block_dirty_buffer",
1257         3,
1258         {
1259             {},
1260             {"dev", ProtoSchemaType::kUint64},
1261             {"sector", ProtoSchemaType::kUint64},
1262             {"size", ProtoSchemaType::kUint64},
1263         },
1264     },
1265     {
1266         "block_getrq",
1267         5,
1268         {
1269             {},
1270             {"dev", ProtoSchemaType::kUint64},
1271             {"sector", ProtoSchemaType::kUint64},
1272             {"nr_sector", ProtoSchemaType::kUint32},
1273             {"rwbs", ProtoSchemaType::kString},
1274             {"comm", ProtoSchemaType::kString},
1275         },
1276     },
1277     {
1278         "block_plug",
1279         1,
1280         {
1281             {},
1282             {"comm", ProtoSchemaType::kString},
1283         },
1284     },
1285     {
1286         "block_rq_abort",
1287         6,
1288         {
1289             {},
1290             {"dev", ProtoSchemaType::kUint64},
1291             {"sector", ProtoSchemaType::kUint64},
1292             {"nr_sector", ProtoSchemaType::kUint32},
1293             {"errors", ProtoSchemaType::kInt32},
1294             {"rwbs", ProtoSchemaType::kString},
1295             {"cmd", ProtoSchemaType::kString},
1296         },
1297     },
1298     {
1299         "block_rq_complete",
1300         7,
1301         {
1302             {},
1303             {"dev", ProtoSchemaType::kUint64},
1304             {"sector", ProtoSchemaType::kUint64},
1305             {"nr_sector", ProtoSchemaType::kUint32},
1306             {"errors", ProtoSchemaType::kInt32},
1307             {"rwbs", ProtoSchemaType::kString},
1308             {"cmd", ProtoSchemaType::kString},
1309             {"error", ProtoSchemaType::kInt32},
1310         },
1311     },
1312     {
1313         "block_rq_insert",
1314         7,
1315         {
1316             {},
1317             {"dev", ProtoSchemaType::kUint64},
1318             {"sector", ProtoSchemaType::kUint64},
1319             {"nr_sector", ProtoSchemaType::kUint32},
1320             {"bytes", ProtoSchemaType::kUint32},
1321             {"rwbs", ProtoSchemaType::kString},
1322             {"comm", ProtoSchemaType::kString},
1323             {"cmd", ProtoSchemaType::kString},
1324         },
1325     },
1326     {nullptr, 0, {}},
1327     {
1328         "block_rq_remap",
1329         7,
1330         {
1331             {},
1332             {"dev", ProtoSchemaType::kUint64},
1333             {"sector", ProtoSchemaType::kUint64},
1334             {"nr_sector", ProtoSchemaType::kUint32},
1335             {"old_dev", ProtoSchemaType::kUint64},
1336             {"old_sector", ProtoSchemaType::kUint64},
1337             {"nr_bios", ProtoSchemaType::kUint32},
1338             {"rwbs", ProtoSchemaType::kString},
1339         },
1340     },
1341     {
1342         "block_rq_requeue",
1343         6,
1344         {
1345             {},
1346             {"dev", ProtoSchemaType::kUint64},
1347             {"sector", ProtoSchemaType::kUint64},
1348             {"nr_sector", ProtoSchemaType::kUint32},
1349             {"errors", ProtoSchemaType::kInt32},
1350             {"rwbs", ProtoSchemaType::kString},
1351             {"cmd", ProtoSchemaType::kString},
1352         },
1353     },
1354     {
1355         "block_sleeprq",
1356         5,
1357         {
1358             {},
1359             {"dev", ProtoSchemaType::kUint64},
1360             {"sector", ProtoSchemaType::kUint64},
1361             {"nr_sector", ProtoSchemaType::kUint32},
1362             {"rwbs", ProtoSchemaType::kString},
1363             {"comm", ProtoSchemaType::kString},
1364         },
1365     },
1366     {
1367         "block_split",
1368         5,
1369         {
1370             {},
1371             {"dev", ProtoSchemaType::kUint64},
1372             {"sector", ProtoSchemaType::kUint64},
1373             {"new_sector", ProtoSchemaType::kUint64},
1374             {"rwbs", ProtoSchemaType::kString},
1375             {"comm", ProtoSchemaType::kString},
1376         },
1377     },
1378     {
1379         "block_touch_buffer",
1380         3,
1381         {
1382             {},
1383             {"dev", ProtoSchemaType::kUint64},
1384             {"sector", ProtoSchemaType::kUint64},
1385             {"size", ProtoSchemaType::kUint64},
1386         },
1387     },
1388     {
1389         "block_unplug",
1390         2,
1391         {
1392             {},
1393             {"nr_rq", ProtoSchemaType::kInt32},
1394             {"comm", ProtoSchemaType::kString},
1395         },
1396     },
1397     {
1398         "ext4_alloc_da_blocks",
1399         4,
1400         {
1401             {},
1402             {"dev", ProtoSchemaType::kUint64},
1403             {"ino", ProtoSchemaType::kUint64},
1404             {"data_blocks", ProtoSchemaType::kUint32},
1405             {"meta_blocks", ProtoSchemaType::kUint32},
1406         },
1407     },
1408     {
1409         "ext4_allocate_blocks",
1410         11,
1411         {
1412             {},
1413             {"dev", ProtoSchemaType::kUint64},
1414             {"ino", ProtoSchemaType::kUint64},
1415             {"block", ProtoSchemaType::kUint64},
1416             {"len", ProtoSchemaType::kUint32},
1417             {"logical", ProtoSchemaType::kUint32},
1418             {"lleft", ProtoSchemaType::kUint32},
1419             {"lright", ProtoSchemaType::kUint32},
1420             {"goal", ProtoSchemaType::kUint64},
1421             {"pleft", ProtoSchemaType::kUint64},
1422             {"pright", ProtoSchemaType::kUint64},
1423             {"flags", ProtoSchemaType::kUint32},
1424         },
1425     },
1426     {
1427         "ext4_allocate_inode",
1428         4,
1429         {
1430             {},
1431             {"dev", ProtoSchemaType::kUint64},
1432             {"ino", ProtoSchemaType::kUint64},
1433             {"dir", ProtoSchemaType::kUint64},
1434             {"mode", ProtoSchemaType::kUint32},
1435         },
1436     },
1437     {
1438         "ext4_begin_ordered_truncate",
1439         3,
1440         {
1441             {},
1442             {"dev", ProtoSchemaType::kUint64},
1443             {"ino", ProtoSchemaType::kUint64},
1444             {"new_size", ProtoSchemaType::kInt64},
1445         },
1446     },
1447     {
1448         "ext4_collapse_range",
1449         4,
1450         {
1451             {},
1452             {"dev", ProtoSchemaType::kUint64},
1453             {"ino", ProtoSchemaType::kUint64},
1454             {"offset", ProtoSchemaType::kInt64},
1455             {"len", ProtoSchemaType::kInt64},
1456         },
1457     },
1458     {
1459         "ext4_da_release_space",
1460         8,
1461         {
1462             {},
1463             {"dev", ProtoSchemaType::kUint64},
1464             {"ino", ProtoSchemaType::kUint64},
1465             {"i_blocks", ProtoSchemaType::kUint64},
1466             {"freed_blocks", ProtoSchemaType::kInt32},
1467             {"reserved_data_blocks", ProtoSchemaType::kInt32},
1468             {"reserved_meta_blocks", ProtoSchemaType::kInt32},
1469             {"allocated_meta_blocks", ProtoSchemaType::kInt32},
1470             {"mode", ProtoSchemaType::kUint32},
1471         },
1472     },
1473     {
1474         "ext4_da_reserve_space",
1475         7,
1476         {
1477             {},
1478             {"dev", ProtoSchemaType::kUint64},
1479             {"ino", ProtoSchemaType::kUint64},
1480             {"i_blocks", ProtoSchemaType::kUint64},
1481             {"reserved_data_blocks", ProtoSchemaType::kInt32},
1482             {"reserved_meta_blocks", ProtoSchemaType::kInt32},
1483             {"mode", ProtoSchemaType::kUint32},
1484             {"md_needed", ProtoSchemaType::kInt32},
1485         },
1486     },
1487     {
1488         "ext4_da_update_reserve_space",
1489         9,
1490         {
1491             {},
1492             {"dev", ProtoSchemaType::kUint64},
1493             {"ino", ProtoSchemaType::kUint64},
1494             {"i_blocks", ProtoSchemaType::kUint64},
1495             {"used_blocks", ProtoSchemaType::kInt32},
1496             {"reserved_data_blocks", ProtoSchemaType::kInt32},
1497             {"reserved_meta_blocks", ProtoSchemaType::kInt32},
1498             {"allocated_meta_blocks", ProtoSchemaType::kInt32},
1499             {"quota_claim", ProtoSchemaType::kInt32},
1500             {"mode", ProtoSchemaType::kUint32},
1501         },
1502     },
1503     {
1504         "ext4_da_write_pages",
1505         10,
1506         {
1507             {},
1508             {"dev", ProtoSchemaType::kUint64},
1509             {"ino", ProtoSchemaType::kUint64},
1510             {"first_page", ProtoSchemaType::kUint64},
1511             {"nr_to_write", ProtoSchemaType::kInt64},
1512             {"sync_mode", ProtoSchemaType::kInt32},
1513             {"b_blocknr", ProtoSchemaType::kUint64},
1514             {"b_size", ProtoSchemaType::kUint32},
1515             {"b_state", ProtoSchemaType::kUint32},
1516             {"io_done", ProtoSchemaType::kInt32},
1517             {"pages_written", ProtoSchemaType::kInt32},
1518         },
1519     },
1520     {
1521         "ext4_da_write_pages_extent",
1522         5,
1523         {
1524             {},
1525             {"dev", ProtoSchemaType::kUint64},
1526             {"ino", ProtoSchemaType::kUint64},
1527             {"lblk", ProtoSchemaType::kUint64},
1528             {"len", ProtoSchemaType::kUint32},
1529             {"flags", ProtoSchemaType::kUint32},
1530         },
1531     },
1532     {
1533         "ext4_direct_IO_enter",
1534         5,
1535         {
1536             {},
1537             {"dev", ProtoSchemaType::kUint64},
1538             {"ino", ProtoSchemaType::kUint64},
1539             {"pos", ProtoSchemaType::kInt64},
1540             {"len", ProtoSchemaType::kUint64},
1541             {"rw", ProtoSchemaType::kInt32},
1542         },
1543     },
1544     {
1545         "ext4_direct_IO_exit",
1546         6,
1547         {
1548             {},
1549             {"dev", ProtoSchemaType::kUint64},
1550             {"ino", ProtoSchemaType::kUint64},
1551             {"pos", ProtoSchemaType::kInt64},
1552             {"len", ProtoSchemaType::kUint64},
1553             {"rw", ProtoSchemaType::kInt32},
1554             {"ret", ProtoSchemaType::kInt32},
1555         },
1556     },
1557     {
1558         "ext4_discard_blocks",
1559         3,
1560         {
1561             {},
1562             {"dev", ProtoSchemaType::kUint64},
1563             {"blk", ProtoSchemaType::kUint64},
1564             {"count", ProtoSchemaType::kUint64},
1565         },
1566     },
1567     {
1568         "ext4_discard_preallocations",
1569         4,
1570         {
1571             {},
1572             {"dev", ProtoSchemaType::kUint64},
1573             {"ino", ProtoSchemaType::kUint64},
1574             {"len", ProtoSchemaType::kUint32},
1575             {"needed", ProtoSchemaType::kUint32},
1576         },
1577     },
1578     {
1579         "ext4_drop_inode",
1580         3,
1581         {
1582             {},
1583             {"dev", ProtoSchemaType::kUint64},
1584             {"ino", ProtoSchemaType::kUint64},
1585             {"drop", ProtoSchemaType::kInt32},
1586         },
1587     },
1588     {
1589         "ext4_es_cache_extent",
1590         6,
1591         {
1592             {},
1593             {"dev", ProtoSchemaType::kUint64},
1594             {"ino", ProtoSchemaType::kUint64},
1595             {"lblk", ProtoSchemaType::kUint32},
1596             {"len", ProtoSchemaType::kUint32},
1597             {"pblk", ProtoSchemaType::kUint64},
1598             {"status", ProtoSchemaType::kUint32},
1599         },
1600     },
1601     {
1602         "ext4_es_find_delayed_extent_range_enter",
1603         3,
1604         {
1605             {},
1606             {"dev", ProtoSchemaType::kUint64},
1607             {"ino", ProtoSchemaType::kUint64},
1608             {"lblk", ProtoSchemaType::kUint32},
1609         },
1610     },
1611     {
1612         "ext4_es_find_delayed_extent_range_exit",
1613         6,
1614         {
1615             {},
1616             {"dev", ProtoSchemaType::kUint64},
1617             {"ino", ProtoSchemaType::kUint64},
1618             {"lblk", ProtoSchemaType::kUint32},
1619             {"len", ProtoSchemaType::kUint32},
1620             {"pblk", ProtoSchemaType::kUint64},
1621             {"status", ProtoSchemaType::kUint64},
1622         },
1623     },
1624     {
1625         "ext4_es_insert_extent",
1626         6,
1627         {
1628             {},
1629             {"dev", ProtoSchemaType::kUint64},
1630             {"ino", ProtoSchemaType::kUint64},
1631             {"lblk", ProtoSchemaType::kUint32},
1632             {"len", ProtoSchemaType::kUint32},
1633             {"pblk", ProtoSchemaType::kUint64},
1634             {"status", ProtoSchemaType::kUint64},
1635         },
1636     },
1637     {
1638         "ext4_es_lookup_extent_enter",
1639         3,
1640         {
1641             {},
1642             {"dev", ProtoSchemaType::kUint64},
1643             {"ino", ProtoSchemaType::kUint64},
1644             {"lblk", ProtoSchemaType::kUint32},
1645         },
1646     },
1647     {
1648         "ext4_es_lookup_extent_exit",
1649         7,
1650         {
1651             {},
1652             {"dev", ProtoSchemaType::kUint64},
1653             {"ino", ProtoSchemaType::kUint64},
1654             {"lblk", ProtoSchemaType::kUint32},
1655             {"len", ProtoSchemaType::kUint32},
1656             {"pblk", ProtoSchemaType::kUint64},
1657             {"status", ProtoSchemaType::kUint64},
1658             {"found", ProtoSchemaType::kInt32},
1659         },
1660     },
1661     {
1662         "ext4_es_remove_extent",
1663         4,
1664         {
1665             {},
1666             {"dev", ProtoSchemaType::kUint64},
1667             {"ino", ProtoSchemaType::kUint64},
1668             {"lblk", ProtoSchemaType::kInt64},
1669             {"len", ProtoSchemaType::kInt64},
1670         },
1671     },
1672     {
1673         "ext4_es_shrink",
1674         5,
1675         {
1676             {},
1677             {"dev", ProtoSchemaType::kUint64},
1678             {"nr_shrunk", ProtoSchemaType::kInt32},
1679             {"scan_time", ProtoSchemaType::kUint64},
1680             {"nr_skipped", ProtoSchemaType::kInt32},
1681             {"retried", ProtoSchemaType::kInt32},
1682         },
1683     },
1684     {
1685         "ext4_es_shrink_count",
1686         3,
1687         {
1688             {},
1689             {"dev", ProtoSchemaType::kUint64},
1690             {"nr_to_scan", ProtoSchemaType::kInt32},
1691             {"cache_cnt", ProtoSchemaType::kInt32},
1692         },
1693     },
1694     {
1695         "ext4_es_shrink_scan_enter",
1696         3,
1697         {
1698             {},
1699             {"dev", ProtoSchemaType::kUint64},
1700             {"nr_to_scan", ProtoSchemaType::kInt32},
1701             {"cache_cnt", ProtoSchemaType::kInt32},
1702         },
1703     },
1704     {
1705         "ext4_es_shrink_scan_exit",
1706         3,
1707         {
1708             {},
1709             {"dev", ProtoSchemaType::kUint64},
1710             {"nr_shrunk", ProtoSchemaType::kInt32},
1711             {"cache_cnt", ProtoSchemaType::kInt32},
1712         },
1713     },
1714     {
1715         "ext4_evict_inode",
1716         3,
1717         {
1718             {},
1719             {"dev", ProtoSchemaType::kUint64},
1720             {"ino", ProtoSchemaType::kUint64},
1721             {"nlink", ProtoSchemaType::kInt32},
1722         },
1723     },
1724     {
1725         "ext4_ext_convert_to_initialized_enter",
1726         7,
1727         {
1728             {},
1729             {"dev", ProtoSchemaType::kUint64},
1730             {"ino", ProtoSchemaType::kUint64},
1731             {"m_lblk", ProtoSchemaType::kUint32},
1732             {"m_len", ProtoSchemaType::kUint32},
1733             {"u_lblk", ProtoSchemaType::kUint32},
1734             {"u_len", ProtoSchemaType::kUint32},
1735             {"u_pblk", ProtoSchemaType::kUint64},
1736         },
1737     },
1738     {
1739         "ext4_ext_convert_to_initialized_fastpath",
1740         10,
1741         {
1742             {},
1743             {"dev", ProtoSchemaType::kUint64},
1744             {"ino", ProtoSchemaType::kUint64},
1745             {"m_lblk", ProtoSchemaType::kUint32},
1746             {"m_len", ProtoSchemaType::kUint32},
1747             {"u_lblk", ProtoSchemaType::kUint32},
1748             {"u_len", ProtoSchemaType::kUint32},
1749             {"u_pblk", ProtoSchemaType::kUint64},
1750             {"i_lblk", ProtoSchemaType::kUint32},
1751             {"i_len", ProtoSchemaType::kUint32},
1752             {"i_pblk", ProtoSchemaType::kUint64},
1753         },
1754     },
1755     {
1756         "ext4_ext_handle_unwritten_extents",
1757         8,
1758         {
1759             {},
1760             {"dev", ProtoSchemaType::kUint64},
1761             {"ino", ProtoSchemaType::kUint64},
1762             {"flags", ProtoSchemaType::kInt32},
1763             {"lblk", ProtoSchemaType::kUint32},
1764             {"pblk", ProtoSchemaType::kUint64},
1765             {"len", ProtoSchemaType::kUint32},
1766             {"allocated", ProtoSchemaType::kUint32},
1767             {"newblk", ProtoSchemaType::kUint64},
1768         },
1769     },
1770     {
1771         "ext4_ext_in_cache",
1772         4,
1773         {
1774             {},
1775             {"dev", ProtoSchemaType::kUint64},
1776             {"ino", ProtoSchemaType::kUint64},
1777             {"lblk", ProtoSchemaType::kUint32},
1778             {"ret", ProtoSchemaType::kInt32},
1779         },
1780     },
1781     {
1782         "ext4_ext_load_extent",
1783         4,
1784         {
1785             {},
1786             {"dev", ProtoSchemaType::kUint64},
1787             {"ino", ProtoSchemaType::kUint64},
1788             {"pblk", ProtoSchemaType::kUint64},
1789             {"lblk", ProtoSchemaType::kUint32},
1790         },
1791     },
1792     {
1793         "ext4_ext_map_blocks_enter",
1794         5,
1795         {
1796             {},
1797             {"dev", ProtoSchemaType::kUint64},
1798             {"ino", ProtoSchemaType::kUint64},
1799             {"lblk", ProtoSchemaType::kUint32},
1800             {"len", ProtoSchemaType::kUint32},
1801             {"flags", ProtoSchemaType::kUint32},
1802         },
1803     },
1804     {
1805         "ext4_ext_map_blocks_exit",
1806         8,
1807         {
1808             {},
1809             {"dev", ProtoSchemaType::kUint64},
1810             {"ino", ProtoSchemaType::kUint64},
1811             {"flags", ProtoSchemaType::kUint32},
1812             {"pblk", ProtoSchemaType::kUint64},
1813             {"lblk", ProtoSchemaType::kUint32},
1814             {"len", ProtoSchemaType::kUint32},
1815             {"mflags", ProtoSchemaType::kUint32},
1816             {"ret", ProtoSchemaType::kInt32},
1817         },
1818     },
1819     {
1820         "ext4_ext_put_in_cache",
1821         5,
1822         {
1823             {},
1824             {"dev", ProtoSchemaType::kUint64},
1825             {"ino", ProtoSchemaType::kUint64},
1826             {"lblk", ProtoSchemaType::kUint32},
1827             {"len", ProtoSchemaType::kUint32},
1828             {"start", ProtoSchemaType::kUint64},
1829         },
1830     },
1831     {
1832         "ext4_ext_remove_space",
1833         5,
1834         {
1835             {},
1836             {"dev", ProtoSchemaType::kUint64},
1837             {"ino", ProtoSchemaType::kUint64},
1838             {"start", ProtoSchemaType::kUint32},
1839             {"end", ProtoSchemaType::kUint32},
1840             {"depth", ProtoSchemaType::kInt32},
1841         },
1842     },
1843     {
1844         "ext4_ext_remove_space_done",
1845         10,
1846         {
1847             {},
1848             {"dev", ProtoSchemaType::kUint64},
1849             {"ino", ProtoSchemaType::kUint64},
1850             {"start", ProtoSchemaType::kUint32},
1851             {"end", ProtoSchemaType::kUint32},
1852             {"depth", ProtoSchemaType::kInt32},
1853             {"partial", ProtoSchemaType::kInt64},
1854             {"eh_entries", ProtoSchemaType::kUint32},
1855             {"pc_lblk", ProtoSchemaType::kUint32},
1856             {"pc_pclu", ProtoSchemaType::kUint64},
1857             {"pc_state", ProtoSchemaType::kInt32},
1858         },
1859     },
1860     {
1861         "ext4_ext_rm_idx",
1862         3,
1863         {
1864             {},
1865             {"dev", ProtoSchemaType::kUint64},
1866             {"ino", ProtoSchemaType::kUint64},
1867             {"pblk", ProtoSchemaType::kUint64},
1868         },
1869     },
1870     {
1871         "ext4_ext_rm_leaf",
1872         10,
1873         {
1874             {},
1875             {"dev", ProtoSchemaType::kUint64},
1876             {"ino", ProtoSchemaType::kUint64},
1877             {"partial", ProtoSchemaType::kInt64},
1878             {"start", ProtoSchemaType::kUint32},
1879             {"ee_lblk", ProtoSchemaType::kUint32},
1880             {"ee_pblk", ProtoSchemaType::kUint64},
1881             {"ee_len", ProtoSchemaType::kInt32},
1882             {"pc_lblk", ProtoSchemaType::kUint32},
1883             {"pc_pclu", ProtoSchemaType::kUint64},
1884             {"pc_state", ProtoSchemaType::kInt32},
1885         },
1886     },
1887     {
1888         "ext4_ext_show_extent",
1889         5,
1890         {
1891             {},
1892             {"dev", ProtoSchemaType::kUint64},
1893             {"ino", ProtoSchemaType::kUint64},
1894             {"pblk", ProtoSchemaType::kUint64},
1895             {"lblk", ProtoSchemaType::kUint32},
1896             {"len", ProtoSchemaType::kUint32},
1897         },
1898     },
1899     {
1900         "ext4_fallocate_enter",
1901         6,
1902         {
1903             {},
1904             {"dev", ProtoSchemaType::kUint64},
1905             {"ino", ProtoSchemaType::kUint64},
1906             {"offset", ProtoSchemaType::kInt64},
1907             {"len", ProtoSchemaType::kInt64},
1908             {"mode", ProtoSchemaType::kInt32},
1909             {"pos", ProtoSchemaType::kInt64},
1910         },
1911     },
1912     {
1913         "ext4_fallocate_exit",
1914         5,
1915         {
1916             {},
1917             {"dev", ProtoSchemaType::kUint64},
1918             {"ino", ProtoSchemaType::kUint64},
1919             {"pos", ProtoSchemaType::kInt64},
1920             {"blocks", ProtoSchemaType::kUint32},
1921             {"ret", ProtoSchemaType::kInt32},
1922         },
1923     },
1924     {
1925         "ext4_find_delalloc_range",
1926         7,
1927         {
1928             {},
1929             {"dev", ProtoSchemaType::kUint64},
1930             {"ino", ProtoSchemaType::kUint64},
1931             {"from", ProtoSchemaType::kUint32},
1932             {"to", ProtoSchemaType::kUint32},
1933             {"reverse", ProtoSchemaType::kInt32},
1934             {"found", ProtoSchemaType::kInt32},
1935             {"found_blk", ProtoSchemaType::kUint32},
1936         },
1937     },
1938     {
1939         "ext4_forget",
1940         5,
1941         {
1942             {},
1943             {"dev", ProtoSchemaType::kUint64},
1944             {"ino", ProtoSchemaType::kUint64},
1945             {"block", ProtoSchemaType::kUint64},
1946             {"is_metadata", ProtoSchemaType::kInt32},
1947             {"mode", ProtoSchemaType::kUint32},
1948         },
1949     },
1950     {
1951         "ext4_free_blocks",
1952         6,
1953         {
1954             {},
1955             {"dev", ProtoSchemaType::kUint64},
1956             {"ino", ProtoSchemaType::kUint64},
1957             {"block", ProtoSchemaType::kUint64},
1958             {"count", ProtoSchemaType::kUint64},
1959             {"flags", ProtoSchemaType::kInt32},
1960             {"mode", ProtoSchemaType::kUint32},
1961         },
1962     },
1963     {
1964         "ext4_free_inode",
1965         6,
1966         {
1967             {},
1968             {"dev", ProtoSchemaType::kUint64},
1969             {"ino", ProtoSchemaType::kUint64},
1970             {"uid", ProtoSchemaType::kUint32},
1971             {"gid", ProtoSchemaType::kUint32},
1972             {"blocks", ProtoSchemaType::kUint64},
1973             {"mode", ProtoSchemaType::kUint32},
1974         },
1975     },
1976     {
1977         "ext4_get_implied_cluster_alloc_exit",
1978         6,
1979         {
1980             {},
1981             {"dev", ProtoSchemaType::kUint64},
1982             {"flags", ProtoSchemaType::kUint32},
1983             {"lblk", ProtoSchemaType::kUint32},
1984             {"pblk", ProtoSchemaType::kUint64},
1985             {"len", ProtoSchemaType::kUint32},
1986             {"ret", ProtoSchemaType::kInt32},
1987         },
1988     },
1989     {
1990         "ext4_get_reserved_cluster_alloc",
1991         4,
1992         {
1993             {},
1994             {"dev", ProtoSchemaType::kUint64},
1995             {"ino", ProtoSchemaType::kUint64},
1996             {"lblk", ProtoSchemaType::kUint32},
1997             {"len", ProtoSchemaType::kUint32},
1998         },
1999     },
2000     {
2001         "ext4_ind_map_blocks_enter",
2002         5,
2003         {
2004             {},
2005             {"dev", ProtoSchemaType::kUint64},
2006             {"ino", ProtoSchemaType::kUint64},
2007             {"lblk", ProtoSchemaType::kUint32},
2008             {"len", ProtoSchemaType::kUint32},
2009             {"flags", ProtoSchemaType::kUint32},
2010         },
2011     },
2012     {
2013         "ext4_ind_map_blocks_exit",
2014         8,
2015         {
2016             {},
2017             {"dev", ProtoSchemaType::kUint64},
2018             {"ino", ProtoSchemaType::kUint64},
2019             {"flags", ProtoSchemaType::kUint32},
2020             {"pblk", ProtoSchemaType::kUint64},
2021             {"lblk", ProtoSchemaType::kUint32},
2022             {"len", ProtoSchemaType::kUint32},
2023             {"mflags", ProtoSchemaType::kUint32},
2024             {"ret", ProtoSchemaType::kInt32},
2025         },
2026     },
2027     {
2028         "ext4_insert_range",
2029         4,
2030         {
2031             {},
2032             {"dev", ProtoSchemaType::kUint64},
2033             {"ino", ProtoSchemaType::kUint64},
2034             {"offset", ProtoSchemaType::kInt64},
2035             {"len", ProtoSchemaType::kInt64},
2036         },
2037     },
2038     {
2039         "ext4_invalidatepage",
2040         5,
2041         {
2042             {},
2043             {"dev", ProtoSchemaType::kUint64},
2044             {"ino", ProtoSchemaType::kUint64},
2045             {"index", ProtoSchemaType::kUint64},
2046             {"offset", ProtoSchemaType::kUint64},
2047             {"length", ProtoSchemaType::kUint32},
2048         },
2049     },
2050     {
2051         "ext4_journal_start",
2052         6,
2053         {
2054             {},
2055             {"dev", ProtoSchemaType::kUint64},
2056             {"ip", ProtoSchemaType::kUint64},
2057             {"blocks", ProtoSchemaType::kInt32},
2058             {"rsv_blocks", ProtoSchemaType::kInt32},
2059             {"nblocks", ProtoSchemaType::kInt32},
2060             {"revoke_creds", ProtoSchemaType::kInt32},
2061         },
2062     },
2063     {
2064         "ext4_journal_start_reserved",
2065         3,
2066         {
2067             {},
2068             {"dev", ProtoSchemaType::kUint64},
2069             {"ip", ProtoSchemaType::kUint64},
2070             {"blocks", ProtoSchemaType::kInt32},
2071         },
2072     },
2073     {
2074         "ext4_journalled_invalidatepage",
2075         5,
2076         {
2077             {},
2078             {"dev", ProtoSchemaType::kUint64},
2079             {"ino", ProtoSchemaType::kUint64},
2080             {"index", ProtoSchemaType::kUint64},
2081             {"offset", ProtoSchemaType::kUint64},
2082             {"length", ProtoSchemaType::kUint32},
2083         },
2084     },
2085     {
2086         "ext4_journalled_write_end",
2087         5,
2088         {
2089             {},
2090             {"dev", ProtoSchemaType::kUint64},
2091             {"ino", ProtoSchemaType::kUint64},
2092             {"pos", ProtoSchemaType::kInt64},
2093             {"len", ProtoSchemaType::kUint32},
2094             {"copied", ProtoSchemaType::kUint32},
2095         },
2096     },
2097     {
2098         "ext4_load_inode",
2099         2,
2100         {
2101             {},
2102             {"dev", ProtoSchemaType::kUint64},
2103             {"ino", ProtoSchemaType::kUint64},
2104         },
2105     },
2106     {
2107         "ext4_load_inode_bitmap",
2108         2,
2109         {
2110             {},
2111             {"dev", ProtoSchemaType::kUint64},
2112             {"group", ProtoSchemaType::kUint32},
2113         },
2114     },
2115     {
2116         "ext4_mark_inode_dirty",
2117         3,
2118         {
2119             {},
2120             {"dev", ProtoSchemaType::kUint64},
2121             {"ino", ProtoSchemaType::kUint64},
2122             {"ip", ProtoSchemaType::kUint64},
2123         },
2124     },
2125     {
2126         "ext4_mb_bitmap_load",
2127         2,
2128         {
2129             {},
2130             {"dev", ProtoSchemaType::kUint64},
2131             {"group", ProtoSchemaType::kUint32},
2132         },
2133     },
2134     {
2135         "ext4_mb_buddy_bitmap_load",
2136         2,
2137         {
2138             {},
2139             {"dev", ProtoSchemaType::kUint64},
2140             {"group", ProtoSchemaType::kUint32},
2141         },
2142     },
2143     {
2144         "ext4_mb_discard_preallocations",
2145         2,
2146         {
2147             {},
2148             {"dev", ProtoSchemaType::kUint64},
2149             {"needed", ProtoSchemaType::kInt32},
2150         },
2151     },
2152     {
2153         "ext4_mb_new_group_pa",
2154         5,
2155         {
2156             {},
2157             {"dev", ProtoSchemaType::kUint64},
2158             {"ino", ProtoSchemaType::kUint64},
2159             {"pa_pstart", ProtoSchemaType::kUint64},
2160             {"pa_lstart", ProtoSchemaType::kUint64},
2161             {"pa_len", ProtoSchemaType::kUint32},
2162         },
2163     },
2164     {
2165         "ext4_mb_new_inode_pa",
2166         5,
2167         {
2168             {},
2169             {"dev", ProtoSchemaType::kUint64},
2170             {"ino", ProtoSchemaType::kUint64},
2171             {"pa_pstart", ProtoSchemaType::kUint64},
2172             {"pa_lstart", ProtoSchemaType::kUint64},
2173             {"pa_len", ProtoSchemaType::kUint32},
2174         },
2175     },
2176     {
2177         "ext4_mb_release_group_pa",
2178         3,
2179         {
2180             {},
2181             {"dev", ProtoSchemaType::kUint64},
2182             {"pa_pstart", ProtoSchemaType::kUint64},
2183             {"pa_len", ProtoSchemaType::kUint32},
2184         },
2185     },
2186     {
2187         "ext4_mb_release_inode_pa",
2188         4,
2189         {
2190             {},
2191             {"dev", ProtoSchemaType::kUint64},
2192             {"ino", ProtoSchemaType::kUint64},
2193             {"block", ProtoSchemaType::kUint64},
2194             {"count", ProtoSchemaType::kUint32},
2195         },
2196     },
2197     {
2198         "ext4_mballoc_alloc",
2199         20,
2200         {
2201             {},
2202             {"dev", ProtoSchemaType::kUint64},
2203             {"ino", ProtoSchemaType::kUint64},
2204             {"orig_logical", ProtoSchemaType::kUint32},
2205             {"orig_start", ProtoSchemaType::kInt32},
2206             {"orig_group", ProtoSchemaType::kUint32},
2207             {"orig_len", ProtoSchemaType::kInt32},
2208             {"goal_logical", ProtoSchemaType::kUint32},
2209             {"goal_start", ProtoSchemaType::kInt32},
2210             {"goal_group", ProtoSchemaType::kUint32},
2211             {"goal_len", ProtoSchemaType::kInt32},
2212             {"result_logical", ProtoSchemaType::kUint32},
2213             {"result_start", ProtoSchemaType::kInt32},
2214             {"result_group", ProtoSchemaType::kUint32},
2215             {"result_len", ProtoSchemaType::kInt32},
2216             {"found", ProtoSchemaType::kUint32},
2217             {"groups", ProtoSchemaType::kUint32},
2218             {"buddy", ProtoSchemaType::kUint32},
2219             {"flags", ProtoSchemaType::kUint32},
2220             {"tail", ProtoSchemaType::kUint32},
2221             {"cr", ProtoSchemaType::kUint32},
2222         },
2223     },
2224     {
2225         "ext4_mballoc_discard",
2226         5,
2227         {
2228             {},
2229             {"dev", ProtoSchemaType::kUint64},
2230             {"ino", ProtoSchemaType::kUint64},
2231             {"result_start", ProtoSchemaType::kInt32},
2232             {"result_group", ProtoSchemaType::kUint32},
2233             {"result_len", ProtoSchemaType::kInt32},
2234         },
2235     },
2236     {
2237         "ext4_mballoc_free",
2238         5,
2239         {
2240             {},
2241             {"dev", ProtoSchemaType::kUint64},
2242             {"ino", ProtoSchemaType::kUint64},
2243             {"result_start", ProtoSchemaType::kInt32},
2244             {"result_group", ProtoSchemaType::kUint32},
2245             {"result_len", ProtoSchemaType::kInt32},
2246         },
2247     },
2248     {
2249         "ext4_mballoc_prealloc",
2250         10,
2251         {
2252             {},
2253             {"dev", ProtoSchemaType::kUint64},
2254             {"ino", ProtoSchemaType::kUint64},
2255             {"orig_logical", ProtoSchemaType::kUint32},
2256             {"orig_start", ProtoSchemaType::kInt32},
2257             {"orig_group", ProtoSchemaType::kUint32},
2258             {"orig_len", ProtoSchemaType::kInt32},
2259             {"result_logical", ProtoSchemaType::kUint32},
2260             {"result_start", ProtoSchemaType::kInt32},
2261             {"result_group", ProtoSchemaType::kUint32},
2262             {"result_len", ProtoSchemaType::kInt32},
2263         },
2264     },
2265     {
2266         "ext4_other_inode_update_time",
2267         6,
2268         {
2269             {},
2270             {"dev", ProtoSchemaType::kUint64},
2271             {"ino", ProtoSchemaType::kUint64},
2272             {"orig_ino", ProtoSchemaType::kUint64},
2273             {"uid", ProtoSchemaType::kUint32},
2274             {"gid", ProtoSchemaType::kUint32},
2275             {"mode", ProtoSchemaType::kUint32},
2276         },
2277     },
2278     {
2279         "ext4_punch_hole",
2280         5,
2281         {
2282             {},
2283             {"dev", ProtoSchemaType::kUint64},
2284             {"ino", ProtoSchemaType::kUint64},
2285             {"offset", ProtoSchemaType::kInt64},
2286             {"len", ProtoSchemaType::kInt64},
2287             {"mode", ProtoSchemaType::kInt32},
2288         },
2289     },
2290     {
2291         "ext4_read_block_bitmap_load",
2292         3,
2293         {
2294             {},
2295             {"dev", ProtoSchemaType::kUint64},
2296             {"group", ProtoSchemaType::kUint32},
2297             {"prefetch", ProtoSchemaType::kUint32},
2298         },
2299     },
2300     {
2301         "ext4_readpage",
2302         3,
2303         {
2304             {},
2305             {"dev", ProtoSchemaType::kUint64},
2306             {"ino", ProtoSchemaType::kUint64},
2307             {"index", ProtoSchemaType::kUint64},
2308         },
2309     },
2310     {
2311         "ext4_releasepage",
2312         3,
2313         {
2314             {},
2315             {"dev", ProtoSchemaType::kUint64},
2316             {"ino", ProtoSchemaType::kUint64},
2317             {"index", ProtoSchemaType::kUint64},
2318         },
2319     },
2320     {
2321         "ext4_remove_blocks",
2322         11,
2323         {
2324             {},
2325             {"dev", ProtoSchemaType::kUint64},
2326             {"ino", ProtoSchemaType::kUint64},
2327             {"from", ProtoSchemaType::kUint32},
2328             {"to", ProtoSchemaType::kUint32},
2329             {"partial", ProtoSchemaType::kInt64},
2330             {"ee_pblk", ProtoSchemaType::kUint64},
2331             {"ee_lblk", ProtoSchemaType::kUint32},
2332             {"ee_len", ProtoSchemaType::kUint32},
2333             {"pc_lblk", ProtoSchemaType::kUint32},
2334             {"pc_pclu", ProtoSchemaType::kUint64},
2335             {"pc_state", ProtoSchemaType::kInt32},
2336         },
2337     },
2338     {
2339         "ext4_request_blocks",
2340         10,
2341         {
2342             {},
2343             {"dev", ProtoSchemaType::kUint64},
2344             {"ino", ProtoSchemaType::kUint64},
2345             {"len", ProtoSchemaType::kUint32},
2346             {"logical", ProtoSchemaType::kUint32},
2347             {"lleft", ProtoSchemaType::kUint32},
2348             {"lright", ProtoSchemaType::kUint32},
2349             {"goal", ProtoSchemaType::kUint64},
2350             {"pleft", ProtoSchemaType::kUint64},
2351             {"pright", ProtoSchemaType::kUint64},
2352             {"flags", ProtoSchemaType::kUint32},
2353         },
2354     },
2355     {
2356         "ext4_request_inode",
2357         3,
2358         {
2359             {},
2360             {"dev", ProtoSchemaType::kUint64},
2361             {"dir", ProtoSchemaType::kUint64},
2362             {"mode", ProtoSchemaType::kUint32},
2363         },
2364     },
2365     {
2366         "ext4_sync_fs",
2367         2,
2368         {
2369             {},
2370             {"dev", ProtoSchemaType::kUint64},
2371             {"wait", ProtoSchemaType::kInt32},
2372         },
2373     },
2374     {
2375         "ext4_trim_all_free",
2376         5,
2377         {
2378             {},
2379             {"dev_major", ProtoSchemaType::kInt32},
2380             {"dev_minor", ProtoSchemaType::kInt32},
2381             {"group", ProtoSchemaType::kUint32},
2382             {"start", ProtoSchemaType::kInt32},
2383             {"len", ProtoSchemaType::kInt32},
2384         },
2385     },
2386     {
2387         "ext4_trim_extent",
2388         5,
2389         {
2390             {},
2391             {"dev_major", ProtoSchemaType::kInt32},
2392             {"dev_minor", ProtoSchemaType::kInt32},
2393             {"group", ProtoSchemaType::kUint32},
2394             {"start", ProtoSchemaType::kInt32},
2395             {"len", ProtoSchemaType::kInt32},
2396         },
2397     },
2398     {
2399         "ext4_truncate_enter",
2400         3,
2401         {
2402             {},
2403             {"dev", ProtoSchemaType::kUint64},
2404             {"ino", ProtoSchemaType::kUint64},
2405             {"blocks", ProtoSchemaType::kUint64},
2406         },
2407     },
2408     {
2409         "ext4_truncate_exit",
2410         3,
2411         {
2412             {},
2413             {"dev", ProtoSchemaType::kUint64},
2414             {"ino", ProtoSchemaType::kUint64},
2415             {"blocks", ProtoSchemaType::kUint64},
2416         },
2417     },
2418     {
2419         "ext4_unlink_enter",
2420         4,
2421         {
2422             {},
2423             {"dev", ProtoSchemaType::kUint64},
2424             {"ino", ProtoSchemaType::kUint64},
2425             {"parent", ProtoSchemaType::kUint64},
2426             {"size", ProtoSchemaType::kInt64},
2427         },
2428     },
2429     {
2430         "ext4_unlink_exit",
2431         3,
2432         {
2433             {},
2434             {"dev", ProtoSchemaType::kUint64},
2435             {"ino", ProtoSchemaType::kUint64},
2436             {"ret", ProtoSchemaType::kInt32},
2437         },
2438     },
2439     {
2440         "ext4_write_begin",
2441         5,
2442         {
2443             {},
2444             {"dev", ProtoSchemaType::kUint64},
2445             {"ino", ProtoSchemaType::kUint64},
2446             {"pos", ProtoSchemaType::kInt64},
2447             {"len", ProtoSchemaType::kUint32},
2448             {"flags", ProtoSchemaType::kUint32},
2449         },
2450     },
2451     {nullptr, 0, {}},
2452     {nullptr, 0, {}},
2453     {nullptr, 0, {}},
2454     {nullptr, 0, {}},
2455     {nullptr, 0, {}},
2456     {nullptr, 0, {}},
2457     {nullptr, 0, {}},
2458     {nullptr, 0, {}},
2459     {nullptr, 0, {}},
2460     {nullptr, 0, {}},
2461     {
2462         "ext4_write_end",
2463         5,
2464         {
2465             {},
2466             {"dev", ProtoSchemaType::kUint64},
2467             {"ino", ProtoSchemaType::kUint64},
2468             {"pos", ProtoSchemaType::kInt64},
2469             {"len", ProtoSchemaType::kUint32},
2470             {"copied", ProtoSchemaType::kUint32},
2471         },
2472     },
2473     {
2474         "ext4_writepage",
2475         3,
2476         {
2477             {},
2478             {"dev", ProtoSchemaType::kUint64},
2479             {"ino", ProtoSchemaType::kUint64},
2480             {"index", ProtoSchemaType::kUint64},
2481         },
2482     },
2483     {
2484         "ext4_writepages",
2485         10,
2486         {
2487             {},
2488             {"dev", ProtoSchemaType::kUint64},
2489             {"ino", ProtoSchemaType::kUint64},
2490             {"nr_to_write", ProtoSchemaType::kInt64},
2491             {"pages_skipped", ProtoSchemaType::kInt64},
2492             {"range_start", ProtoSchemaType::kInt64},
2493             {"range_end", ProtoSchemaType::kInt64},
2494             {"writeback_index", ProtoSchemaType::kUint64},
2495             {"sync_mode", ProtoSchemaType::kInt32},
2496             {"for_kupdate", ProtoSchemaType::kUint32},
2497             {"range_cyclic", ProtoSchemaType::kUint32},
2498         },
2499     },
2500     {
2501         "ext4_writepages_result",
2502         7,
2503         {
2504             {},
2505             {"dev", ProtoSchemaType::kUint64},
2506             {"ino", ProtoSchemaType::kUint64},
2507             {"ret", ProtoSchemaType::kInt32},
2508             {"pages_written", ProtoSchemaType::kInt32},
2509             {"pages_skipped", ProtoSchemaType::kInt64},
2510             {"writeback_index", ProtoSchemaType::kUint64},
2511             {"sync_mode", ProtoSchemaType::kInt32},
2512         },
2513     },
2514     {
2515         "ext4_zero_range",
2516         5,
2517         {
2518             {},
2519             {"dev", ProtoSchemaType::kUint64},
2520             {"ino", ProtoSchemaType::kUint64},
2521             {"offset", ProtoSchemaType::kInt64},
2522             {"len", ProtoSchemaType::kInt64},
2523             {"mode", ProtoSchemaType::kInt32},
2524         },
2525     },
2526     {
2527         "task_newtask",
2528         4,
2529         {
2530             {},
2531             {"pid", ProtoSchemaType::kInt32},
2532             {"comm", ProtoSchemaType::kString},
2533             {"clone_flags", ProtoSchemaType::kUint64},
2534             {"oom_score_adj", ProtoSchemaType::kInt32},
2535         },
2536     },
2537     {
2538         "task_rename",
2539         4,
2540         {
2541             {},
2542             {"pid", ProtoSchemaType::kInt32},
2543             {"oldcomm", ProtoSchemaType::kString},
2544             {"newcomm", ProtoSchemaType::kString},
2545             {"oom_score_adj", ProtoSchemaType::kInt32},
2546         },
2547     },
2548     {
2549         "sched_process_exec",
2550         3,
2551         {
2552             {},
2553             {"filename", ProtoSchemaType::kString},
2554             {"pid", ProtoSchemaType::kInt32},
2555             {"old_pid", ProtoSchemaType::kInt32},
2556         },
2557     },
2558     {
2559         "sched_process_exit",
2560         4,
2561         {
2562             {},
2563             {"comm", ProtoSchemaType::kString},
2564             {"pid", ProtoSchemaType::kInt32},
2565             {"tgid", ProtoSchemaType::kInt32},
2566             {"prio", ProtoSchemaType::kInt32},
2567         },
2568     },
2569     {
2570         "sched_process_fork",
2571         4,
2572         {
2573             {},
2574             {"parent_comm", ProtoSchemaType::kString},
2575             {"parent_pid", ProtoSchemaType::kInt32},
2576             {"child_comm", ProtoSchemaType::kString},
2577             {"child_pid", ProtoSchemaType::kInt32},
2578         },
2579     },
2580     {
2581         "sched_process_free",
2582         3,
2583         {
2584             {},
2585             {"comm", ProtoSchemaType::kString},
2586             {"pid", ProtoSchemaType::kInt32},
2587             {"prio", ProtoSchemaType::kInt32},
2588         },
2589     },
2590     {
2591         "sched_process_hang",
2592         2,
2593         {
2594             {},
2595             {"comm", ProtoSchemaType::kString},
2596             {"pid", ProtoSchemaType::kInt32},
2597         },
2598     },
2599     {
2600         "sched_process_wait",
2601         3,
2602         {
2603             {},
2604             {"comm", ProtoSchemaType::kString},
2605             {"pid", ProtoSchemaType::kInt32},
2606             {"prio", ProtoSchemaType::kInt32},
2607         },
2608     },
2609     {
2610         "f2fs_do_submit_bio",
2611         5,
2612         {
2613             {},
2614             {"dev", ProtoSchemaType::kUint64},
2615             {"btype", ProtoSchemaType::kInt32},
2616             {"sync", ProtoSchemaType::kUint32},
2617             {"sector", ProtoSchemaType::kUint64},
2618             {"size", ProtoSchemaType::kUint32},
2619         },
2620     },
2621     {
2622         "f2fs_evict_inode",
2623         8,
2624         {
2625             {},
2626             {"dev", ProtoSchemaType::kUint64},
2627             {"ino", ProtoSchemaType::kUint64},
2628             {"pino", ProtoSchemaType::kUint64},
2629             {"mode", ProtoSchemaType::kUint32},
2630             {"size", ProtoSchemaType::kInt64},
2631             {"nlink", ProtoSchemaType::kUint32},
2632             {"blocks", ProtoSchemaType::kUint64},
2633             {"advise", ProtoSchemaType::kUint32},
2634         },
2635     },
2636     {
2637         "f2fs_fallocate",
2638         8,
2639         {
2640             {},
2641             {"dev", ProtoSchemaType::kUint64},
2642             {"ino", ProtoSchemaType::kUint64},
2643             {"mode", ProtoSchemaType::kInt32},
2644             {"offset", ProtoSchemaType::kInt64},
2645             {"len", ProtoSchemaType::kInt64},
2646             {"size", ProtoSchemaType::kInt64},
2647             {"blocks", ProtoSchemaType::kUint64},
2648             {"ret", ProtoSchemaType::kInt32},
2649         },
2650     },
2651     {
2652         "f2fs_get_data_block",
2653         6,
2654         {
2655             {},
2656             {"dev", ProtoSchemaType::kUint64},
2657             {"ino", ProtoSchemaType::kUint64},
2658             {"iblock", ProtoSchemaType::kUint64},
2659             {"bh_start", ProtoSchemaType::kUint64},
2660             {"bh_size", ProtoSchemaType::kUint64},
2661             {"ret", ProtoSchemaType::kInt32},
2662         },
2663     },
2664     {
2665         "f2fs_get_victim",
2666         11,
2667         {
2668             {},
2669             {"dev", ProtoSchemaType::kUint64},
2670             {"type", ProtoSchemaType::kInt32},
2671             {"gc_type", ProtoSchemaType::kInt32},
2672             {"alloc_mode", ProtoSchemaType::kInt32},
2673             {"gc_mode", ProtoSchemaType::kInt32},
2674             {"victim", ProtoSchemaType::kUint32},
2675             {"ofs_unit", ProtoSchemaType::kUint32},
2676             {"pre_victim", ProtoSchemaType::kUint32},
2677             {"prefree", ProtoSchemaType::kUint32},
2678             {"free", ProtoSchemaType::kUint32},
2679             {"cost", ProtoSchemaType::kUint32},
2680         },
2681     },
2682     {
2683         "f2fs_iget",
2684         8,
2685         {
2686             {},
2687             {"dev", ProtoSchemaType::kUint64},
2688             {"ino", ProtoSchemaType::kUint64},
2689             {"pino", ProtoSchemaType::kUint64},
2690             {"mode", ProtoSchemaType::kUint32},
2691             {"size", ProtoSchemaType::kInt64},
2692             {"nlink", ProtoSchemaType::kUint32},
2693             {"blocks", ProtoSchemaType::kUint64},
2694             {"advise", ProtoSchemaType::kUint32},
2695         },
2696     },
2697     {
2698         "f2fs_iget_exit",
2699         3,
2700         {
2701             {},
2702             {"dev", ProtoSchemaType::kUint64},
2703             {"ino", ProtoSchemaType::kUint64},
2704             {"ret", ProtoSchemaType::kInt32},
2705         },
2706     },
2707     {
2708         "f2fs_new_inode",
2709         3,
2710         {
2711             {},
2712             {"dev", ProtoSchemaType::kUint64},
2713             {"ino", ProtoSchemaType::kUint64},
2714             {"ret", ProtoSchemaType::kInt32},
2715         },
2716     },
2717     {
2718         "f2fs_readpage",
2719         8,
2720         {
2721             {},
2722             {"dev", ProtoSchemaType::kUint64},
2723             {"ino", ProtoSchemaType::kUint64},
2724             {"index", ProtoSchemaType::kUint64},
2725             {"blkaddr", ProtoSchemaType::kUint64},
2726             {"type", ProtoSchemaType::kInt32},
2727             {"dir", ProtoSchemaType::kInt32},
2728             {"dirty", ProtoSchemaType::kInt32},
2729             {"uptodate", ProtoSchemaType::kInt32},
2730         },
2731     },
2732     {
2733         "f2fs_reserve_new_block",
2734         3,
2735         {
2736             {},
2737             {"dev", ProtoSchemaType::kUint64},
2738             {"nid", ProtoSchemaType::kUint32},
2739             {"ofs_in_node", ProtoSchemaType::kUint32},
2740         },
2741     },
2742     {
2743         "f2fs_set_page_dirty",
2744         7,
2745         {
2746             {},
2747             {"dev", ProtoSchemaType::kUint64},
2748             {"ino", ProtoSchemaType::kUint64},
2749             {"type", ProtoSchemaType::kInt32},
2750             {"dir", ProtoSchemaType::kInt32},
2751             {"index", ProtoSchemaType::kUint64},
2752             {"dirty", ProtoSchemaType::kInt32},
2753             {"uptodate", ProtoSchemaType::kInt32},
2754         },
2755     },
2756     {
2757         "f2fs_submit_write_page",
2758         5,
2759         {
2760             {},
2761             {"dev", ProtoSchemaType::kUint64},
2762             {"ino", ProtoSchemaType::kUint64},
2763             {"type", ProtoSchemaType::kInt32},
2764             {"index", ProtoSchemaType::kUint64},
2765             {"block", ProtoSchemaType::kUint32},
2766         },
2767     },
2768     {
2769         "f2fs_sync_file_enter",
2770         8,
2771         {
2772             {},
2773             {"dev", ProtoSchemaType::kUint64},
2774             {"ino", ProtoSchemaType::kUint64},
2775             {"pino", ProtoSchemaType::kUint64},
2776             {"mode", ProtoSchemaType::kUint32},
2777             {"size", ProtoSchemaType::kInt64},
2778             {"nlink", ProtoSchemaType::kUint32},
2779             {"blocks", ProtoSchemaType::kUint64},
2780             {"advise", ProtoSchemaType::kUint32},
2781         },
2782     },
2783     {
2784         "f2fs_sync_file_exit",
2785         6,
2786         {
2787             {},
2788             {"dev", ProtoSchemaType::kUint64},
2789             {"ino", ProtoSchemaType::kUint64},
2790             {"need_cp", ProtoSchemaType::kUint32},
2791             {"datasync", ProtoSchemaType::kInt32},
2792             {"ret", ProtoSchemaType::kInt32},
2793             {"cp_reason", ProtoSchemaType::kInt32},
2794         },
2795     },
2796     {
2797         "f2fs_sync_fs",
2798         3,
2799         {
2800             {},
2801             {"dev", ProtoSchemaType::kUint64},
2802             {"dirty", ProtoSchemaType::kInt32},
2803             {"wait", ProtoSchemaType::kInt32},
2804         },
2805     },
2806     {
2807         "f2fs_truncate",
2808         8,
2809         {
2810             {},
2811             {"dev", ProtoSchemaType::kUint64},
2812             {"ino", ProtoSchemaType::kUint64},
2813             {"pino", ProtoSchemaType::kUint64},
2814             {"mode", ProtoSchemaType::kUint32},
2815             {"size", ProtoSchemaType::kInt64},
2816             {"nlink", ProtoSchemaType::kUint32},
2817             {"blocks", ProtoSchemaType::kUint64},
2818             {"advise", ProtoSchemaType::kUint32},
2819         },
2820     },
2821     {
2822         "f2fs_truncate_blocks_enter",
2823         5,
2824         {
2825             {},
2826             {"dev", ProtoSchemaType::kUint64},
2827             {"ino", ProtoSchemaType::kUint64},
2828             {"size", ProtoSchemaType::kInt64},
2829             {"blocks", ProtoSchemaType::kUint64},
2830             {"from", ProtoSchemaType::kUint64},
2831         },
2832     },
2833     {
2834         "f2fs_truncate_blocks_exit",
2835         3,
2836         {
2837             {},
2838             {"dev", ProtoSchemaType::kUint64},
2839             {"ino", ProtoSchemaType::kUint64},
2840             {"ret", ProtoSchemaType::kInt32},
2841         },
2842     },
2843     {
2844         "f2fs_truncate_data_blocks_range",
2845         5,
2846         {
2847             {},
2848             {"dev", ProtoSchemaType::kUint64},
2849             {"ino", ProtoSchemaType::kUint64},
2850             {"nid", ProtoSchemaType::kUint32},
2851             {"ofs", ProtoSchemaType::kUint32},
2852             {"free", ProtoSchemaType::kInt32},
2853         },
2854     },
2855     {
2856         "f2fs_truncate_inode_blocks_enter",
2857         5,
2858         {
2859             {},
2860             {"dev", ProtoSchemaType::kUint64},
2861             {"ino", ProtoSchemaType::kUint64},
2862             {"size", ProtoSchemaType::kInt64},
2863             {"blocks", ProtoSchemaType::kUint64},
2864             {"from", ProtoSchemaType::kUint64},
2865         },
2866     },
2867     {
2868         "f2fs_truncate_inode_blocks_exit",
2869         3,
2870         {
2871             {},
2872             {"dev", ProtoSchemaType::kUint64},
2873             {"ino", ProtoSchemaType::kUint64},
2874             {"ret", ProtoSchemaType::kInt32},
2875         },
2876     },
2877     {
2878         "f2fs_truncate_node",
2879         4,
2880         {
2881             {},
2882             {"dev", ProtoSchemaType::kUint64},
2883             {"ino", ProtoSchemaType::kUint64},
2884             {"nid", ProtoSchemaType::kUint32},
2885             {"blk_addr", ProtoSchemaType::kUint32},
2886         },
2887     },
2888     {
2889         "f2fs_truncate_nodes_enter",
2890         4,
2891         {
2892             {},
2893             {"dev", ProtoSchemaType::kUint64},
2894             {"ino", ProtoSchemaType::kUint64},
2895             {"nid", ProtoSchemaType::kUint32},
2896             {"blk_addr", ProtoSchemaType::kUint32},
2897         },
2898     },
2899     {
2900         "f2fs_truncate_nodes_exit",
2901         3,
2902         {
2903             {},
2904             {"dev", ProtoSchemaType::kUint64},
2905             {"ino", ProtoSchemaType::kUint64},
2906             {"ret", ProtoSchemaType::kInt32},
2907         },
2908     },
2909     {
2910         "f2fs_truncate_partial_nodes",
2911         5,
2912         {
2913             {},
2914             {"dev", ProtoSchemaType::kUint64},
2915             {"ino", ProtoSchemaType::kUint64},
2916             {"nid", ProtoSchemaType::kUint32},
2917             {"depth", ProtoSchemaType::kInt32},
2918             {"err", ProtoSchemaType::kInt32},
2919         },
2920     },
2921     {
2922         "f2fs_unlink_enter",
2923         5,
2924         {
2925             {},
2926             {"dev", ProtoSchemaType::kUint64},
2927             {"ino", ProtoSchemaType::kUint64},
2928             {"size", ProtoSchemaType::kInt64},
2929             {"blocks", ProtoSchemaType::kUint64},
2930             {"name", ProtoSchemaType::kString},
2931         },
2932     },
2933     {
2934         "f2fs_unlink_exit",
2935         3,
2936         {
2937             {},
2938             {"dev", ProtoSchemaType::kUint64},
2939             {"ino", ProtoSchemaType::kUint64},
2940             {"ret", ProtoSchemaType::kInt32},
2941         },
2942     },
2943     {
2944         "f2fs_vm_page_mkwrite",
2945         7,
2946         {
2947             {},
2948             {"dev", ProtoSchemaType::kUint64},
2949             {"ino", ProtoSchemaType::kUint64},
2950             {"type", ProtoSchemaType::kInt32},
2951             {"dir", ProtoSchemaType::kInt32},
2952             {"index", ProtoSchemaType::kUint64},
2953             {"dirty", ProtoSchemaType::kInt32},
2954             {"uptodate", ProtoSchemaType::kInt32},
2955         },
2956     },
2957     {
2958         "f2fs_write_begin",
2959         5,
2960         {
2961             {},
2962             {"dev", ProtoSchemaType::kUint64},
2963             {"ino", ProtoSchemaType::kUint64},
2964             {"pos", ProtoSchemaType::kInt64},
2965             {"len", ProtoSchemaType::kUint32},
2966             {"flags", ProtoSchemaType::kUint32},
2967         },
2968     },
2969     {
2970         "f2fs_write_checkpoint",
2971         4,
2972         {
2973             {},
2974             {"dev", ProtoSchemaType::kUint64},
2975             {"is_umount", ProtoSchemaType::kUint32},
2976             {"msg", ProtoSchemaType::kString},
2977             {"reason", ProtoSchemaType::kInt32},
2978         },
2979     },
2980     {
2981         "f2fs_write_end",
2982         5,
2983         {
2984             {},
2985             {"dev", ProtoSchemaType::kUint64},
2986             {"ino", ProtoSchemaType::kUint64},
2987             {"pos", ProtoSchemaType::kInt64},
2988             {"len", ProtoSchemaType::kUint32},
2989             {"copied", ProtoSchemaType::kUint32},
2990         },
2991     },
2992     {
2993         "alloc_pages_iommu_end",
2994         2,
2995         {
2996             {},
2997             {"gfp_flags", ProtoSchemaType::kUint32},
2998             {"order", ProtoSchemaType::kUint32},
2999         },
3000     },
3001     {
3002         "alloc_pages_iommu_fail",
3003         2,
3004         {
3005             {},
3006             {"gfp_flags", ProtoSchemaType::kUint32},
3007             {"order", ProtoSchemaType::kUint32},
3008         },
3009     },
3010     {
3011         "alloc_pages_iommu_start",
3012         2,
3013         {
3014             {},
3015             {"gfp_flags", ProtoSchemaType::kUint32},
3016             {"order", ProtoSchemaType::kUint32},
3017         },
3018     },
3019     {
3020         "alloc_pages_sys_end",
3021         2,
3022         {
3023             {},
3024             {"gfp_flags", ProtoSchemaType::kUint32},
3025             {"order", ProtoSchemaType::kUint32},
3026         },
3027     },
3028     {
3029         "alloc_pages_sys_fail",
3030         2,
3031         {
3032             {},
3033             {"gfp_flags", ProtoSchemaType::kUint32},
3034             {"order", ProtoSchemaType::kUint32},
3035         },
3036     },
3037     {
3038         "alloc_pages_sys_start",
3039         2,
3040         {
3041             {},
3042             {"gfp_flags", ProtoSchemaType::kUint32},
3043             {"order", ProtoSchemaType::kUint32},
3044         },
3045     },
3046     {
3047         "dma_alloc_contiguous_retry",
3048         1,
3049         {
3050             {},
3051             {"tries", ProtoSchemaType::kInt32},
3052         },
3053     },
3054     {
3055         "iommu_map_range",
3056         4,
3057         {
3058             {},
3059             {"chunk_size", ProtoSchemaType::kUint64},
3060             {"len", ProtoSchemaType::kUint64},
3061             {"pa", ProtoSchemaType::kUint64},
3062             {"va", ProtoSchemaType::kUint64},
3063         },
3064     },
3065     {
3066         "iommu_sec_ptbl_map_range_end",
3067         5,
3068         {
3069             {},
3070             {"len", ProtoSchemaType::kUint64},
3071             {"num", ProtoSchemaType::kInt32},
3072             {"pa", ProtoSchemaType::kUint32},
3073             {"sec_id", ProtoSchemaType::kInt32},
3074             {"va", ProtoSchemaType::kUint64},
3075         },
3076     },
3077     {
3078         "iommu_sec_ptbl_map_range_start",
3079         5,
3080         {
3081             {},
3082             {"len", ProtoSchemaType::kUint64},
3083             {"num", ProtoSchemaType::kInt32},
3084             {"pa", ProtoSchemaType::kUint32},
3085             {"sec_id", ProtoSchemaType::kInt32},
3086             {"va", ProtoSchemaType::kUint64},
3087         },
3088     },
3089     {
3090         "ion_alloc_buffer_end",
3091         5,
3092         {
3093             {},
3094             {"client_name", ProtoSchemaType::kString},
3095             {"flags", ProtoSchemaType::kUint32},
3096             {"heap_name", ProtoSchemaType::kString},
3097             {"len", ProtoSchemaType::kUint64},
3098             {"mask", ProtoSchemaType::kUint32},
3099         },
3100     },
3101     {
3102         "ion_alloc_buffer_fail",
3103         6,
3104         {
3105             {},
3106             {"client_name", ProtoSchemaType::kString},
3107             {"error", ProtoSchemaType::kInt64},
3108             {"flags", ProtoSchemaType::kUint32},
3109             {"heap_name", ProtoSchemaType::kString},
3110             {"len", ProtoSchemaType::kUint64},
3111             {"mask", ProtoSchemaType::kUint32},
3112         },
3113     },
3114     {
3115         "ion_alloc_buffer_fallback",
3116         6,
3117         {
3118             {},
3119             {"client_name", ProtoSchemaType::kString},
3120             {"error", ProtoSchemaType::kInt64},
3121             {"flags", ProtoSchemaType::kUint32},
3122             {"heap_name", ProtoSchemaType::kString},
3123             {"len", ProtoSchemaType::kUint64},
3124             {"mask", ProtoSchemaType::kUint32},
3125         },
3126     },
3127     {
3128         "ion_alloc_buffer_start",
3129         5,
3130         {
3131             {},
3132             {"client_name", ProtoSchemaType::kString},
3133             {"flags", ProtoSchemaType::kUint32},
3134             {"heap_name", ProtoSchemaType::kString},
3135             {"len", ProtoSchemaType::kUint64},
3136             {"mask", ProtoSchemaType::kUint32},
3137         },
3138     },
3139     {
3140         "ion_cp_alloc_retry",
3141         1,
3142         {
3143             {},
3144             {"tries", ProtoSchemaType::kInt32},
3145         },
3146     },
3147     {
3148         "ion_cp_secure_buffer_end",
3149         4,
3150         {
3151             {},
3152             {"align", ProtoSchemaType::kUint64},
3153             {"flags", ProtoSchemaType::kUint64},
3154             {"heap_name", ProtoSchemaType::kString},
3155             {"len", ProtoSchemaType::kUint64},
3156         },
3157     },
3158     {
3159         "ion_cp_secure_buffer_start",
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_prefetching",
3171         1,
3172         {
3173             {},
3174             {"len", ProtoSchemaType::kUint64},
3175         },
3176     },
3177     {
3178         "ion_secure_cma_add_to_pool_end",
3179         3,
3180         {
3181             {},
3182             {"is_prefetch", ProtoSchemaType::kUint32},
3183             {"len", ProtoSchemaType::kUint64},
3184             {"pool_total", ProtoSchemaType::kInt32},
3185         },
3186     },
3187     {
3188         "ion_secure_cma_add_to_pool_start",
3189         3,
3190         {
3191             {},
3192             {"is_prefetch", ProtoSchemaType::kUint32},
3193             {"len", ProtoSchemaType::kUint64},
3194             {"pool_total", ProtoSchemaType::kInt32},
3195         },
3196     },
3197     {
3198         "ion_secure_cma_allocate_end",
3199         4,
3200         {
3201             {},
3202             {"align", ProtoSchemaType::kUint64},
3203             {"flags", ProtoSchemaType::kUint64},
3204             {"heap_name", ProtoSchemaType::kString},
3205             {"len", ProtoSchemaType::kUint64},
3206         },
3207     },
3208     {
3209         "ion_secure_cma_allocate_start",
3210         4,
3211         {
3212             {},
3213             {"align", ProtoSchemaType::kUint64},
3214             {"flags", ProtoSchemaType::kUint64},
3215             {"heap_name", ProtoSchemaType::kString},
3216             {"len", ProtoSchemaType::kUint64},
3217         },
3218     },
3219     {
3220         "ion_secure_cma_shrink_pool_end",
3221         2,
3222         {
3223             {},
3224             {"drained_size", ProtoSchemaType::kUint64},
3225             {"skipped_size", ProtoSchemaType::kUint64},
3226         },
3227     },
3228     {
3229         "ion_secure_cma_shrink_pool_start",
3230         2,
3231         {
3232             {},
3233             {"drained_size", ProtoSchemaType::kUint64},
3234             {"skipped_size", ProtoSchemaType::kUint64},
3235         },
3236     },
3237     {
3238         "kfree",
3239         2,
3240         {
3241             {},
3242             {"call_site", ProtoSchemaType::kUint64},
3243             {"ptr", ProtoSchemaType::kUint64},
3244         },
3245     },
3246     {
3247         "kmalloc",
3248         5,
3249         {
3250             {},
3251             {"bytes_alloc", ProtoSchemaType::kUint64},
3252             {"bytes_req", ProtoSchemaType::kUint64},
3253             {"call_site", ProtoSchemaType::kUint64},
3254             {"gfp_flags", ProtoSchemaType::kUint32},
3255             {"ptr", ProtoSchemaType::kUint64},
3256         },
3257     },
3258     {
3259         "kmalloc_node",
3260         6,
3261         {
3262             {},
3263             {"bytes_alloc", ProtoSchemaType::kUint64},
3264             {"bytes_req", ProtoSchemaType::kUint64},
3265             {"call_site", ProtoSchemaType::kUint64},
3266             {"gfp_flags", ProtoSchemaType::kUint32},
3267             {"node", ProtoSchemaType::kInt32},
3268             {"ptr", ProtoSchemaType::kUint64},
3269         },
3270     },
3271     {
3272         "kmem_cache_alloc",
3273         5,
3274         {
3275             {},
3276             {"bytes_alloc", ProtoSchemaType::kUint64},
3277             {"bytes_req", ProtoSchemaType::kUint64},
3278             {"call_site", ProtoSchemaType::kUint64},
3279             {"gfp_flags", ProtoSchemaType::kUint32},
3280             {"ptr", ProtoSchemaType::kUint64},
3281         },
3282     },
3283     {
3284         "kmem_cache_alloc_node",
3285         6,
3286         {
3287             {},
3288             {"bytes_alloc", ProtoSchemaType::kUint64},
3289             {"bytes_req", ProtoSchemaType::kUint64},
3290             {"call_site", ProtoSchemaType::kUint64},
3291             {"gfp_flags", ProtoSchemaType::kUint32},
3292             {"node", ProtoSchemaType::kInt32},
3293             {"ptr", ProtoSchemaType::kUint64},
3294         },
3295     },
3296     {
3297         "kmem_cache_free",
3298         2,
3299         {
3300             {},
3301             {"call_site", ProtoSchemaType::kUint64},
3302             {"ptr", ProtoSchemaType::kUint64},
3303         },
3304     },
3305     {
3306         "migrate_pages_end",
3307         1,
3308         {
3309             {},
3310             {"mode", ProtoSchemaType::kInt32},
3311         },
3312     },
3313     {
3314         "migrate_pages_start",
3315         1,
3316         {
3317             {},
3318             {"mode", ProtoSchemaType::kInt32},
3319         },
3320     },
3321     {
3322         "migrate_retry",
3323         1,
3324         {
3325             {},
3326             {"tries", ProtoSchemaType::kInt32},
3327         },
3328     },
3329     {
3330         "mm_page_alloc",
3331         5,
3332         {
3333             {},
3334             {"gfp_flags", ProtoSchemaType::kUint32},
3335             {"migratetype", ProtoSchemaType::kInt32},
3336             {"order", ProtoSchemaType::kUint32},
3337             {"page", ProtoSchemaType::kUint64},
3338             {"pfn", ProtoSchemaType::kUint64},
3339         },
3340     },
3341     {
3342         "mm_page_alloc_extfrag",
3343         7,
3344         {
3345             {},
3346             {"alloc_migratetype", ProtoSchemaType::kInt32},
3347             {"alloc_order", ProtoSchemaType::kInt32},
3348             {"fallback_migratetype", ProtoSchemaType::kInt32},
3349             {"fallback_order", ProtoSchemaType::kInt32},
3350             {"page", ProtoSchemaType::kUint64},
3351             {"change_ownership", ProtoSchemaType::kInt32},
3352             {"pfn", ProtoSchemaType::kUint64},
3353         },
3354     },
3355     {
3356         "mm_page_alloc_zone_locked",
3357         4,
3358         {
3359             {},
3360             {"migratetype", ProtoSchemaType::kInt32},
3361             {"order", ProtoSchemaType::kUint32},
3362             {"page", ProtoSchemaType::kUint64},
3363             {"pfn", ProtoSchemaType::kUint64},
3364         },
3365     },
3366     {
3367         "mm_page_free",
3368         3,
3369         {
3370             {},
3371             {"order", ProtoSchemaType::kUint32},
3372             {"page", ProtoSchemaType::kUint64},
3373             {"pfn", ProtoSchemaType::kUint64},
3374         },
3375     },
3376     {
3377         "mm_page_free_batched",
3378         3,
3379         {
3380             {},
3381             {"cold", ProtoSchemaType::kInt32},
3382             {"page", ProtoSchemaType::kUint64},
3383             {"pfn", ProtoSchemaType::kUint64},
3384         },
3385     },
3386     {
3387         "mm_page_pcpu_drain",
3388         4,
3389         {
3390             {},
3391             {"migratetype", ProtoSchemaType::kInt32},
3392             {"order", ProtoSchemaType::kUint32},
3393             {"page", ProtoSchemaType::kUint64},
3394             {"pfn", ProtoSchemaType::kUint64},
3395         },
3396     },
3397     {
3398         "rss_stat",
3399         4,
3400         {
3401             {},
3402             {"member", ProtoSchemaType::kInt32},
3403             {"size", ProtoSchemaType::kInt64},
3404             {"curr", ProtoSchemaType::kUint32},
3405             {"mm_id", ProtoSchemaType::kUint32},
3406         },
3407     },
3408     {
3409         "ion_heap_shrink",
3410         3,
3411         {
3412             {},
3413             {"heap_name", ProtoSchemaType::kString},
3414             {"len", ProtoSchemaType::kUint64},
3415             {"total_allocated", ProtoSchemaType::kInt64},
3416         },
3417     },
3418     {
3419         "ion_heap_grow",
3420         3,
3421         {
3422             {},
3423             {"heap_name", ProtoSchemaType::kString},
3424             {"len", ProtoSchemaType::kUint64},
3425             {"total_allocated", ProtoSchemaType::kInt64},
3426         },
3427     },
3428     {
3429         "fence_init",
3430         4,
3431         {
3432             {},
3433             {"context", ProtoSchemaType::kUint32},
3434             {"driver", ProtoSchemaType::kString},
3435             {"seqno", ProtoSchemaType::kUint32},
3436             {"timeline", ProtoSchemaType::kString},
3437         },
3438     },
3439     {
3440         "fence_destroy",
3441         4,
3442         {
3443             {},
3444             {"context", ProtoSchemaType::kUint32},
3445             {"driver", ProtoSchemaType::kString},
3446             {"seqno", ProtoSchemaType::kUint32},
3447             {"timeline", ProtoSchemaType::kString},
3448         },
3449     },
3450     {
3451         "fence_enable_signal",
3452         4,
3453         {
3454             {},
3455             {"context", ProtoSchemaType::kUint32},
3456             {"driver", ProtoSchemaType::kString},
3457             {"seqno", ProtoSchemaType::kUint32},
3458             {"timeline", ProtoSchemaType::kString},
3459         },
3460     },
3461     {
3462         "fence_signaled",
3463         4,
3464         {
3465             {},
3466             {"context", ProtoSchemaType::kUint32},
3467             {"driver", ProtoSchemaType::kString},
3468             {"seqno", ProtoSchemaType::kUint32},
3469             {"timeline", ProtoSchemaType::kString},
3470         },
3471     },
3472     {
3473         "clk_enable",
3474         1,
3475         {
3476             {},
3477             {"name", ProtoSchemaType::kString},
3478         },
3479     },
3480     {
3481         "clk_disable",
3482         1,
3483         {
3484             {},
3485             {"name", ProtoSchemaType::kString},
3486         },
3487     },
3488     {
3489         "clk_set_rate",
3490         2,
3491         {
3492             {},
3493             {"name", ProtoSchemaType::kString},
3494             {"rate", ProtoSchemaType::kUint64},
3495         },
3496     },
3497     {
3498         "binder_transaction_alloc_buf",
3499         4,
3500         {
3501             {},
3502             {"data_size", ProtoSchemaType::kUint64},
3503             {"debug_id", ProtoSchemaType::kInt32},
3504             {"offsets_size", ProtoSchemaType::kUint64},
3505             {"extra_buffers_size", ProtoSchemaType::kUint64},
3506         },
3507     },
3508     {
3509         "signal_deliver",
3510         3,
3511         {
3512             {},
3513             {"code", ProtoSchemaType::kInt32},
3514             {"sa_flags", ProtoSchemaType::kUint64},
3515             {"sig", ProtoSchemaType::kInt32},
3516         },
3517     },
3518     {
3519         "signal_generate",
3520         6,
3521         {
3522             {},
3523             {"code", ProtoSchemaType::kInt32},
3524             {"comm", ProtoSchemaType::kString},
3525             {"group", ProtoSchemaType::kInt32},
3526             {"pid", ProtoSchemaType::kInt32},
3527             {"result", ProtoSchemaType::kInt32},
3528             {"sig", ProtoSchemaType::kInt32},
3529         },
3530     },
3531     {
3532         "oom_score_adj_update",
3533         3,
3534         {
3535             {},
3536             {"comm", ProtoSchemaType::kString},
3537             {"oom_score_adj", ProtoSchemaType::kInt32},
3538             {"pid", ProtoSchemaType::kInt32},
3539         },
3540     },
3541     {
3542         "generic",
3543         2,
3544         {
3545             {},
3546             {"event_name", ProtoSchemaType::kString},
3547             {},
3548         },
3549     },
3550     {
3551         "mm_event_record",
3552         4,
3553         {
3554             {},
3555             {"avg_lat", ProtoSchemaType::kUint32},
3556             {"count", ProtoSchemaType::kUint32},
3557             {"max_lat", ProtoSchemaType::kUint32},
3558             {"type", ProtoSchemaType::kUint32},
3559         },
3560     },
3561     {
3562         "sys_enter",
3563         1,
3564         {
3565             {},
3566             {"id", ProtoSchemaType::kInt64},
3567         },
3568     },
3569     {
3570         "sys_exit",
3571         2,
3572         {
3573             {},
3574             {"id", ProtoSchemaType::kInt64},
3575             {"ret", ProtoSchemaType::kInt64},
3576         },
3577     },
3578     {
3579         "zero",
3580         4,
3581         {
3582             {},
3583             {"flag", ProtoSchemaType::kInt32},
3584             {"name", ProtoSchemaType::kString},
3585             {"pid", ProtoSchemaType::kInt32},
3586             {"value", ProtoSchemaType::kInt64},
3587         },
3588     },
3589     {
3590         "gpu_frequency",
3591         2,
3592         {
3593             {},
3594             {"gpu_id", ProtoSchemaType::kUint32},
3595             {"state", ProtoSchemaType::kUint32},
3596         },
3597     },
3598     {
3599         "sde_tracing_mark_write",
3600         5,
3601         {
3602             {},
3603             {"pid", ProtoSchemaType::kInt32},
3604             {"trace_name", ProtoSchemaType::kString},
3605             {"trace_type", ProtoSchemaType::kUint32},
3606             {"value", ProtoSchemaType::kInt32},
3607             {"trace_begin", ProtoSchemaType::kUint32},
3608         },
3609     },
3610     {
3611         "mark_victim",
3612         1,
3613         {
3614             {},
3615             {"pid", ProtoSchemaType::kInt32},
3616         },
3617     },
3618     {
3619         "ion_stat",
3620         3,
3621         {
3622             {},
3623             {"buffer_id", ProtoSchemaType::kUint32},
3624             {"len", ProtoSchemaType::kInt64},
3625             {"total_allocated", ProtoSchemaType::kUint64},
3626         },
3627     },
3628     {
3629         "ion_buffer_create",
3630         2,
3631         {
3632             {},
3633             {"addr", ProtoSchemaType::kUint64},
3634             {"len", ProtoSchemaType::kUint64},
3635         },
3636     },
3637     {
3638         "ion_buffer_destroy",
3639         2,
3640         {
3641             {},
3642             {"addr", ProtoSchemaType::kUint64},
3643             {"len", ProtoSchemaType::kUint64},
3644         },
3645     },
3646     {
3647         "scm_call_start",
3648         3,
3649         {
3650             {},
3651             {"arginfo", ProtoSchemaType::kUint32},
3652             {"x0", ProtoSchemaType::kUint64},
3653             {"x5", ProtoSchemaType::kUint64},
3654         },
3655     },
3656     {
3657         "scm_call_end",
3658         0,
3659         {
3660             {},
3661         },
3662     },
3663     {
3664         "gpu_mem_total",
3665         3,
3666         {
3667             {},
3668             {"gpu_id", ProtoSchemaType::kUint32},
3669             {"pid", ProtoSchemaType::kUint32},
3670             {"size", ProtoSchemaType::kUint64},
3671         },
3672     },
3673     {
3674         "thermal_temperature",
3675         4,
3676         {
3677             {},
3678             {"id", ProtoSchemaType::kInt32},
3679             {"temp", ProtoSchemaType::kInt32},
3680             {"temp_prev", ProtoSchemaType::kInt32},
3681             {"thermal_zone", ProtoSchemaType::kString},
3682         },
3683     },
3684     {
3685         "cdev_update",
3686         2,
3687         {
3688             {},
3689             {"target", ProtoSchemaType::kUint64},
3690             {"type", ProtoSchemaType::kString},
3691         },
3692     },
3693     {
3694         "cpuhp_exit",
3695         4,
3696         {
3697             {},
3698             {"cpu", ProtoSchemaType::kUint32},
3699             {"idx", ProtoSchemaType::kInt32},
3700             {"ret", ProtoSchemaType::kInt32},
3701             {"state", ProtoSchemaType::kInt32},
3702         },
3703     },
3704     {
3705         "cpuhp_multi_enter",
3706         4,
3707         {
3708             {},
3709             {"cpu", ProtoSchemaType::kUint32},
3710             {"fun", ProtoSchemaType::kUint64},
3711             {"idx", ProtoSchemaType::kInt32},
3712             {"target", ProtoSchemaType::kInt32},
3713         },
3714     },
3715     {
3716         "cpuhp_enter",
3717         4,
3718         {
3719             {},
3720             {"cpu", ProtoSchemaType::kUint32},
3721             {"fun", ProtoSchemaType::kUint64},
3722             {"idx", ProtoSchemaType::kInt32},
3723             {"target", ProtoSchemaType::kInt32},
3724         },
3725     },
3726     {
3727         "cpuhp_latency",
3728         4,
3729         {
3730             {},
3731             {"cpu", ProtoSchemaType::kUint32},
3732             {"ret", ProtoSchemaType::kInt32},
3733             {"state", ProtoSchemaType::kUint32},
3734             {"time", ProtoSchemaType::kUint64},
3735         },
3736     },
3737     {
3738         "fastrpc_dma_stat",
3739         3,
3740         {
3741             {},
3742             {"cid", ProtoSchemaType::kInt32},
3743             {"len", ProtoSchemaType::kInt64},
3744             {"total_allocated", ProtoSchemaType::kUint64},
3745         },
3746     },
3747     {
3748         "dpu_tracing_mark_write",
3749         6,
3750         {
3751             {},
3752             {"pid", ProtoSchemaType::kInt32},
3753             {"trace_name", ProtoSchemaType::kString},
3754             {"trace_begin", ProtoSchemaType::kUint32},
3755             {"name", ProtoSchemaType::kString},
3756             {"type", ProtoSchemaType::kUint32},
3757             {"value", ProtoSchemaType::kInt32},
3758         },
3759     },
3760     {
3761         "g2d_tracing_mark_write",
3762         6,
3763         {
3764             {},
3765             {"pid", ProtoSchemaType::kInt32},
3766             {},
3767             {},
3768             {"name", ProtoSchemaType::kString},
3769             {"type", ProtoSchemaType::kUint32},
3770             {"value", ProtoSchemaType::kInt32},
3771         },
3772     },
3773     {
3774         "mali_tracing_mark_write",
3775         4,
3776         {
3777             {},
3778             {"name", ProtoSchemaType::kString},
3779             {"pid", ProtoSchemaType::kInt32},
3780             {"type", ProtoSchemaType::kUint32},
3781             {"value", ProtoSchemaType::kInt32},
3782         },
3783     },
3784     {
3785         "dma_heap_stat",
3786         3,
3787         {
3788             {},
3789             {"inode", ProtoSchemaType::kUint64},
3790             {"len", ProtoSchemaType::kInt64},
3791             {"total_allocated", ProtoSchemaType::kUint64},
3792         },
3793     },
3794     {
3795         "cpuhp_pause",
3796         4,
3797         {
3798             {},
3799             {"active_cpus", ProtoSchemaType::kUint32},
3800             {"cpus", ProtoSchemaType::kUint32},
3801             {"pause", ProtoSchemaType::kUint32},
3802             {"time", ProtoSchemaType::kUint32},
3803         },
3804     },
3805     {
3806         "sched_pi_setprio",
3807         4,
3808         {
3809             {},
3810             {"comm", ProtoSchemaType::kString},
3811             {"newprio", ProtoSchemaType::kInt32},
3812             {"oldprio", ProtoSchemaType::kInt32},
3813             {"pid", ProtoSchemaType::kInt32},
3814         },
3815     },
3816     {
3817         "sde_sde_evtlog",
3818         3,
3819         {
3820             {},
3821             {"evtlog_tag", ProtoSchemaType::kString},
3822             {"pid", ProtoSchemaType::kInt32},
3823             {"tag_id", ProtoSchemaType::kUint32},
3824         },
3825     },
3826     {
3827         "sde_sde_perf_calc_crtc",
3828         8,
3829         {
3830             {},
3831             {"bw_ctl_ebi", ProtoSchemaType::kUint64},
3832             {"bw_ctl_llcc", ProtoSchemaType::kUint64},
3833             {"bw_ctl_mnoc", ProtoSchemaType::kUint64},
3834             {"core_clk_rate", ProtoSchemaType::kUint32},
3835             {"crtc", ProtoSchemaType::kUint32},
3836             {"ib_ebi", ProtoSchemaType::kUint64},
3837             {"ib_llcc", ProtoSchemaType::kUint64},
3838             {"ib_mnoc", ProtoSchemaType::kUint64},
3839         },
3840     },
3841     {
3842         "sde_sde_perf_crtc_update",
3843         12,
3844         {
3845             {},
3846             {"bw_ctl_ebi", ProtoSchemaType::kUint64},
3847             {"bw_ctl_llcc", ProtoSchemaType::kUint64},
3848             {"bw_ctl_mnoc", ProtoSchemaType::kUint64},
3849             {"core_clk_rate", ProtoSchemaType::kUint32},
3850             {"crtc", ProtoSchemaType::kUint32},
3851             {"params", ProtoSchemaType::kInt32},
3852             {"per_pipe_ib_ebi", ProtoSchemaType::kUint64},
3853             {"per_pipe_ib_llcc", ProtoSchemaType::kUint64},
3854             {"per_pipe_ib_mnoc", ProtoSchemaType::kUint64},
3855             {"stop_req", ProtoSchemaType::kUint32},
3856             {"update_bus", ProtoSchemaType::kUint32},
3857             {"update_clk", ProtoSchemaType::kUint32},
3858         },
3859     },
3860     {
3861         "sde_sde_perf_set_qos_luts",
3862         6,
3863         {
3864             {},
3865             {"fl", ProtoSchemaType::kUint32},
3866             {"fmt", ProtoSchemaType::kUint32},
3867             {"lut", ProtoSchemaType::kUint64},
3868             {"lut_usage", ProtoSchemaType::kUint32},
3869             {"pnum", ProtoSchemaType::kUint32},
3870             {"rt", ProtoSchemaType::kUint32},
3871         },
3872     },
3873     {
3874         "sde_sde_perf_update_bus",
3875         4,
3876         {
3877             {},
3878             {"ab_quota", ProtoSchemaType::kUint64},
3879             {"bus_id", ProtoSchemaType::kUint32},
3880             {"client", ProtoSchemaType::kInt32},
3881             {"ib_quota", ProtoSchemaType::kUint64},
3882         },
3883     },
3884     {
3885         "rss_stat_throttled",
3886         4,
3887         {
3888             {},
3889             {"curr", ProtoSchemaType::kUint32},
3890             {"member", ProtoSchemaType::kInt32},
3891             {"mm_id", ProtoSchemaType::kUint32},
3892             {"size", ProtoSchemaType::kInt64},
3893         },
3894     },
3895     {
3896         "netif_receive_skb",
3897         3,
3898         {
3899             {},
3900             {"len", ProtoSchemaType::kUint32},
3901             {"name", ProtoSchemaType::kString},
3902             {"skbaddr", ProtoSchemaType::kUint64},
3903         },
3904     },
3905     {
3906         "net_dev_xmit",
3907         4,
3908         {
3909             {},
3910             {"len", ProtoSchemaType::kUint32},
3911             {"name", ProtoSchemaType::kString},
3912             {"rc", ProtoSchemaType::kInt32},
3913             {"skbaddr", ProtoSchemaType::kUint64},
3914         },
3915     },
3916     {
3917         "inet_sock_set_state",
3918         9,
3919         {
3920             {},
3921             {"daddr", ProtoSchemaType::kUint32},
3922             {"dport", ProtoSchemaType::kUint32},
3923             {"family", ProtoSchemaType::kUint32},
3924             {"newstate", ProtoSchemaType::kInt32},
3925             {"oldstate", ProtoSchemaType::kInt32},
3926             {"protocol", ProtoSchemaType::kUint32},
3927             {"saddr", ProtoSchemaType::kUint32},
3928             {"skaddr", ProtoSchemaType::kUint64},
3929             {"sport", ProtoSchemaType::kUint32},
3930         },
3931     },
3932     {
3933         "tcp_retransmit_skb",
3934         7,
3935         {
3936             {},
3937             {"daddr", ProtoSchemaType::kUint32},
3938             {"dport", ProtoSchemaType::kUint32},
3939             {"saddr", ProtoSchemaType::kUint32},
3940             {"skaddr", ProtoSchemaType::kUint64},
3941             {"skbaddr", ProtoSchemaType::kUint64},
3942             {"sport", ProtoSchemaType::kUint32},
3943             {"state", ProtoSchemaType::kInt32},
3944         },
3945     },
3946     {
3947         "cros_ec_sensorhub_data",
3948         6,
3949         {
3950             {},
3951             {"current_time", ProtoSchemaType::kInt64},
3952             {"current_timestamp", ProtoSchemaType::kInt64},
3953             {"delta", ProtoSchemaType::kInt64},
3954             {"ec_fifo_timestamp", ProtoSchemaType::kUint32},
3955             {"ec_sensor_num", ProtoSchemaType::kUint32},
3956             {"fifo_timestamp", ProtoSchemaType::kInt64},
3957         },
3958     },
3959     {
3960         "napi_gro_receive_entry",
3961         19,
3962         {
3963             {},
3964             {"data_len", ProtoSchemaType::kUint32},
3965             {"gso_size", ProtoSchemaType::kUint32},
3966             {"gso_type", ProtoSchemaType::kUint32},
3967             {"hash", ProtoSchemaType::kUint32},
3968             {"ip_summed", ProtoSchemaType::kUint32},
3969             {"l4_hash", ProtoSchemaType::kUint32},
3970             {"len", ProtoSchemaType::kUint32},
3971             {"mac_header", ProtoSchemaType::kInt32},
3972             {"mac_header_valid", ProtoSchemaType::kUint32},
3973             {"name", ProtoSchemaType::kString},
3974             {"napi_id", ProtoSchemaType::kUint32},
3975             {"nr_frags", ProtoSchemaType::kUint32},
3976             {"protocol", ProtoSchemaType::kUint32},
3977             {"queue_mapping", ProtoSchemaType::kUint32},
3978             {"skbaddr", ProtoSchemaType::kUint64},
3979             {"truesize", ProtoSchemaType::kUint32},
3980             {"vlan_proto", ProtoSchemaType::kUint32},
3981             {"vlan_tagged", ProtoSchemaType::kUint32},
3982             {"vlan_tci", ProtoSchemaType::kUint32},
3983         },
3984     },
3985     {
3986         "napi_gro_receive_exit",
3987         1,
3988         {
3989             {},
3990             {"ret", ProtoSchemaType::kInt32},
3991         },
3992     },
3993     {
3994         "kfree_skb",
3995         3,
3996         {
3997             {},
3998             {"location", ProtoSchemaType::kUint64},
3999             {"protocol", ProtoSchemaType::kUint32},
4000             {"skbaddr", ProtoSchemaType::kUint64},
4001         },
4002     },
4003     {
4004         "kvm_access_fault",
4005         1,
4006         {
4007             {},
4008             {"ipa", ProtoSchemaType::kUint64},
4009         },
4010     },
4011     {
4012         "kvm_ack_irq",
4013         2,
4014         {
4015             {},
4016             {"irqchip", ProtoSchemaType::kUint32},
4017             {"pin", ProtoSchemaType::kUint32},
4018         },
4019     },
4020     {
4021         "kvm_age_hva",
4022         2,
4023         {
4024             {},
4025             {"end", ProtoSchemaType::kUint64},
4026             {"start", ProtoSchemaType::kUint64},
4027         },
4028     },
4029     {
4030         "kvm_age_page",
4031         4,
4032         {
4033             {},
4034             {"gfn", ProtoSchemaType::kUint64},
4035             {"hva", ProtoSchemaType::kUint64},
4036             {"level", ProtoSchemaType::kUint32},
4037             {"referenced", ProtoSchemaType::kUint32},
4038         },
4039     },
4040     {
4041         "kvm_arm_clear_debug",
4042         1,
4043         {
4044             {},
4045             {"guest_debug", ProtoSchemaType::kUint32},
4046         },
4047     },
4048     {
4049         "kvm_arm_set_dreg32",
4050         2,
4051         {
4052             {},
4053             {"name", ProtoSchemaType::kString},
4054             {"value", ProtoSchemaType::kUint32},
4055         },
4056     },
4057     {
4058         "kvm_arm_set_regset",
4059         2,
4060         {
4061             {},
4062             {"len", ProtoSchemaType::kInt32},
4063             {"name", ProtoSchemaType::kString},
4064         },
4065     },
4066     {
4067         "kvm_arm_setup_debug",
4068         2,
4069         {
4070             {},
4071             {"guest_debug", ProtoSchemaType::kUint32},
4072             {"vcpu", ProtoSchemaType::kUint64},
4073         },
4074     },
4075     {
4076         "kvm_entry",
4077         1,
4078         {
4079             {},
4080             {"vcpu_pc", ProtoSchemaType::kUint64},
4081         },
4082     },
4083     {
4084         "kvm_exit",
4085         3,
4086         {
4087             {},
4088             {"esr_ec", ProtoSchemaType::kUint32},
4089             {"ret", ProtoSchemaType::kInt32},
4090             {"vcpu_pc", ProtoSchemaType::kUint64},
4091         },
4092     },
4093     {
4094         "kvm_fpu",
4095         1,
4096         {
4097             {},
4098             {"load", ProtoSchemaType::kUint32},
4099         },
4100     },
4101     {
4102         "kvm_get_timer_map",
4103         4,
4104         {
4105             {},
4106             {"direct_ptimer", ProtoSchemaType::kInt32},
4107             {"direct_vtimer", ProtoSchemaType::kInt32},
4108             {"emul_ptimer", ProtoSchemaType::kInt32},
4109             {"vcpu_id", ProtoSchemaType::kUint64},
4110         },
4111     },
4112     {
4113         "kvm_guest_fault",
4114         4,
4115         {
4116             {},
4117             {"hsr", ProtoSchemaType::kUint64},
4118             {"hxfar", ProtoSchemaType::kUint64},
4119             {"ipa", ProtoSchemaType::kUint64},
4120             {"vcpu_pc", ProtoSchemaType::kUint64},
4121         },
4122     },
4123     {
4124         "kvm_handle_sys_reg",
4125         1,
4126         {
4127             {},
4128             {"hsr", ProtoSchemaType::kUint64},
4129         },
4130     },
4131     {
4132         "kvm_hvc_arm64",
4133         3,
4134         {
4135             {},
4136             {"imm", ProtoSchemaType::kUint64},
4137             {"r0", ProtoSchemaType::kUint64},
4138             {"vcpu_pc", ProtoSchemaType::kUint64},
4139         },
4140     },
4141     {
4142         "kvm_irq_line",
4143         4,
4144         {
4145             {},
4146             {"irq_num", ProtoSchemaType::kInt32},
4147             {"level", ProtoSchemaType::kInt32},
4148             {"type", ProtoSchemaType::kUint32},
4149             {"vcpu_idx", ProtoSchemaType::kInt32},
4150         },
4151     },
4152     {
4153         "kvm_mmio",
4154         4,
4155         {
4156             {},
4157             {"gpa", ProtoSchemaType::kUint64},
4158             {"len", ProtoSchemaType::kUint32},
4159             {"type", ProtoSchemaType::kUint32},
4160             {"val", ProtoSchemaType::kUint64},
4161         },
4162     },
4163     {
4164         "kvm_mmio_emulate",
4165         3,
4166         {
4167             {},
4168             {"cpsr", ProtoSchemaType::kUint64},
4169             {"instr", ProtoSchemaType::kUint64},
4170             {"vcpu_pc", ProtoSchemaType::kUint64},
4171         },
4172     },
4173     {
4174         "kvm_set_guest_debug",
4175         2,
4176         {
4177             {},
4178             {"guest_debug", ProtoSchemaType::kUint32},
4179             {"vcpu", ProtoSchemaType::kUint64},
4180         },
4181     },
4182     {
4183         "kvm_set_irq",
4184         3,
4185         {
4186             {},
4187             {"gsi", ProtoSchemaType::kUint32},
4188             {"irq_source_id", ProtoSchemaType::kInt32},
4189             {"level", ProtoSchemaType::kInt32},
4190         },
4191     },
4192     {
4193         "kvm_set_spte_hva",
4194         1,
4195         {
4196             {},
4197             {"hva", ProtoSchemaType::kUint64},
4198         },
4199     },
4200     {
4201         "kvm_set_way_flush",
4202         2,
4203         {
4204             {},
4205             {"cache", ProtoSchemaType::kUint32},
4206             {"vcpu_pc", ProtoSchemaType::kUint64},
4207         },
4208     },
4209     {
4210         "kvm_sys_access",
4211         8,
4212         {
4213             {},
4214             {"CRm", ProtoSchemaType::kUint32},
4215             {"CRn", ProtoSchemaType::kUint32},
4216             {"Op0", ProtoSchemaType::kUint32},
4217             {"Op1", ProtoSchemaType::kUint32},
4218             {"Op2", ProtoSchemaType::kUint32},
4219             {"is_write", ProtoSchemaType::kUint32},
4220             {"name", ProtoSchemaType::kString},
4221             {"vcpu_pc", ProtoSchemaType::kUint64},
4222         },
4223     },
4224     {
4225         "kvm_test_age_hva",
4226         1,
4227         {
4228             {},
4229             {"hva", ProtoSchemaType::kUint64},
4230         },
4231     },
4232     {
4233         "kvm_timer_emulate",
4234         2,
4235         {
4236             {},
4237             {"should_fire", ProtoSchemaType::kUint32},
4238             {"timer_idx", ProtoSchemaType::kInt32},
4239         },
4240     },
4241     {
4242         "kvm_timer_hrtimer_expire",
4243         1,
4244         {
4245             {},
4246             {"timer_idx", ProtoSchemaType::kInt32},
4247         },
4248     },
4249     {
4250         "kvm_timer_restore_state",
4251         3,
4252         {
4253             {},
4254             {"ctl", ProtoSchemaType::kUint64},
4255             {"cval", ProtoSchemaType::kUint64},
4256             {"timer_idx", ProtoSchemaType::kInt32},
4257         },
4258     },
4259     {
4260         "kvm_timer_save_state",
4261         3,
4262         {
4263             {},
4264             {"ctl", ProtoSchemaType::kUint64},
4265             {"cval", ProtoSchemaType::kUint64},
4266             {"timer_idx", ProtoSchemaType::kInt32},
4267         },
4268     },
4269     {
4270         "kvm_timer_update_irq",
4271         3,
4272         {
4273             {},
4274             {"irq", ProtoSchemaType::kUint32},
4275             {"level", ProtoSchemaType::kInt32},
4276             {"vcpu_id", ProtoSchemaType::kUint64},
4277         },
4278     },
4279     {
4280         "kvm_toggle_cache",
4281         3,
4282         {
4283             {},
4284             {"now", ProtoSchemaType::kUint32},
4285             {"vcpu_pc", ProtoSchemaType::kUint64},
4286             {"was", ProtoSchemaType::kUint32},
4287         },
4288     },
4289     {
4290         "kvm_unmap_hva_range",
4291         2,
4292         {
4293             {},
4294             {"end", ProtoSchemaType::kUint64},
4295             {"start", ProtoSchemaType::kUint64},
4296         },
4297     },
4298     {
4299         "kvm_userspace_exit",
4300         1,
4301         {
4302             {},
4303             {"reason", ProtoSchemaType::kUint32},
4304         },
4305     },
4306     {
4307         "kvm_vcpu_wakeup",
4308         3,
4309         {
4310             {},
4311             {"ns", ProtoSchemaType::kUint64},
4312             {"valid", ProtoSchemaType::kUint32},
4313             {"waited", ProtoSchemaType::kUint32},
4314         },
4315     },
4316     {
4317         "kvm_wfx_arm64",
4318         2,
4319         {
4320             {},
4321             {"is_wfe", ProtoSchemaType::kUint32},
4322             {"vcpu_pc", ProtoSchemaType::kUint64},
4323         },
4324     },
4325     {
4326         "trap_reg",
4327         4,
4328         {
4329             {},
4330             {"fn", ProtoSchemaType::kString},
4331             {"is_write", ProtoSchemaType::kUint32},
4332             {"reg", ProtoSchemaType::kInt32},
4333             {"write_value", ProtoSchemaType::kUint64},
4334         },
4335     },
4336     {
4337         "vgic_update_irq_pending",
4338         3,
4339         {
4340             {},
4341             {"irq", ProtoSchemaType::kUint32},
4342             {"level", ProtoSchemaType::kUint32},
4343             {"vcpu_id", ProtoSchemaType::kUint64},
4344         },
4345     },
4346     {
4347         "wakeup_source_activate",
4348         2,
4349         {
4350             {},
4351             {"name", ProtoSchemaType::kString},
4352             {"state", ProtoSchemaType::kUint64},
4353         },
4354     },
4355     {
4356         "wakeup_source_deactivate",
4357         2,
4358         {
4359             {},
4360             {"name", ProtoSchemaType::kString},
4361             {"state", ProtoSchemaType::kUint64},
4362         },
4363     },
4364     {
4365         "ufshcd_command",
4366         10,
4367         {
4368             {},
4369             {"dev_name", ProtoSchemaType::kString},
4370             {"doorbell", ProtoSchemaType::kUint32},
4371             {"intr", ProtoSchemaType::kUint32},
4372             {"lba", ProtoSchemaType::kUint64},
4373             {"opcode", ProtoSchemaType::kUint32},
4374             {"str", ProtoSchemaType::kString},
4375             {"tag", ProtoSchemaType::kUint32},
4376             {"transfer_len", ProtoSchemaType::kInt32},
4377             {"group_id", ProtoSchemaType::kUint32},
4378             {"str_t", ProtoSchemaType::kUint32},
4379         },
4380     },
4381     {
4382         "ufshcd_clk_gating",
4383         2,
4384         {
4385             {},
4386             {"dev_name", ProtoSchemaType::kString},
4387             {"state", ProtoSchemaType::kInt32},
4388         },
4389     },
4390     {
4391         "console",
4392         1,
4393         {
4394             {},
4395             {"msg", ProtoSchemaType::kString},
4396         },
4397     },
4398     {
4399         "drm_vblank_event",
4400         4,
4401         {
4402             {},
4403             {"crtc", ProtoSchemaType::kInt32},
4404             {"high_prec", ProtoSchemaType::kUint32},
4405             {"seq", ProtoSchemaType::kUint32},
4406             {"time", ProtoSchemaType::kInt64},
4407         },
4408     },
4409     {
4410         "drm_vblank_event_delivered",
4411         3,
4412         {
4413             {},
4414             {"crtc", ProtoSchemaType::kInt32},
4415             {"file", ProtoSchemaType::kUint64},
4416             {"seq", ProtoSchemaType::kUint32},
4417         },
4418     },
4419     {
4420         "drm_sched_job",
4421         6,
4422         {
4423             {},
4424             {"entity", ProtoSchemaType::kUint64},
4425             {"fence", ProtoSchemaType::kUint64},
4426             {"hw_job_count", ProtoSchemaType::kInt32},
4427             {"id", ProtoSchemaType::kUint64},
4428             {"job_count", ProtoSchemaType::kUint32},
4429             {"name", ProtoSchemaType::kString},
4430         },
4431     },
4432     {
4433         "drm_run_job",
4434         6,
4435         {
4436             {},
4437             {"entity", ProtoSchemaType::kUint64},
4438             {"fence", ProtoSchemaType::kUint64},
4439             {"hw_job_count", ProtoSchemaType::kInt32},
4440             {"id", ProtoSchemaType::kUint64},
4441             {"job_count", ProtoSchemaType::kUint32},
4442             {"name", ProtoSchemaType::kString},
4443         },
4444     },
4445     {
4446         "drm_sched_process_job",
4447         1,
4448         {
4449             {},
4450             {"fence", ProtoSchemaType::kUint64},
4451         },
4452     },
4453     {
4454         "dma_fence_init",
4455         4,
4456         {
4457             {},
4458             {"context", ProtoSchemaType::kUint32},
4459             {"driver", ProtoSchemaType::kString},
4460             {"seqno", ProtoSchemaType::kUint32},
4461             {"timeline", ProtoSchemaType::kString},
4462         },
4463     },
4464     {
4465         "dma_fence_emit",
4466         4,
4467         {
4468             {},
4469             {"context", ProtoSchemaType::kUint32},
4470             {"driver", ProtoSchemaType::kString},
4471             {"seqno", ProtoSchemaType::kUint32},
4472             {"timeline", ProtoSchemaType::kString},
4473         },
4474     },
4475     {
4476         "dma_fence_signaled",
4477         4,
4478         {
4479             {},
4480             {"context", ProtoSchemaType::kUint32},
4481             {"driver", ProtoSchemaType::kString},
4482             {"seqno", ProtoSchemaType::kUint32},
4483             {"timeline", ProtoSchemaType::kString},
4484         },
4485     },
4486     {
4487         "dma_fence_wait_start",
4488         4,
4489         {
4490             {},
4491             {"context", ProtoSchemaType::kUint32},
4492             {"driver", ProtoSchemaType::kString},
4493             {"seqno", ProtoSchemaType::kUint32},
4494             {"timeline", ProtoSchemaType::kString},
4495         },
4496     },
4497     {
4498         "dma_fence_wait_end",
4499         4,
4500         {
4501             {},
4502             {"context", ProtoSchemaType::kUint32},
4503             {"driver", ProtoSchemaType::kString},
4504             {"seqno", ProtoSchemaType::kUint32},
4505             {"timeline", ProtoSchemaType::kString},
4506         },
4507     },
4508 }};
4509 
4510 }  // namespace
4511 
GetMessageDescriptorForId(size_t id)4512 MessageDescriptor* GetMessageDescriptorForId(size_t id) {
4513   PERFETTO_CHECK(id < descriptors.size());
4514   return &descriptors[id];
4515 }
4516 
GetMessageDescriptorForName(base::StringView name)4517 MessageDescriptor* GetMessageDescriptorForName(base::StringView name) {
4518   for (MessageDescriptor& descriptor : descriptors) {
4519     if (descriptor.name != nullptr && descriptor.name == name)
4520       return &descriptor;
4521   }
4522   return nullptr;
4523 }
4524 
GetDescriptorsSize()4525 size_t GetDescriptorsSize() {
4526   return descriptors.size();
4527 }
4528 }  // namespace trace_processor
4529 }  // namespace perfetto
4530