summaryrefslogtreecommitdiffstats
path: root/src/tracing/pg.tp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tracing/pg.tp')
-rw-r--r--src/tracing/pg.tp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/tracing/pg.tp b/src/tracing/pg.tp
new file mode 100644
index 00000000..264e7534
--- /dev/null
+++ b/src/tracing/pg.tp
@@ -0,0 +1,18 @@
+#include "include/int_types.h"
+
+TRACEPOINT_EVENT(pg, queue_op,
+ TP_ARGS(
+ // osd_reqid_t
+ uint8_t, type,
+ int64_t, num,
+ uint64_t, tid,
+ int32_t, inc,
+ int, rmw_flags),
+ TP_FIELDS(
+ ctf_integer(uint8_t, type, type)
+ ctf_integer(int64_t, num, num)
+ ctf_integer(uint64_t, tid, tid)
+ ctf_integer(int32_t, inc, inc)
+ ctf_integer(int, rmw_flags, rmw_flags)
+ )
+)