diff options
author | Kefu Chai <kchai@redhat.com> | 2018-11-02 14:51:16 +0100 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2018-11-07 23:05:25 +0100 |
commit | 0e5bdd9d56396773b53223a02a0f090657cdf059 (patch) | |
tree | 1d13025a34b76a0794a3d08f382f1757d26c4443 /src/tracing | |
parent | librados: add new setxattr overload back (diff) | |
download | ceph-0e5bdd9d56396773b53223a02a0f090657cdf059.tar.xz ceph-0e5bdd9d56396773b53223a02a0f090657cdf059.zip |
librados: remove rados_tmap_*
we have switched from tmap to omap long ago.
but keep the server side implementation around, in case ancient
client is still using these tmap APIs.
also, tmap_update() is kept, because librbd is using it for v1 image
backward compatibility.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/tracing')
-rw-r--r-- | src/tracing/librados.tp | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/src/tracing/librados.tp b/src/tracing/librados.tp index 98462ce0483..4921258dfa6 100644 --- a/src/tracing/librados.tp +++ b/src/tracing/librados.tp @@ -1697,94 +1697,6 @@ TRACEPOINT_EVENT(librados, rados_stat_exit, ) ) -TRACEPOINT_EVENT(librados, rados_tmap_update_enter, - TP_ARGS( - rados_ioctx_t, ioctx, - const char*, oid, - const char*, cmdbuf, - size_t, cmdbuflen), - TP_FIELDS( - ctf_integer_hex(rados_ioctx_t, ioctx, ioctx) - ctf_string(oid, oid) - ctf_sequence(unsigned char, cmdbuf, cmdbuf, size_t, CEPH_MIN(cmdbuflen, CEPH_TRACE_BUF_TRUNC_LEN)) - ctf_integer(size_t, cmdbuflen, cmdbuflen) - ) -) - -TRACEPOINT_EVENT(librados, rados_tmap_update_exit, - TP_ARGS( - int, retval), - TP_FIELDS( - ctf_integer(int, retval, retval) - ) -) - -TRACEPOINT_EVENT(librados, rados_tmap_put_enter, - TP_ARGS( - rados_ioctx_t, ioctx, - const char*, oid, - const char*, buf, - size_t, buflen), - TP_FIELDS( - ctf_integer_hex(rados_ioctx_t, ioctx, ioctx) - ctf_string(oid, oid) - ctf_sequence(unsigned char, buf, buf, size_t, CEPH_MIN(buflen, CEPH_TRACE_BUF_TRUNC_LEN)) - ctf_integer(size_t, buflen, buflen) - ) -) - -TRACEPOINT_EVENT(librados, rados_tmap_put_exit, - TP_ARGS( - int, retval), - TP_FIELDS( - ctf_integer(int, retval, retval) - ) -) - -TRACEPOINT_EVENT(librados, rados_tmap_get_enter, - TP_ARGS( - rados_ioctx_t, ioctx, - const char*, oid, - size_t, buflen), - TP_FIELDS( - ctf_integer_hex(rados_ioctx_t, ioctx, ioctx) - ctf_string(oid, oid) - ctf_integer(size_t, buflen, buflen) - ) -) - -TRACEPOINT_EVENT(librados, rados_tmap_get_exit, - TP_ARGS( - int, retval, - char*, buf, - int, len), - TP_FIELDS( - ctf_integer(int, retval, retval) - ctf_sequence(unsigned char, buf, buf, uint32_t, CEPH_MIN((size_t)len, CEPH_TRACE_BUF_TRUNC_LEN)) - ctf_integer(int, len, len) - ) -) - -TRACEPOINT_EVENT(librados, rados_tmap_to_omap_enter, - TP_ARGS( - rados_ioctx_t, ioctx, - const char*, oid, - char, nullok), - TP_FIELDS( - ctf_integer_hex(rados_ioctx_t, ioctx, ioctx) - ctf_string(oid, oid) - ctf_integer(char, nullok, nullok) - ) -) - -TRACEPOINT_EVENT(librados, rados_tmap_to_omap_exit, - TP_ARGS( - int, retval), - TP_FIELDS( - ctf_integer(int, retval, retval) - ) -) - TRACEPOINT_EVENT(librados, rados_exec_enter, TP_ARGS( rados_ioctx_t, ioctx, |