Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / tracing / oprequest.tp
1 #include "include/int_types.h"
2
3 TRACEPOINT_EVENT(oprequest, set_rmw_flags,
4     TP_ARGS(
5         // osd_reqid_t
6         uint8_t,  type,
7         int64_t,  num,
8         uint64_t, tid,
9         int32_t,  inc,
10         int,      flag,
11         int,      old_rmw_flags,
12         int,      new_rmw_flags),
13     TP_FIELDS(
14         ctf_integer(uint8_t, type, type)
15         ctf_integer(int64_t, num, num)
16         ctf_integer(uint64_t, tid, tid)
17         ctf_integer(int32_t, inc, inc)
18         ctf_integer_hex(int, flag, flag)
19         ctf_integer_hex(int, old_rmw_flags, old_rmw_flags)
20         ctf_integer_hex(int, new_rmw_flags, new_rmw_flags)
21     )
22 )
23
24 TRACEPOINT_EVENT(oprequest, mark_flag_point,
25     TP_ARGS(
26         // osd_reqid_t
27         uint8_t,  type,
28         int64_t,  num,
29         uint64_t, tid,
30         int32_t,  inc,
31         int,      rmw_flags,
32         uint8_t,  flag,
33         const char*,    msg,
34         uint8_t,  old_hit_flag_points,
35         uint8_t,  new_hit_flag_points),
36     TP_FIELDS(
37         ctf_integer(uint8_t, type, type)
38         ctf_integer(int64_t, num, num)
39         ctf_integer(uint64_t, tid, tid)
40         ctf_integer(int32_t, inc, inc)
41         ctf_integer_hex(int, rmw_flags, rmw_flags)
42         ctf_integer_hex(uint8_t, flag, flag)
43         ctf_string(msg, msg)
44         ctf_integer_hex(uint8_t, old_hit_flag_points, old_hit_flag_points)
45         ctf_integer_hex(uint8_t, new_hit_flag_points, new_hit_flag_points)
46     )
47 )