diff options
author | Casey Bodley <cbodley@redhat.com> | 2023-05-23 19:24:42 +0200 |
---|---|---|
committer | Casey Bodley <cbodley@redhat.com> | 2023-05-23 21:37:16 +0200 |
commit | 7d58f1832d8d8bc1148240d347be85850b86adfa (patch) | |
tree | 1966c0a74512cb20a14f87e0827ba1c34bdcac9e /src/tracing | |
parent | librados: rados_write_op_operate() uses ObjectOperationImpl for mtime (diff) | |
download | ceph-7d58f1832d8d8bc1148240d347be85850b86adfa.tar.xz ceph-7d58f1832d8d8bc1148240d347be85850b86adfa.zip |
librados: add rados_aio_write_op_operate2() for high-resolution timestamps
expose the aio version of rados_write_op_operate2() for mtimes in timespec form
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/tracing')
-rw-r--r-- | src/tracing/librados.tp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/tracing/librados.tp b/src/tracing/librados.tp index 42559097b84..8b5e78ef15d 100644 --- a/src/tracing/librados.tp +++ b/src/tracing/librados.tp @@ -3597,6 +3597,24 @@ TRACEPOINT_EVENT(librados, rados_aio_write_op_operate_enter, ) ) +TRACEPOINT_EVENT(librados, rados_aio_write_op_operate2_enter, + TP_ARGS( + rados_write_op_t, op, + rados_ioctx_t, ioctx, + rados_completion_t, completion, + const char*, oid, + struct timespec*, ts, + int, flags), + TP_FIELDS( + ctf_integer_hex(rados_write_op_t, op, op) + ctf_integer_hex(rados_ioctx_t, ioctx, ioctx) + ctf_integer_hex(rados_completion_t, completion, completion) + ctf_string(oid, oid) + ceph_ctf_timespecp(ts, ts) + ctf_integer_hex(int, flags, flags) + ) +) + TRACEPOINT_EVENT(librados, rados_aio_write_op_operate_exit, TP_ARGS( int, retval), |