diff options
author | Victor Denisov <denisovenator@gmail.com> | 2016-05-27 05:51:43 +0200 |
---|---|---|
committer | Victor Denisov <denisovenator@gmail.com> | 2016-06-16 08:32:52 +0200 |
commit | d6f8b92267a78c1b68ec354e7041adff3b880582 (patch) | |
tree | bc56b8ffcc789346984ff49a3981aa4122e8a52f /src/tracing/librbd.tp | |
parent | cls_rbd: Add cg_create, cg_dir_add, cg_dir_remove, cg_dir_list (diff) | |
download | ceph-d6f8b92267a78c1b68ec354e7041adff3b880582.tar.xz ceph-d6f8b92267a78c1b68ec354e7041adff3b880582.zip |
librbd: Add cg_create, cg_list, cg_remove
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
Diffstat (limited to 'src/tracing/librbd.tp')
-rw-r--r-- | src/tracing/librbd.tp | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/src/tracing/librbd.tp b/src/tracing/librbd.tp index f91e4e3ee93..bbbfae289d3 100644 --- a/src/tracing/librbd.tp +++ b/src/tracing/librbd.tp @@ -1795,3 +1795,69 @@ TRACEPOINT_EVENT(librbd, stat_exit, ctf_array_text(char, parent_name, info->parent_name, RBD_MAX_IMAGE_NAME_SIZE) ) ) + +TRACEPOINT_EVENT(librbd, group_create_enter, + TP_ARGS( + const char*, pool_name, + int64_t, id, + const char*, groupname), + TP_FIELDS( + ctf_string(pool_name, pool_name) + ctf_integer(int64_t, id, id) + ctf_string(groupname, groupname) + ) +) + +TRACEPOINT_EVENT(librbd, group_create_exit, + TP_ARGS( + int, retval), + TP_FIELDS( + ctf_integer(int, retval, retval) + ) +) + +TRACEPOINT_EVENT(librbd, group_remove_enter, + TP_ARGS( + const char*, pool_name, + int64_t, id, + const char*, groupname), + TP_FIELDS( + ctf_string(pool_name, pool_name) + ctf_integer(int64_t, id, id) + ctf_string(groupname, groupname) + ) +) + +TRACEPOINT_EVENT(librbd, group_remove_exit, + TP_ARGS( + int, retval), + TP_FIELDS( + ctf_integer(int, retval, retval) + ) +) + +TRACEPOINT_EVENT(librbd, group_list_enter, + TP_ARGS( + const char*, pool_name, + int64_t, id), + TP_FIELDS( + ctf_string(pool_name, pool_name) + ctf_integer(int64_t, id, id) + ) +) + +TRACEPOINT_EVENT(librbd, group_list_entry, + TP_ARGS( + const char*, name), + TP_FIELDS( + ctf_string(name, name) + ) +) + +TRACEPOINT_EVENT(librbd, group_list_exit, + TP_ARGS( + int, retval), + TP_FIELDS( + ctf_integer(int, retval, retval) + ) +) |