summaryrefslogtreecommitdiffstats
path: root/src/tracing
diff options
context:
space:
mode:
authorJason Dillaman <dillaman@redhat.com>2017-03-30 16:08:42 +0200
committerJason Dillaman <dillaman@redhat.com>2017-04-18 04:54:21 +0200
commit2f4b8c0cf95068e7331d697265e1f93bccd024d1 (patch)
tree65786498a28fdc942b6dfbf058e77e6b184c01dc /src/tracing
parentcommon/Checksummer: allow the initial/seed value to be supplied (diff)
downloadceph-2f4b8c0cf95068e7331d697265e1f93bccd024d1.tar.xz
ceph-2f4b8c0cf95068e7331d697265e1f93bccd024d1.zip
osd: new op for retrieving an extent checksum
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'src/tracing')
-rw-r--r--src/tracing/osd.tp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/tracing/osd.tp b/src/tracing/osd.tp
index 36ffa7e85f7..3582ce63b8b 100644
--- a/src/tracing/osd.tp
+++ b/src/tracing/osd.tp
@@ -113,6 +113,28 @@ TRACEPOINT_EVENT(osd, do_osd_op_pre_read,
)
)
+TRACEPOINT_EVENT(osd, do_osd_op_pre_checksum,
+ TP_ARGS(
+ const char*, oid,
+ uint64_t, snap,
+ uint64_t, osize,
+ uint32_t, oseq,
+ uint8_t, type,
+ uint64_t, offset,
+ uint64_t, length,
+ uint32_t, chunk_size),
+ TP_FIELDS(
+ ctf_string(oid, oid)
+ ctf_integer(uint64_t, snap, snap)
+ ctf_integer(uint64_t, osize, osize)
+ ctf_integer(uint32_t, oseq, oseq)
+ ctf_integer(uint8_t, type, type)
+ ctf_integer(uint64_t, offset, offset)
+ ctf_integer(uint64_t, length, length)
+ ctf_integer(uint32_t, chunk_size, chunk_size)
+ )
+)
+
TRACEPOINT_EVENT(osd, do_osd_op_pre_mapext,
TP_ARGS(
const char*, oid,