blob: 5e628160966c8d95ce7d0dd2978328ea4a20f534 [file] [log] [blame]
Hector Dearman55ef3e02018-04-11 17:28:55 +01001// AUTOGENERATED - DO NOT EDIT
2// ---------------------------
3// This file has been generated by
4// AOSP://external/perfetto/tools/gen_merged_protos
5// merging the perfetto config protos.
6// This fused proto is intended to be copied in:
7// - Android tree, for statsd.
8// - Google internal repos.
9
10syntax = "proto2";
11
12package perfetto.protos;
13
14// Begin of protos/perfetto/trace/trace.proto
15
16message Trace {
17 repeated TracePacket packet = 1;
18
19 // Do NOT add any other field here. This is just a convenience wrapper for
20 // the use case of a trace being saved to a file. There are other cases
21 // (streaming) where TracePacket are directly streamed without being wrapped
22 // in a Trace proto. Nothing should ever rely on the full trace, all the
23 // logic should be based on TracePacket(s).
24}
25
26// End of protos/perfetto/trace/trace.proto
27
28// Begin of protos/perfetto/trace/trace_packet.proto
29
30// The root object emitted by Perfetto. A perfetto trace is just a stream of
31// TracePacket(s).
32//
33// Next id: 7.
34message TracePacket {
35 oneof data {
36 FtraceEventBundle ftrace_events = 1;
37 ProcessTree process_tree = 2;
Florian Mayerbeba7262018-04-17 19:05:43 +010038 InodeFileMap inode_file_map = 4;
Hector Dearman55ef3e02018-04-11 17:28:55 +010039 // removed field with id 5
40 // removed field with id 6
41
42 // IDs up to 32 are reserved for events that are quite frequent because they
43 // take only one byte to encode their preamble.
44 // removed field with id 33
45
46 // This field is only used for testing.
47 // removed field with id 536870911 // 2^29 - 1, max field id for protos.
48 }
49 // Trusted user id of the producer which generated this packet. Keep in sync
50 // with TrustedPacket.trusted_uid.
51 oneof optional_trusted_uid { int32 trusted_uid = 3; };
52}
53
54// End of protos/perfetto/trace/trace_packet.proto
55
56// Begin of protos/perfetto/trace/ftrace/ftrace_event_bundle.proto
57
58message FtraceEventBundle {
59 optional uint32 cpu = 1;
60 repeated FtraceEvent event = 2;
61 // Total of all overwrite fields from the headers of all kernel
62 // ftrace pages we parsed into this FtraceEventBundle. Zero if
63 // no overwriting occurred, a number larger than zero if some overwriting
64 // occurred.
65 optional uint32 overwrite_count = 3;
66}
67
68// End of protos/perfetto/trace/ftrace/ftrace_event_bundle.proto
69
70// Begin of protos/perfetto/trace/ftrace/ftrace_event.proto
71
72message FtraceEvent {
73 // Nanoseconds since an epoch.
74 // Epoch is configurable by writing into trace_clock.
75 // By default this timestamp is CPU local.
76 // TODO: Figure out a story for reconciling the various clocks.
77 optional uint64 timestamp = 1;
78
79 optional uint32 pid = 2;
80
81 oneof event {
82 // removed field with id 3
83 SchedSwitchFtraceEvent sched_switch = 4;
84 CpufreqInteractiveAlreadyFtraceEvent cpufreq_interactive_already = 5;
85 CpufreqInteractiveBoostFtraceEvent cpufreq_interactive_boost = 6;
86 CpufreqInteractiveNotyetFtraceEvent cpufreq_interactive_notyet = 7;
87 CpufreqInteractiveSetspeedFtraceEvent cpufreq_interactive_setspeed = 8;
88 CpufreqInteractiveTargetFtraceEvent cpufreq_interactive_target = 9;
89 CpufreqInteractiveUnboostFtraceEvent cpufreq_interactive_unboost = 10;
90 CpuFrequencyFtraceEvent cpu_frequency = 11;
91 CpuFrequencyLimitsFtraceEvent cpu_frequency_limits = 12;
92 CpuIdleFtraceEvent cpu_idle = 13;
93 // removed field with id 14
94 // removed field with id 15
95 ClockSetRateFtraceEvent clock_set_rate = 16;
96 SchedWakeupFtraceEvent sched_wakeup = 17;
97 SchedBlockedReasonFtraceEvent sched_blocked_reason = 18;
98 SchedCpuHotplugFtraceEvent sched_cpu_hotplug = 19;
99 // removed field with id 20
100 // removed field with id 21
101 // removed field with id 22
102 // removed field with id 23
103 // removed field with id 24
104 // removed field with id 25
105 // removed field with id 26
106 // removed field with id 27
107 // removed field with id 28
108 // removed field with id 29
109 // removed field with id 30
110 // removed field with id 31
111 // removed field with id 32
112 // removed field with id 33
113 // removed field with id 34
114 LowmemoryKillFtraceEvent lowmemory_kill = 35;
115 // removed field with id 36
116 // removed field with id 37
117 // removed field with id 38
118 // removed field with id 39
119 // removed field with id 40
120 Ext4DaWriteBeginFtraceEvent ext4_da_write_begin = 41;
121 Ext4DaWriteEndFtraceEvent ext4_da_write_end = 42;
122 Ext4SyncFileEnterFtraceEvent ext4_sync_file_enter = 43;
123 Ext4SyncFileExitFtraceEvent ext4_sync_file_exit = 44;
124 BlockRqIssueFtraceEvent block_rq_issue = 45;
125 MmVmscanDirectReclaimBeginFtraceEvent mm_vmscan_direct_reclaim_begin = 46;
126 MmVmscanDirectReclaimEndFtraceEvent mm_vmscan_direct_reclaim_end = 47;
127 MmVmscanKswapdWakeFtraceEvent mm_vmscan_kswapd_wake = 48;
128 MmVmscanKswapdSleepFtraceEvent mm_vmscan_kswapd_sleep = 49;
129 BinderTransactionFtraceEvent binder_transaction = 50;
130 BinderTransactionReceivedFtraceEvent binder_transaction_received = 51;
131 // removed field with id 52
132 BinderLockFtraceEvent binder_lock = 53;
133 BinderLockedFtraceEvent binder_locked = 54;
134 BinderUnlockFtraceEvent binder_unlock = 55;
135 // removed field with id 56
136 // removed field with id 57
137 // removed field with id 58
138 // removed field with id 59
139 // removed field with id 60
140 // removed field with id 61
141 // removed field with id 62
142 // removed field with id 63
143 // removed field with id 64
144 // removed field with id 65
145 // removed field with id 66
146 CgroupAttachTaskFtraceEvent cgroup_attach_task = 67;
147 CgroupMkdirFtraceEvent cgroup_mkdir = 68;
148 CgroupRemountFtraceEvent cgroup_remount = 69;
149 CgroupRmdirFtraceEvent cgroup_rmdir = 70;
150 CgroupTransferTasksFtraceEvent cgroup_transfer_tasks = 71;
151 CgroupDestroyRootFtraceEvent cgroup_destroy_root = 72;
152 CgroupReleaseFtraceEvent cgroup_release = 73;
153 CgroupRenameFtraceEvent cgroup_rename = 74;
154 CgroupSetupRootFtraceEvent cgroup_setup_root = 75;
155 // removed field with id 76
156 // removed field with id 77
157 // removed field with id 78
158 // removed field with id 79
159 // removed field with id 80
160 // removed field with id 81
161 // removed field with id 82
162 // removed field with id 83
163 // removed field with id 84
164 // removed field with id 85
165 // removed field with id 86
166 // removed field with id 87
167 // removed field with id 88
168 // removed field with id 89
169 // removed field with id 90
170 // removed field with id 91
171 // removed field with id 92
172 // removed field with id 93
173 // removed field with id 94
174 // removed field with id 95
175 // removed field with id 96
176 // removed field with id 97
177 // removed field with id 98
178 // removed field with id 99
179 // removed field with id 100
180 // removed field with id 101
181 // removed field with id 102
182 // removed field with id 103
183 // removed field with id 104
184 // removed field with id 105
185 // removed field with id 106
186 // removed field with id 107
187 // removed field with id 108
188 // removed field with id 109
189 // removed field with id 110
190 // removed field with id 111
191 // removed field with id 112
192 // removed field with id 113
193 // removed field with id 114
194 // removed field with id 115
195 // removed field with id 116
196 // removed field with id 117
197 // removed field with id 118
198 // removed field with id 119
199 // removed field with id 120
200 // removed field with id 121
201 // removed field with id 122
202 // removed field with id 123
203 // removed field with id 124
204 BlockRqCompleteFtraceEvent block_rq_complete = 125;
205 // removed field with id 126
Florian Mayerc2b79332018-04-17 19:01:24 +0100206 // removed field with id 127;
Hector Dearman55ef3e02018-04-11 17:28:55 +0100207 // removed field with id 128
208 // removed field with id 129
209 // removed field with id 130
210 // removed field with id 131
211 // removed field with id 132
212 // removed field with id 133
213 // removed field with id 134
214 // removed field with id 135
215 // removed field with id 136
216 // removed field with id 137
217 // removed field with id 138
218 // removed field with id 139
219 // removed field with id 140
220 // removed field with id 141
221 // removed field with id 142
222 // removed field with id 143
223 // removed field with id 144
224 // removed field with id 145
225 // removed field with id 146
226 // removed field with id 147
227 // removed field with id 148
228 // removed field with id 149
229 // removed field with id 150
230 // removed field with id 151
231 // removed field with id 152
232 Ext4EsLookupExtentEnterFtraceEvent ext4_es_lookup_extent_enter = 153;
233 Ext4EsLookupExtentExitFtraceEvent ext4_es_lookup_extent_exit = 154;
234 // removed field with id 155
235 // removed field with id 156
236 // removed field with id 157
237 // removed field with id 158
238 // removed field with id 159
239 // removed field with id 160
240 // removed field with id 161
241 // removed field with id 162
242 // removed field with id 163
243 // removed field with id 164
244 // removed field with id 165
245 // removed field with id 166
246 // removed field with id 167
247 // removed field with id 168
248 // removed field with id 169
249 // removed field with id 170
250 // removed field with id 171
251 // removed field with id 172
252 // removed field with id 173
253 // removed field with id 174
254 // removed field with id 175
255 // removed field with id 176
256 // removed field with id 177
257 // removed field with id 178
258 // removed field with id 179
259 // removed field with id 180
260 // removed field with id 181
261 // removed field with id 182
262 // removed field with id 183
263 // removed field with id 184
264 // removed field with id 185
265 // removed field with id 186
266 // removed field with id 187
267 // removed field with id 188
268 // removed field with id 189
269 Ext4LoadInodeFtraceEvent ext4_load_inode = 190;
270 // removed field with id 191
271 // removed field with id 192
272 // removed field with id 193
273 // removed field with id 194
274 // removed field with id 195
275 // removed field with id 196
276 // removed field with id 197
277 // removed field with id 198
278 // removed field with id 199
279 // removed field with id 200
280 // removed field with id 201
281 // removed field with id 202
282 // removed field with id 203
283 // removed field with id 204
284 // removed field with id 205
285 // removed field with id 206
286 // removed field with id 207
287 // removed field with id 208
288 // removed field with id 209
289 // removed field with id 210
290 // removed field with id 211
291 // removed field with id 212
292 // removed field with id 213
293 // removed field with id 214
294 // removed field with id 215
295 // removed field with id 216
296 // removed field with id 217
297 // removed field with id 218
298 // removed field with id 219
Florian Mayerc2b79332018-04-17 19:01:24 +0100299 // removed field with id 220;
300 // removed field with id 221;
301 // removed field with id 222;
302 // removed field with id 223;
303 // removed field with id 224;
304 // removed field with id 225;
305 // removed field with id 226;
306 // removed field with id 227;
307 // removed field with id 228;
308 // removed field with id 229;
Hector Dearman55ef3e02018-04-11 17:28:55 +0100309 // removed field with id 230
310 // removed field with id 231
311 // removed field with id 232
312 // removed field with id 233
313 // removed field with id 234
314 // removed field with id 235
315 // removed field with id 236
316 // removed field with id 237
317 // removed field with id 238
318 // removed field with id 239
319 // removed field with id 240
320 // removed field with id 241
321 // removed field with id 242
322 // removed field with id 243
323 // removed field with id 244
324 // removed field with id 245
325 F2fsGetDataBlockFtraceEvent f2fs_get_data_block = 246;
326 // removed field with id 247
327 F2fsIgetFtraceEvent f2fs_iget = 248;
328 // removed field with id 249
329 // removed field with id 250
330 // removed field with id 251
331 // removed field with id 252
332 // removed field with id 253
333 // removed field with id 254
334 F2fsSyncFileEnterFtraceEvent f2fs_sync_file_enter = 255;
335 F2fsSyncFileExitFtraceEvent f2fs_sync_file_exit = 256;
336 // removed field with id 257
337 // removed field with id 258
338 // removed field with id 259
339 // removed field with id 260
340 // removed field with id 261
341 // removed field with id 262
342 // removed field with id 263
343 // removed field with id 264
344 // removed field with id 265
345 // removed field with id 266
346 // removed field with id 267
347 // removed field with id 268
348 // removed field with id 269
349 // removed field with id 270
350 F2fsWriteBeginFtraceEvent f2fs_write_begin = 271;
351 // removed field with id 272
352 F2fsWriteEndFtraceEvent f2fs_write_end = 273;
353 }
354}
355
356// End of protos/perfetto/trace/ftrace/ftrace_event.proto
357
Florian Mayerbeba7262018-04-17 19:05:43 +0100358// Begin of protos/perfetto/trace/filesystem/inode_file_map.proto
359
360// Represents the mapping between inode numbers in a block device and their path
361// on the filesystem
362message InodeFileMap {
363 // Representation of Entry
364 message Entry {
365 optional uint64 inode_number = 1;
366
367 // The path to the file, e.g. "etc/file.xml"
368 // List of strings for multiple hardlinks
369 repeated string paths = 2;
370
371 // The file type
372 enum Type {
373 UNKNOWN = 0;
374 FILE = 1;
375 DIRECTORY = 2;
376 }
377 optional Type type = 3;
378 }
379
380 optional uint64 block_device_id = 1;
381
382 // The mount points of the block device, e.g. ["system"].
383 repeated string mount_points = 2;
384
385 // The list of all the entries from the block device
386 repeated Entry entries = 3;
387}
388
389// End of protos/perfetto/trace/filesystem/inode_file_map.proto
390
Hector Dearman55ef3e02018-04-11 17:28:55 +0100391// Begin of protos/perfetto/trace/ps/process_tree.proto
392
393message ProcessTree {
394 // Representation of a thread
395 message Thread {
396 // The thread id (as per gettid())
397 optional int32 tid = 1;
398
399 // The name of the thread.
400 optional string name = 2;
401 }
402
403 // Representation of a process.
404 message Process {
405 // The UNIX process ID, aka thread group ID (as per getpid()).
406 optional int32 pid = 1;
407
408 // The parent process ID, as per getppid().
409 optional int32 ppid = 2;
410
411 // The command line for the process, as per /proc/pid/cmdline.
412 // If it is a kernel thread there will only be one cmdline field
413 // and it will contain /proc/pid/comm.
414 repeated string cmdline = 3;
415
416 // The list of all threads in the process.
417 repeated Thread threads = 4;
418 }
419
420 // List of all processes in the client.
421 repeated Process processes = 1;
422}
423
424// End of protos/perfetto/trace/ps/process_tree.proto
425
426// Begin of protos/perfetto/trace/ftrace/binder_locked.proto
427
428message BinderLockedFtraceEvent {
429 optional string tag = 1;
430}
431
432// End of protos/perfetto/trace/ftrace/binder_locked.proto
433
434// Begin of protos/perfetto/trace/ftrace/binder_lock.proto
435
436message BinderLockFtraceEvent {
437 optional string tag = 1;
438}
439
440// End of protos/perfetto/trace/ftrace/binder_lock.proto
441
442// Begin of protos/perfetto/trace/ftrace/binder_transaction.proto
443
444message BinderTransactionFtraceEvent {
445 optional int32 debug_id = 1;
446 optional int32 target_node = 2;
447 optional int32 to_proc = 3;
448 optional int32 to_thread = 4;
449 optional int32 reply = 5;
450 optional uint32 code = 6;
451 optional uint32 flags = 7;
452}
453
454// End of protos/perfetto/trace/ftrace/binder_transaction.proto
455
456// Begin of protos/perfetto/trace/ftrace/binder_transaction_received.proto
457
458message BinderTransactionReceivedFtraceEvent {
459 optional int32 debug_id = 1;
460}
461
462// End of protos/perfetto/trace/ftrace/binder_transaction_received.proto
463
464// Begin of protos/perfetto/trace/ftrace/binder_unlock.proto
465
466message BinderUnlockFtraceEvent {
467 optional string tag = 1;
468}
469
470// End of protos/perfetto/trace/ftrace/binder_unlock.proto
471
472// Begin of protos/perfetto/trace/ftrace/block_rq_complete.proto
473
474message BlockRqCompleteFtraceEvent {
475 optional uint64 dev = 1;
476 optional uint64 sector = 2;
477 optional uint32 nr_sector = 3;
478 optional int32 errors = 4;
479 optional string rwbs = 5;
480 optional string cmd = 6;
481}
482
483// End of protos/perfetto/trace/ftrace/block_rq_complete.proto
484
485// Begin of protos/perfetto/trace/ftrace/block_rq_issue.proto
486
487message BlockRqIssueFtraceEvent {
488 optional uint64 dev = 1;
489 optional uint64 sector = 2;
490 optional uint32 nr_sector = 3;
491 optional uint32 bytes = 4;
492 optional string rwbs = 5;
493 optional string comm = 6;
494 optional string cmd = 7;
495}
496
497// End of protos/perfetto/trace/ftrace/block_rq_issue.proto
498
499// Begin of protos/perfetto/trace/ftrace/cgroup_attach_task.proto
500
501message CgroupAttachTaskFtraceEvent {
502 optional int32 dst_root = 1;
503 optional int32 dst_id = 2;
504 optional int32 pid = 3;
505 optional string comm = 4;
506 optional string cname = 5;
507}
508
509// End of protos/perfetto/trace/ftrace/cgroup_attach_task.proto
510
511// Begin of protos/perfetto/trace/ftrace/cgroup_destroy_root.proto
512
513message CgroupDestroyRootFtraceEvent {
514 optional int32 root = 1;
515 optional uint32 ss_mask = 2;
516 optional string name = 3;
517}
518
519// End of protos/perfetto/trace/ftrace/cgroup_destroy_root.proto
520
521// Begin of protos/perfetto/trace/ftrace/cgroup_mkdir.proto
522
523message CgroupMkdirFtraceEvent {
524 optional int32 root = 1;
525 optional int32 id = 2;
526 optional string cname = 3;
527}
528
529// End of protos/perfetto/trace/ftrace/cgroup_mkdir.proto
530
531// Begin of protos/perfetto/trace/ftrace/cgroup_release.proto
532
533message CgroupReleaseFtraceEvent {
534 optional int32 root = 1;
535 optional int32 id = 2;
536 optional string cname = 3;
537}
538
539// End of protos/perfetto/trace/ftrace/cgroup_release.proto
540
541// Begin of protos/perfetto/trace/ftrace/cgroup_remount.proto
542
543message CgroupRemountFtraceEvent {
544 optional int32 root = 1;
545 optional uint32 ss_mask = 2;
546 optional string name = 3;
547}
548
549// End of protos/perfetto/trace/ftrace/cgroup_remount.proto
550
551// Begin of protos/perfetto/trace/ftrace/cgroup_rename.proto
552
553message CgroupRenameFtraceEvent {
554 optional int32 root = 1;
555 optional int32 id = 2;
556 optional string cname = 3;
557}
558
559// End of protos/perfetto/trace/ftrace/cgroup_rename.proto
560
561// Begin of protos/perfetto/trace/ftrace/cgroup_rmdir.proto
562
563message CgroupRmdirFtraceEvent {
564 optional int32 root = 1;
565 optional int32 id = 2;
566 optional string cname = 3;
567}
568
569// End of protos/perfetto/trace/ftrace/cgroup_rmdir.proto
570
571// Begin of protos/perfetto/trace/ftrace/cgroup_setup_root.proto
572
573message CgroupSetupRootFtraceEvent {
574 optional int32 root = 1;
575 optional uint32 ss_mask = 2;
576 optional string name = 3;
577}
578
579// End of protos/perfetto/trace/ftrace/cgroup_setup_root.proto
580
581// Begin of protos/perfetto/trace/ftrace/cgroup_transfer_tasks.proto
582
583message CgroupTransferTasksFtraceEvent {
584 optional int32 dst_root = 1;
585 optional int32 dst_id = 2;
586 optional int32 pid = 3;
587 optional string comm = 4;
588 optional string cname = 5;
589}
590
591// End of protos/perfetto/trace/ftrace/cgroup_transfer_tasks.proto
592
593// Begin of protos/perfetto/trace/ftrace/clock_set_rate.proto
594
595message ClockSetRateFtraceEvent {
596 optional string name = 1;
597 optional uint64 state = 2;
598 optional uint64 cpu_id = 3;
599}
600
601// End of protos/perfetto/trace/ftrace/clock_set_rate.proto
602
603// Begin of protos/perfetto/trace/ftrace/cpufreq_interactive_already.proto
604
605message CpufreqInteractiveAlreadyFtraceEvent {
606 optional uint64 cpu_id = 1;
607 optional uint64 load = 2;
608 optional uint64 curtarg = 3;
609 optional uint64 curactual = 4;
610 optional uint64 newtarg = 5;
611}
612
613// End of protos/perfetto/trace/ftrace/cpufreq_interactive_already.proto
614
615// Begin of protos/perfetto/trace/ftrace/cpufreq_interactive_boost.proto
616
617message CpufreqInteractiveBoostFtraceEvent {
618 optional string s = 1;
619}
620
621// End of protos/perfetto/trace/ftrace/cpufreq_interactive_boost.proto
622
623// Begin of protos/perfetto/trace/ftrace/cpufreq_interactive_notyet.proto
624
625message CpufreqInteractiveNotyetFtraceEvent {
626 optional uint64 cpu_id = 1;
627 optional uint64 load = 2;
628 optional uint64 curtarg = 3;
629 optional uint64 curactual = 4;
630 optional uint64 newtarg = 5;
631}
632
633// End of protos/perfetto/trace/ftrace/cpufreq_interactive_notyet.proto
634
635// Begin of protos/perfetto/trace/ftrace/cpufreq_interactive_setspeed.proto
636
637message CpufreqInteractiveSetspeedFtraceEvent {
638 optional uint32 cpu_id = 1;
639 optional uint64 targfreq = 2;
640 optional uint64 actualfreq = 3;
641}
642
643// End of protos/perfetto/trace/ftrace/cpufreq_interactive_setspeed.proto
644
645// Begin of protos/perfetto/trace/ftrace/cpufreq_interactive_target.proto
646
647message CpufreqInteractiveTargetFtraceEvent {
648 optional uint64 cpu_id = 1;
649 optional uint64 load = 2;
650 optional uint64 curtarg = 3;
651 optional uint64 curactual = 4;
652 optional uint64 newtarg = 5;
653}
654
655// End of protos/perfetto/trace/ftrace/cpufreq_interactive_target.proto
656
657// Begin of protos/perfetto/trace/ftrace/cpufreq_interactive_unboost.proto
658
659message CpufreqInteractiveUnboostFtraceEvent {
660 optional string s = 1;
661}
662
663// End of protos/perfetto/trace/ftrace/cpufreq_interactive_unboost.proto
664
665// Begin of protos/perfetto/trace/ftrace/cpu_frequency_limits.proto
666
667message CpuFrequencyLimitsFtraceEvent {
668 optional uint32 min_freq = 1;
669 optional uint32 max_freq = 2;
670 optional uint32 cpu_id = 3;
671}
672
673// End of protos/perfetto/trace/ftrace/cpu_frequency_limits.proto
674
675// Begin of protos/perfetto/trace/ftrace/cpu_frequency.proto
676
677message CpuFrequencyFtraceEvent {
678 optional uint32 state = 1;
679 optional uint32 cpu_id = 2;
680}
681
682// End of protos/perfetto/trace/ftrace/cpu_frequency.proto
683
684// Begin of protos/perfetto/trace/ftrace/cpu_idle.proto
685
686message CpuIdleFtraceEvent {
687 optional uint32 state = 1;
688 optional uint32 cpu_id = 2;
689}
690
691// End of protos/perfetto/trace/ftrace/cpu_idle.proto
692
693// Begin of protos/perfetto/trace/ftrace/ext4_da_write_begin.proto
694
695message Ext4DaWriteBeginFtraceEvent {
696 optional uint64 dev = 1;
697 optional uint64 ino = 2;
698 optional int64 pos = 3;
699 optional uint32 len = 4;
700 optional uint32 flags = 5;
701}
702
703// End of protos/perfetto/trace/ftrace/ext4_da_write_begin.proto
704
705// Begin of protos/perfetto/trace/ftrace/ext4_da_write_end.proto
706
707message Ext4DaWriteEndFtraceEvent {
708 optional uint64 dev = 1;
709 optional uint64 ino = 2;
710 optional int64 pos = 3;
711 optional uint32 len = 4;
712 optional uint32 copied = 5;
713}
714
715// End of protos/perfetto/trace/ftrace/ext4_da_write_end.proto
716
717// Begin of protos/perfetto/trace/ftrace/ext4_es_lookup_extent_enter.proto
718
719message Ext4EsLookupExtentEnterFtraceEvent {
720 optional uint64 dev = 1;
721 optional uint64 ino = 2;
722 optional uint32 lblk = 3;
723}
724
725// End of protos/perfetto/trace/ftrace/ext4_es_lookup_extent_enter.proto
726
727// Begin of protos/perfetto/trace/ftrace/ext4_es_lookup_extent_exit.proto
728
729message Ext4EsLookupExtentExitFtraceEvent {
730 optional uint64 dev = 1;
731 optional uint64 ino = 2;
732 optional uint32 lblk = 3;
733 optional uint32 len = 4;
734 optional uint64 pblk = 5;
735 optional uint32 status = 6;
736 optional int32 found = 7;
737}
738
739// End of protos/perfetto/trace/ftrace/ext4_es_lookup_extent_exit.proto
740
741// Begin of protos/perfetto/trace/ftrace/ext4_load_inode.proto
742
743message Ext4LoadInodeFtraceEvent {
744 optional uint64 dev = 1;
745 optional uint64 ino = 2;
746}
747
748// End of protos/perfetto/trace/ftrace/ext4_load_inode.proto
749
750// Begin of protos/perfetto/trace/ftrace/ext4_sync_file_enter.proto
751
752message Ext4SyncFileEnterFtraceEvent {
753 optional uint64 dev = 1;
754 optional uint64 ino = 2;
755 optional uint64 parent = 3;
756 optional int32 datasync = 4;
757}
758
759// End of protos/perfetto/trace/ftrace/ext4_sync_file_enter.proto
760
761// Begin of protos/perfetto/trace/ftrace/ext4_sync_file_exit.proto
762
763message Ext4SyncFileExitFtraceEvent {
764 optional uint64 dev = 1;
765 optional uint64 ino = 2;
766 optional int32 ret = 3;
767}
768
769// End of protos/perfetto/trace/ftrace/ext4_sync_file_exit.proto
770
771// Begin of protos/perfetto/trace/ftrace/f2fs_get_data_block.proto
772
773message F2fsGetDataBlockFtraceEvent {
774 optional uint64 dev = 1;
775 optional uint64 ino = 2;
776 optional uint64 iblock = 3;
777 optional uint64 bh_start = 4;
778 optional uint64 bh_size = 5;
779 optional int32 ret = 6;
780}
781
782// End of protos/perfetto/trace/ftrace/f2fs_get_data_block.proto
783
784// Begin of protos/perfetto/trace/ftrace/f2fs_iget.proto
785
786message F2fsIgetFtraceEvent {
787 optional uint64 dev = 1;
788 optional uint64 ino = 2;
789 optional uint64 pino = 3;
790 optional uint32 mode = 4;
791 optional int64 size = 5;
792 optional uint32 nlink = 6;
793 optional uint64 blocks = 7;
794 optional uint32 advise = 8;
795}
796
797// End of protos/perfetto/trace/ftrace/f2fs_iget.proto
798
799// Begin of protos/perfetto/trace/ftrace/f2fs_sync_file_enter.proto
800
801message F2fsSyncFileEnterFtraceEvent {
802 optional uint64 dev = 1;
803 optional uint64 ino = 2;
804 optional uint64 pino = 3;
805 optional uint32 mode = 4;
806 optional int64 size = 5;
807 optional uint32 nlink = 6;
808 optional uint64 blocks = 7;
809 optional uint32 advise = 8;
810}
811
812// End of protos/perfetto/trace/ftrace/f2fs_sync_file_enter.proto
813
814// Begin of protos/perfetto/trace/ftrace/f2fs_sync_file_exit.proto
815
816message F2fsSyncFileExitFtraceEvent {
817 optional uint64 dev = 1;
818 optional uint64 ino = 2;
819 optional uint32 need_cp = 3;
820 optional int32 datasync = 4;
821 optional int32 ret = 5;
822}
823
824// End of protos/perfetto/trace/ftrace/f2fs_sync_file_exit.proto
825
826// Begin of protos/perfetto/trace/ftrace/f2fs_write_begin.proto
827
828message F2fsWriteBeginFtraceEvent {
829 optional uint64 dev = 1;
830 optional uint64 ino = 2;
831 optional int64 pos = 3;
832 optional uint32 len = 4;
833 optional uint32 flags = 5;
834}
835
836// End of protos/perfetto/trace/ftrace/f2fs_write_begin.proto
837
838// Begin of protos/perfetto/trace/ftrace/f2fs_write_end.proto
839
840message F2fsWriteEndFtraceEvent {
841 optional uint64 dev = 1;
842 optional uint64 ino = 2;
843 optional int64 pos = 3;
844 optional uint32 len = 4;
845 optional uint32 copied = 5;
846}
847
848// End of protos/perfetto/trace/ftrace/f2fs_write_end.proto
849
850// Begin of protos/perfetto/trace/ftrace/lowmemory_kill.proto
851
852message LowmemoryKillFtraceEvent {
853 optional string comm = 1;
854 optional int32 pid = 2;
855 optional int64 pagecache_size = 3;
856 optional int64 pagecache_limit = 4;
857 optional int64 free = 5;
858}
859
860// End of protos/perfetto/trace/ftrace/lowmemory_kill.proto
861
862// Begin of protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_begin.proto
863
864message MmVmscanDirectReclaimBeginFtraceEvent {
865 optional int32 order = 1;
866 optional int32 may_writepage = 2;
867 optional uint32 gfp_flags = 3;
868}
869
870// End of protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_begin.proto
871
872// Begin of protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_end.proto
873
874message MmVmscanDirectReclaimEndFtraceEvent {
875 optional uint64 nr_reclaimed = 1;
876}
877
878// End of protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_end.proto
879
880// Begin of protos/perfetto/trace/ftrace/mm_vmscan_kswapd_sleep.proto
881
882message MmVmscanKswapdSleepFtraceEvent {
883 optional int32 nid = 1;
884}
885
886// End of protos/perfetto/trace/ftrace/mm_vmscan_kswapd_sleep.proto
887
888// Begin of protos/perfetto/trace/ftrace/mm_vmscan_kswapd_wake.proto
889
890message MmVmscanKswapdWakeFtraceEvent {
891 optional int32 nid = 1;
892 optional int32 order = 2;
893}
894
895// End of protos/perfetto/trace/ftrace/mm_vmscan_kswapd_wake.proto
896
897// Begin of protos/perfetto/trace/ftrace/sched_blocked_reason.proto
898
899message SchedBlockedReasonFtraceEvent {
900 optional int32 pid = 1;
901 optional uint64 caller = 2;
902 optional uint32 io_wait = 3;
903}
904
905// End of protos/perfetto/trace/ftrace/sched_blocked_reason.proto
906
907// Begin of protos/perfetto/trace/ftrace/sched_cpu_hotplug.proto
908
909message SchedCpuHotplugFtraceEvent {
910 optional int32 affected_cpu = 1;
911 optional int32 error = 2;
912 optional int32 status = 3;
913}
914
915// End of protos/perfetto/trace/ftrace/sched_cpu_hotplug.proto
916
917// Begin of protos/perfetto/trace/ftrace/sched_switch.proto
918
919message SchedSwitchFtraceEvent {
920 optional string prev_comm = 1;
921 optional int32 prev_pid = 2;
922 optional int32 prev_prio = 3;
923 optional int64 prev_state = 4;
924 optional string next_comm = 5;
925 optional int32 next_pid = 6;
926 optional int32 next_prio = 7;
927}
928
929// End of protos/perfetto/trace/ftrace/sched_switch.proto
930
931// Begin of protos/perfetto/trace/ftrace/sched_wakeup.proto
932
933message SchedWakeupFtraceEvent {
934 optional string comm = 1;
935 optional int32 pid = 2;
936 optional int32 prio = 3;
937 optional int32 success = 4;
938 optional int32 target_cpu = 5;
939}
940
941// End of protos/perfetto/trace/ftrace/sched_wakeup.proto