]> git.proxmox.com Git - ceph.git/blob - ceph/src/tracing/osd.tp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / tracing / osd.tp
1 #include "include/int_types.h"
2
3 TRACEPOINT_EVENT(osd, prepare_tx_enter,
4 TP_ARGS(
5 // osd_reqid_t
6 uint8_t, type,
7 int64_t, num,
8 uint64_t, tid,
9 int32_t, inc),
10 TP_FIELDS(
11 ctf_integer(uint8_t, type, type)
12 ctf_integer(int64_t, num, num)
13 ctf_integer(uint64_t, tid, tid)
14 ctf_integer(int32_t, inc, inc)
15 )
16 )
17
18 TRACEPOINT_EVENT(osd, prepare_tx_exit,
19 TP_ARGS(
20 // osd_reqid_t
21 uint8_t, type,
22 int64_t, num,
23 uint64_t, tid,
24 int32_t, inc),
25 TP_FIELDS(
26 ctf_integer(uint8_t, type, type)
27 ctf_integer(int64_t, num, num)
28 ctf_integer(uint64_t, tid, tid)
29 ctf_integer(int32_t, inc, inc)
30 )
31 )
32
33 TRACEPOINT_EVENT(osd, ms_fast_dispatch,
34 TP_ARGS(
35 // osd_reqid_t
36 uint8_t, type,
37 int64_t, num,
38 uint64_t, tid,
39 int32_t, inc),
40 TP_FIELDS(
41 ctf_integer(uint8_t, type, type)
42 ctf_integer(int64_t, num, num)
43 ctf_integer(uint64_t, tid, tid)
44 ctf_integer(int32_t, inc, inc)
45 )
46 )
47
48 TRACEPOINT_EVENT(osd, opwq_process_start,
49 TP_ARGS(
50 // osd_reqid_t
51 uint8_t, type,
52 int64_t, num,
53 uint64_t, tid,
54 int32_t, inc),
55 TP_FIELDS(
56 ctf_integer(uint8_t, type, type)
57 ctf_integer(int64_t, num, num)
58 ctf_integer(uint64_t, tid, tid)
59 ctf_integer(int32_t, inc, inc)
60 )
61 )
62
63 TRACEPOINT_EVENT(osd, opwq_process_finish,
64 TP_ARGS(
65 // osd_reqid_t
66 uint8_t, type,
67 int64_t, num,
68 uint64_t, tid,
69 int32_t, inc),
70 TP_FIELDS(
71 ctf_integer(uint8_t, type, type)
72 ctf_integer(int64_t, num, num)
73 ctf_integer(uint64_t, tid, tid)
74 ctf_integer(int32_t, inc, inc)
75 )
76 )
77
78 TRACEPOINT_EVENT(osd, do_osd_op_pre,
79 TP_ARGS(
80 const char*, oid,
81 uint64_t, snap,
82 uint16_t, op,
83 const char*, opname,
84 uint32_t, flags),
85 TP_FIELDS(
86 ctf_string(oid, oid)
87 ctf_integer(uint64_t, snap, snap)
88 ctf_integer_hex(uint16_t, op, op)
89 ctf_string(opname, opname)
90 ctf_integer_hex(uint32_t, flags, flags)
91 )
92 )
93
94 TRACEPOINT_EVENT(osd, do_osd_op_pre_extent_cmp,
95 TP_ARGS(
96 const char*, oid,
97 uint64_t, snap,
98 uint64_t, osize,
99 uint32_t, oseq,
100 uint64_t, offset,
101 uint64_t, length,
102 uint64_t, truncate_size,
103 uint32_t, truncate_seq),
104 TP_FIELDS(
105 ctf_string(oid, oid)
106 ctf_integer(uint64_t, snap, snap)
107 ctf_integer(uint64_t, osize, osize)
108 ctf_integer(uint32_t, oseq, oseq)
109 ctf_integer(uint64_t, offset, offset)
110 ctf_integer(uint64_t, length, length)
111 ctf_integer(uint64_t, truncate_size, truncate_size)
112 ctf_integer(uint32_t, truncate_seq, truncate_seq)
113 )
114 )
115
116 TRACEPOINT_EVENT(osd, do_osd_op_pre_read,
117 TP_ARGS(
118 const char*, oid,
119 uint64_t, snap,
120 uint64_t, osize,
121 uint32_t, oseq,
122 uint64_t, offset,
123 uint64_t, length,
124 uint64_t, truncate_size,
125 uint32_t, truncate_seq),
126 TP_FIELDS(
127 ctf_string(oid, oid)
128 ctf_integer(uint64_t, snap, snap)
129 ctf_integer(uint64_t, osize, osize)
130 ctf_integer(uint32_t, oseq, oseq)
131 ctf_integer(uint64_t, offset, offset)
132 ctf_integer(uint64_t, length, length)
133 ctf_integer(uint64_t, truncate_size, truncate_size)
134 ctf_integer(uint32_t, truncate_seq, truncate_seq)
135 )
136 )
137
138 TRACEPOINT_EVENT(osd, do_osd_op_pre_checksum,
139 TP_ARGS(
140 const char*, oid,
141 uint64_t, snap,
142 uint64_t, osize,
143 uint32_t, oseq,
144 uint8_t, type,
145 uint64_t, offset,
146 uint64_t, length,
147 uint32_t, chunk_size),
148 TP_FIELDS(
149 ctf_string(oid, oid)
150 ctf_integer(uint64_t, snap, snap)
151 ctf_integer(uint64_t, osize, osize)
152 ctf_integer(uint32_t, oseq, oseq)
153 ctf_integer(uint8_t, type, type)
154 ctf_integer(uint64_t, offset, offset)
155 ctf_integer(uint64_t, length, length)
156 ctf_integer(uint32_t, chunk_size, chunk_size)
157 )
158 )
159
160 TRACEPOINT_EVENT(osd, do_osd_op_pre_mapext,
161 TP_ARGS(
162 const char*, oid,
163 uint64_t, snap,
164 uint64_t, offset,
165 uint64_t, length),
166 TP_FIELDS(
167 ctf_string(oid, oid)
168 ctf_integer(uint64_t, snap, snap)
169 ctf_integer(uint64_t, offset, offset)
170 ctf_integer(uint64_t, length, length)
171 )
172 )
173
174 TRACEPOINT_EVENT(osd, do_osd_op_pre_sparse_read,
175 TP_ARGS(
176 const char*, oid,
177 uint64_t, snap,
178 uint64_t, osize,
179 uint32_t, oseq,
180 uint64_t, offset,
181 uint64_t, length,
182 uint64_t, truncate_size,
183 uint32_t, truncate_seq),
184 TP_FIELDS(
185 ctf_string(oid, oid)
186 ctf_integer(uint64_t, snap, snap)
187 ctf_integer(uint64_t, osize, osize)
188 ctf_integer(uint32_t, oseq, oseq)
189 ctf_integer(uint64_t, offset, offset)
190 ctf_integer(uint64_t, length, length)
191 ctf_integer(uint64_t, truncate_size, truncate_size)
192 ctf_integer(uint32_t, truncate_seq, truncate_seq)
193 )
194 )
195
196 TRACEPOINT_EVENT(osd, do_osd_op_pre_call,
197 TP_ARGS(
198 const char*, oid,
199 uint64_t, snap,
200 const char*, class_name,
201 const char*, method_name),
202 TP_FIELDS(
203 ctf_string(oid, oid)
204 ctf_integer(uint64_t, snap, snap)
205 ctf_string(class_name, class_name)
206 ctf_string(method_name, method_name)
207 )
208 )
209
210 TRACEPOINT_EVENT(osd, do_osd_op_pre_stat,
211 TP_ARGS(
212 const char*, oid,
213 uint64_t, snap),
214 TP_FIELDS(
215 ctf_string(oid, oid)
216 ctf_integer(uint64_t, snap, snap)
217 )
218 )
219
220 TRACEPOINT_EVENT(osd, do_osd_op_pre_isdirty,
221 TP_ARGS(
222 const char*, oid,
223 uint64_t, snap),
224 TP_FIELDS(
225 ctf_string(oid, oid)
226 ctf_integer(uint64_t, snap, snap)
227 )
228 )
229
230 TRACEPOINT_EVENT(osd, do_osd_op_pre_undirty,
231 TP_ARGS(
232 const char*, oid,
233 uint64_t, snap),
234 TP_FIELDS(
235 ctf_string(oid, oid)
236 ctf_integer(uint64_t, snap, snap)
237 )
238 )
239
240 TRACEPOINT_EVENT(osd, do_osd_op_pre_try_flush,
241 TP_ARGS(
242 const char*, oid,
243 uint64_t, snap),
244 TP_FIELDS(
245 ctf_string(oid, oid)
246 ctf_integer(uint64_t, snap, snap)
247 )
248 )
249
250 TRACEPOINT_EVENT(osd, do_osd_op_pre_cache_flush,
251 TP_ARGS(
252 const char*, oid,
253 uint64_t, snap),
254 TP_FIELDS(
255 ctf_string(oid, oid)
256 ctf_integer(uint64_t, snap, snap)
257 )
258 )
259
260 TRACEPOINT_EVENT(osd, do_osd_op_pre_cache_evict,
261 TP_ARGS(
262 const char*, oid,
263 uint64_t, snap),
264 TP_FIELDS(
265 ctf_string(oid, oid)
266 ctf_integer(uint64_t, snap, snap)
267 )
268 )
269
270 TRACEPOINT_EVENT(osd, do_osd_op_pre_getxattr,
271 TP_ARGS(
272 const char*, oid,
273 uint64_t, snap,
274 const char*, aname),
275 TP_FIELDS(
276 ctf_string(oid, oid)
277 ctf_integer(uint64_t, snap, snap)
278 ctf_string(aname, aname)
279 )
280 )
281
282 TRACEPOINT_EVENT(osd, do_osd_op_pre_getxattrs,
283 TP_ARGS(
284 const char*, oid,
285 uint64_t, snap),
286 TP_FIELDS(
287 ctf_string(oid, oid)
288 ctf_integer(uint64_t, snap, snap)
289 )
290 )
291
292 TRACEPOINT_EVENT(osd, do_osd_op_pre_cmpxattr,
293 TP_ARGS(
294 const char*, oid,
295 uint64_t, snap,
296 const char*, aname),
297 TP_FIELDS(
298 ctf_string(oid, oid)
299 ctf_integer(uint64_t, snap, snap)
300 ctf_string(aname, aname)
301 )
302 )
303
304 TRACEPOINT_EVENT(osd, do_osd_op_pre_assert_ver,
305 TP_ARGS(
306 const char*, oid,
307 uint64_t, snap,
308 uint64_t, ver),
309 TP_FIELDS(
310 ctf_string(oid, oid)
311 ctf_integer(uint64_t, snap, snap)
312 ctf_integer(uint64_t, ver, ver)
313 )
314 )
315
316 TRACEPOINT_EVENT(osd, do_osd_op_pre_list_watchers,
317 TP_ARGS(
318 const char*, oid,
319 uint64_t, snap),
320 TP_FIELDS(
321 ctf_string(oid, oid)
322 ctf_integer(uint64_t, snap, snap)
323 )
324 )
325
326 TRACEPOINT_EVENT(osd, do_osd_op_pre_list_snaps,
327 TP_ARGS(
328 const char*, oid,
329 uint64_t, snap),
330 TP_FIELDS(
331 ctf_string(oid, oid)
332 ctf_integer(uint64_t, snap, snap)
333 )
334 )
335
336 TRACEPOINT_EVENT(osd, do_osd_op_pre_assert_src_version,
337 TP_ARGS(
338 const char*, oid,
339 uint64_t, snap,
340 uint64_t, ver),
341 TP_FIELDS(
342 ctf_string(oid, oid)
343 ctf_integer(uint64_t, snap, snap)
344 ctf_integer(uint64_t, ver, ver)
345 )
346 )
347
348 TRACEPOINT_EVENT(osd, do_osd_op_pre_notify,
349 TP_ARGS(
350 const char*, oid,
351 uint64_t, snap,
352 uint64_t, timeout),
353 TP_FIELDS(
354 ctf_string(oid, oid)
355 ctf_integer(uint64_t, snap, snap)
356 ctf_integer(uint64_t, timeout, timeout)
357 )
358 )
359
360 TRACEPOINT_EVENT(osd, do_osd_op_pre_notify_ack,
361 TP_ARGS(
362 const char*, oid,
363 uint64_t, snap,
364 uint64_t, notify_id,
365 uint64_t, watch_cookie,
366 const char*, watch_cookie_valid),
367 TP_FIELDS(
368 ctf_string(oid, oid)
369 ctf_integer(uint64_t, snap, snap)
370 ctf_integer(uint64_t, notify_id, notify_id)
371 ctf_integer(uint64_t, watch_cookie, watch_cookie)
372 ctf_string(watch_cookie_valid, watch_cookie_valid)
373 )
374 )
375
376 TRACEPOINT_EVENT(osd, do_osd_op_pre_setallochint,
377 TP_ARGS(
378 const char*, oid,
379 uint64_t, snap,
380 uint64_t, expected_object_size,
381 uint64_t, expected_write_size),
382 TP_FIELDS(
383 ctf_string(oid, oid)
384 ctf_integer(uint64_t, snap, snap)
385 ctf_integer(uint64_t, expected_object_size, expected_object_size)
386 ctf_integer(uint64_t, expected_write_size, expected_write_size)
387 )
388 )
389
390 TRACEPOINT_EVENT(osd, do_osd_op_pre_write,
391 TP_ARGS(
392 const char*, oid,
393 uint64_t, snap,
394 uint64_t, osize,
395 uint32_t, oseq,
396 uint64_t, offset,
397 uint64_t, length,
398 uint64_t, truncate_size,
399 uint32_t, truncate_seq),
400 TP_FIELDS(
401 ctf_string(oid, oid)
402 ctf_integer(uint64_t, snap, snap)
403 ctf_integer(uint64_t, osize, osize)
404 ctf_integer(uint32_t, oseq, oseq)
405 ctf_integer(uint64_t, offset, offset)
406 ctf_integer(uint64_t, length, length)
407 ctf_integer(uint64_t, truncate_size, truncate_size)
408 ctf_integer(uint32_t, truncate_seq, truncate_seq)
409 )
410 )
411
412 TRACEPOINT_EVENT(osd, do_osd_op_pre_writefull,
413 TP_ARGS(
414 const char*, oid,
415 uint64_t, snap,
416 uint64_t, osize,
417 uint64_t, offset,
418 uint64_t, length),
419 TP_FIELDS(
420 ctf_string(oid, oid)
421 ctf_integer(uint64_t, snap, snap)
422 ctf_integer(uint64_t, osize, osize)
423 ctf_integer(uint64_t, offset, offset)
424 ctf_integer(uint64_t, length, length)
425 )
426 )
427
428 TRACEPOINT_EVENT(osd, do_osd_op_pre_writesame,
429 TP_ARGS(
430 const char*, oid,
431 uint64_t, snap,
432 uint64_t, osize,
433 uint64_t, offset,
434 uint64_t, length,
435 uint64_t, data_length),
436 TP_FIELDS(
437 ctf_string(oid, oid)
438 ctf_integer(uint64_t, snap, snap)
439 ctf_integer(uint64_t, osize, osize)
440 ctf_integer(uint64_t, offset, offset)
441 ctf_integer(uint64_t, length, length)
442 ctf_integer(uint64_t, data_length, data_length)
443 )
444 )
445
446 TRACEPOINT_EVENT(osd, do_osd_op_pre_rollback,
447 TP_ARGS(
448 const char*, oid,
449 uint64_t, snap),
450 TP_FIELDS(
451 ctf_string(oid, oid)
452 ctf_integer(uint64_t, snap, snap)
453 )
454 )
455
456 TRACEPOINT_EVENT(osd, do_osd_op_pre_zero,
457 TP_ARGS(
458 const char*, oid,
459 uint64_t, snap,
460 uint64_t, offset,
461 uint64_t, length),
462 TP_FIELDS(
463 ctf_string(oid, oid)
464 ctf_integer(uint64_t, snap, snap)
465 ctf_integer(uint64_t, offset, offset)
466 ctf_integer(uint64_t, length, length)
467 )
468 )
469
470 TRACEPOINT_EVENT(osd, do_osd_op_pre_create,
471 TP_ARGS(
472 const char*, oid,
473 uint64_t, snap),
474 TP_FIELDS(
475 ctf_string(oid, oid)
476 ctf_integer(uint64_t, snap, snap)
477 )
478 )
479
480 TRACEPOINT_EVENT(osd, do_osd_op_pre_truncate,
481 TP_ARGS(
482 const char*, oid,
483 uint64_t, snap,
484 uint64_t, osize,
485 uint32_t, oseq,
486 uint64_t, offset,
487 uint64_t, length,
488 uint64_t, truncate_size,
489 uint32_t, truncate_seq),
490 TP_FIELDS(
491 ctf_string(oid, oid)
492 ctf_integer(uint64_t, snap, snap)
493 ctf_integer(uint64_t, osize, osize)
494 ctf_integer(uint32_t, oseq, oseq)
495 ctf_integer(uint64_t, offset, offset)
496 ctf_integer(uint64_t, length, length)
497 ctf_integer(uint64_t, truncate_size, truncate_size)
498 ctf_integer(uint32_t, truncate_seq, truncate_seq)
499 )
500 )
501
502 TRACEPOINT_EVENT(osd, do_osd_op_pre_delete,
503 TP_ARGS(
504 const char*, oid,
505 uint64_t, snap),
506 TP_FIELDS(
507 ctf_string(oid, oid)
508 ctf_integer(uint64_t, snap, snap)
509 )
510 )
511
512 TRACEPOINT_EVENT(osd, do_osd_op_pre_clonerange,
513 TP_ARGS(
514 const char*, oid,
515 uint64_t, snap,
516 uint64_t, offset,
517 uint64_t, length,
518 uint64_t, src_offset),
519 TP_FIELDS(
520 ctf_string(oid, oid)
521 ctf_integer(uint64_t, snap, snap)
522 ctf_integer(uint64_t, offset, offset)
523 ctf_integer(uint64_t, length, length)
524 ctf_integer(uint64_t, src_offset, src_offset)
525 )
526 )
527
528 TRACEPOINT_EVENT(osd, do_osd_op_pre_watch,
529 TP_ARGS(
530 const char*, oid,
531 uint64_t, snap,
532 uint64_t, cookie,
533 uint8_t, op),
534 TP_FIELDS(
535 ctf_string(oid, oid)
536 ctf_integer(uint64_t, snap, snap)
537 ctf_integer(uint64_t, cookie, cookie)
538 ctf_integer(uint8_t, op, op)
539 )
540 )
541
542 TRACEPOINT_EVENT(osd, do_osd_op_pre_cache_pin,
543 TP_ARGS(
544 const char*, oid,
545 uint64_t, snap),
546 TP_FIELDS(
547 ctf_string(oid, oid)
548 ctf_integer(uint64_t, snap, snap)
549 )
550 )
551
552 TRACEPOINT_EVENT(osd, do_osd_op_pre_cache_unpin,
553 TP_ARGS(
554 const char*, oid,
555 uint64_t, snap),
556 TP_FIELDS(
557 ctf_string(oid, oid)
558 ctf_integer(uint64_t, snap, snap)
559 )
560 )
561
562 TRACEPOINT_EVENT(osd, do_osd_op_pre_setxattr,
563 TP_ARGS(
564 const char*, oid,
565 uint64_t, snap,
566 const char*, aname),
567 TP_FIELDS(
568 ctf_string(oid, oid)
569 ctf_integer(uint64_t, snap, snap)
570 ctf_string(aname, aname)
571 )
572 )
573
574 TRACEPOINT_EVENT(osd, do_osd_op_pre_rmxattr,
575 TP_ARGS(
576 const char*, oid,
577 uint64_t, snap,
578 const char*, aname),
579 TP_FIELDS(
580 ctf_string(oid, oid)
581 ctf_integer(uint64_t, snap, snap)
582 ctf_string(aname, aname)
583 )
584 )
585
586 TRACEPOINT_EVENT(osd, do_osd_op_pre_append,
587 TP_ARGS(
588 const char*, oid,
589 uint64_t, snap,
590 uint64_t, osize,
591 uint32_t, oseq,
592 uint64_t, offset,
593 uint64_t, length,
594 uint64_t, truncate_size,
595 uint32_t, truncate_seq),
596 TP_FIELDS(
597 ctf_string(oid, oid)
598 ctf_integer(uint64_t, snap, snap)
599 ctf_integer(uint64_t, osize, osize)
600 ctf_integer(uint32_t, oseq, oseq)
601 ctf_integer(uint64_t, offset, offset)
602 ctf_integer(uint64_t, length, length)
603 ctf_integer(uint64_t, truncate_size, truncate_size)
604 ctf_integer(uint32_t, truncate_seq, truncate_seq)
605 )
606 )
607
608 TRACEPOINT_EVENT(osd, do_osd_op_pre_startsync,
609 TP_ARGS(
610 const char*, oid,
611 uint64_t, snap),
612 TP_FIELDS(
613 ctf_string(oid, oid)
614 ctf_integer(uint64_t, snap, snap)
615 )
616 )
617
618 TRACEPOINT_EVENT(osd, do_osd_op_pre_tmapget,
619 TP_ARGS(
620 const char*, oid,
621 uint64_t, snap),
622 TP_FIELDS(
623 ctf_string(oid, oid)
624 ctf_integer(uint64_t, snap, snap)
625 )
626 )
627
628 TRACEPOINT_EVENT(osd, do_osd_op_pre_tmapput,
629 TP_ARGS(
630 const char*, oid,
631 uint64_t, snap),
632 TP_FIELDS(
633 ctf_string(oid, oid)
634 ctf_integer(uint64_t, snap, snap)
635 )
636 )
637
638 TRACEPOINT_EVENT(osd, do_osd_op_pre_tmapup,
639 TP_ARGS(
640 const char*, oid,
641 uint64_t, snap),
642 TP_FIELDS(
643 ctf_string(oid, oid)
644 ctf_integer(uint64_t, snap, snap)
645 )
646 )
647
648 TRACEPOINT_EVENT(osd, do_osd_op_pre_tmap2omap,
649 TP_ARGS(
650 const char*, oid,
651 uint64_t, snap),
652 TP_FIELDS(
653 ctf_string(oid, oid)
654 ctf_integer(uint64_t, snap, snap)
655 )
656 )
657
658 TRACEPOINT_EVENT(osd, do_osd_op_pre_omapgetkeys,
659 TP_ARGS(
660 const char*, oid,
661 uint64_t, snap,
662 const char*, start_after,
663 uint64_t, max_return),
664 TP_FIELDS(
665 ctf_string(oid, oid)
666 ctf_integer(uint64_t, snap, snap)
667 ctf_string(start_after, start_after)
668 ctf_integer(uint64_t, max_return, max_return)
669 )
670 )
671
672 TRACEPOINT_EVENT(osd, do_osd_op_pre_omapgetvals,
673 TP_ARGS(
674 const char*, oid,
675 uint64_t, snap,
676 const char*, start_after,
677 uint64_t, max_return,
678 const char*, filter_prefix),
679 TP_FIELDS(
680 ctf_string(oid, oid)
681 ctf_integer(uint64_t, snap, snap)
682 ctf_string(start_after, start_after)
683 ctf_integer(uint64_t, max_return, max_return)
684 ctf_string(filter_prefix, filter_prefix)
685 )
686 )
687
688 TRACEPOINT_EVENT(osd, do_osd_op_pre_omapgetheader,
689 TP_ARGS(
690 const char*, oid,
691 uint64_t, snap),
692 TP_FIELDS(
693 ctf_string(oid, oid)
694 ctf_integer(uint64_t, snap, snap)
695 )
696 )
697
698 TRACEPOINT_EVENT(osd, do_osd_op_pre_omapgetvalsbykeys,
699 TP_ARGS(
700 const char*, oid,
701 uint64_t, snap,
702 const char*, keys),
703 TP_FIELDS(
704 ctf_string(oid, oid)
705 ctf_integer(uint64_t, snap, snap)
706 ctf_string(keys, keys)
707 )
708 )
709
710 TRACEPOINT_EVENT(osd, do_osd_op_pre_omap_cmp,
711 TP_ARGS(
712 const char*, oid,
713 uint64_t, snap,
714 const char*, keys),
715 TP_FIELDS(
716 ctf_string(oid, oid)
717 ctf_integer(uint64_t, snap, snap)
718 ctf_string(keys, keys)
719 )
720 )
721
722 TRACEPOINT_EVENT(osd, do_osd_op_pre_omapsetvals,
723 TP_ARGS(
724 const char*, oid,
725 uint64_t, snap),
726 TP_FIELDS(
727 ctf_string(oid, oid)
728 ctf_integer(uint64_t, snap, snap)
729 )
730 )
731
732 TRACEPOINT_EVENT(osd, do_osd_op_pre_omapsetheader,
733 TP_ARGS(
734 const char*, oid,
735 uint64_t, snap),
736 TP_FIELDS(
737 ctf_string(oid, oid)
738 ctf_integer(uint64_t, snap, snap)
739 )
740 )
741
742 TRACEPOINT_EVENT(osd, do_osd_op_pre_omapclear,
743 TP_ARGS(
744 const char*, oid,
745 uint64_t, snap),
746 TP_FIELDS(
747 ctf_string(oid, oid)
748 ctf_integer(uint64_t, snap, snap)
749 )
750 )
751
752 TRACEPOINT_EVENT(osd, do_osd_op_pre_omaprmkeys,
753 TP_ARGS(
754 const char*, oid,
755 uint64_t, snap),
756 TP_FIELDS(
757 ctf_string(oid, oid)
758 ctf_integer(uint64_t, snap, snap)
759 )
760 )
761
762 TRACEPOINT_EVENT(osd, do_osd_op_pre_copy_get_classic,
763 TP_ARGS(
764 const char*, oid,
765 uint64_t, snap),
766 TP_FIELDS(
767 ctf_string(oid, oid)
768 ctf_integer(uint64_t, snap, snap)
769 )
770 )
771
772 TRACEPOINT_EVENT(osd, do_osd_op_pre_copy_get,
773 TP_ARGS(
774 const char*, oid,
775 uint64_t, snap),
776 TP_FIELDS(
777 ctf_string(oid, oid)
778 ctf_integer(uint64_t, snap, snap)
779 )
780 )
781
782 TRACEPOINT_EVENT(osd, do_osd_op_pre_copy_from,
783 TP_ARGS(
784 const char*, oid,
785 uint64_t, snap,
786 const char*, src_name,
787 int64_t, src_pool,
788 const char*, src_key,
789 const char*, src_nspace,
790 int64_t, src_hash,
791 uint64_t, src_snapid,
792 uint64_t, src_version),
793 TP_FIELDS(
794 ctf_string(oid, oid)
795 ctf_integer(uint64_t, snap, snap)
796 ctf_string(src_name, src_name)
797 ctf_integer(int64_t, src_pool, src_pool)
798 ctf_string(src_key, src_key)
799 ctf_string(src_nspace, src_nspace)
800 ctf_integer(int64_t, src_hash, src_hash)
801 ctf_integer(uint64_t, src_snapid, src_snapid)
802 ctf_integer(uint64_t, src_version, src_version)
803 )
804 )
805
806 TRACEPOINT_EVENT(osd, do_osd_op_pre_unknown,
807 TP_ARGS(
808 const char*, oid,
809 uint64_t, snap,
810 uint16_t, op,
811 const char*, opname),
812 TP_FIELDS(
813 ctf_string(oid, oid)
814 ctf_integer(uint64_t, snap, snap)
815 ctf_integer_hex(uint16_t, op, op)
816 ctf_string(opname, opname)
817 )
818 )
819
820 TRACEPOINT_EVENT(osd, do_osd_op_post,
821 TP_ARGS(
822 const char*, oid,
823 uint64_t, snap,
824 uint16_t, op,
825 const char*, opname,
826 uint32_t, flags,
827 int, result),
828 TP_FIELDS(
829 ctf_string(oid, oid)
830 ctf_integer(uint64_t, snap, snap)
831 ctf_integer_hex(uint16_t, op, op)
832 ctf_string(opname, opname)
833 ctf_integer_hex(uint32_t, flags, flags)
834 ctf_integer_hex(int, result, result)
835 )
836 )