diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
commit | 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch) | |
tree | e5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/tracing/cyg_profile.tp | |
parent | Initial commit. (diff) | |
download | ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.tar.xz ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.zip |
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/tracing/cyg_profile.tp')
-rw-r--r-- | src/tracing/cyg_profile.tp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/tracing/cyg_profile.tp b/src/tracing/cyg_profile.tp new file mode 100644 index 00000000..42d9b4c9 --- /dev/null +++ b/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) + ) +) + |