initial code repo
[stor4nfv.git] / src / ceph / src / tracing / cyg_profile.tp
diff --git a/src/ceph/src/tracing/cyg_profile.tp b/src/ceph/src/tracing/cyg_profile.tp
new file mode 100644 (file)
index 0000000..42d9b4c
--- /dev/null
@@ -0,0 +1,23 @@
+#include "include/int_types.h"
+
+TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_entry,
+    TP_ARGS(
+        void *,  func_addr,
+        void *,  call_site),
+    TP_FIELDS(
+          ctf_integer_hex(unsigned long, addr, func_addr)
+          ctf_integer_hex(unsigned long, call_site, call_site)
+    )
+)
+
+TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_exit,
+    TP_ARGS(
+          void *,  func_addr,
+          void *,  call_site
+    ),
+    TP_FIELDS(
+          ctf_integer_hex(unsigned long, addr, func_addr)
+          ctf_integer_hex(unsigned long, call_site, call_site)
+    )
+)
+