diff options
author | runsisi <runsisi@zte.com.cn> | 2017-04-21 10:32:33 +0200 |
---|---|---|
committer | runsisi <runsisi@zte.com.cn> | 2017-06-20 07:52:06 +0200 |
commit | 0358f29c9d46dc98fd63173dae78cfa33c5f75bf (patch) | |
tree | 9d235f445fe1e6c1af05404fab27216b80634325 /src/tracing | |
parent | Merge pull request #15651 from zealoussnow/wip-0613 (diff) | |
download | ceph-0358f29c9d46dc98fd63173dae78cfa33c5f75bf.tar.xz ceph-0358f29c9d46dc98fd63173dae78cfa33c5f75bf.zip |
librbd: add create timestamp metadata for image
Signed-off-by: runsisi <runsisi@zte.com.cn>
Diffstat (limited to 'src/tracing')
-rw-r--r-- | src/tracing/librbd.tp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/tracing/librbd.tp b/src/tracing/librbd.tp index 7078390daed..f8c77142a78 100644 --- a/src/tracing/librbd.tp +++ b/src/tracing/librbd.tp @@ -1934,6 +1934,28 @@ TRACEPOINT_EVENT(librbd, get_stripe_count_exit, ) ) +TRACEPOINT_EVENT(librbd, get_create_timestamp_enter, + TP_ARGS( + void*, imagectx, + const char*, name, + char, read_only), + TP_FIELDS( + ctf_integer_hex(void*, imagectx, imagectx) + ctf_string(name, name) + ctf_integer(char, read_only, read_only) + ) +) + +TRACEPOINT_EVENT(librbd, get_create_timestamp_exit, + TP_ARGS( + int, retval, + struct timespec*, timestamp), + TP_FIELDS( + ctf_integer(int, retval, retval) + ctf_integer(uint64_t, timestamp, timestamp->tv_sec) + ) +) + TRACEPOINT_EVENT(librbd, get_features_enter, TP_ARGS( void*, imagectx, |