X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Ftracing%2Fcyg_profile.tp;fp=src%2Fceph%2Fsrc%2Ftracing%2Fcyg_profile.tp;h=42d9b4c92ce1e1ee2fa1bc04cfd99f470f3b97f9;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/tracing/cyg_profile.tp b/src/ceph/src/tracing/cyg_profile.tp new file mode 100644 index 0000000..42d9b4c --- /dev/null +++ b/src/ceph/src/tracing/cyg_profile.tp @@ -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) + ) +) +