summaryrefslogtreecommitdiffstats
path: root/src/tracing/librbd.tp
diff options
context:
space:
mode:
authorTheofilos Mouratidis <t.mour@cern.ch>2018-10-03 13:42:26 +0200
committerJason Dillaman <dillaman@redhat.com>2019-01-11 15:18:45 +0100
commitb6f9aab03713410dd1b50edc7fc1d71242ac3e74 (patch)
treeac1c468c3ba58298805eb9c39b4fd2ce62560274 /src/tracing/librbd.tp
parentMerge PR #25898 into master (diff)
downloadceph-b6f9aab03713410dd1b50edc7fc1d71242ac3e74.tar.xz
ceph-b6f9aab03713410dd1b50edc7fc1d71242ac3e74.zip
librbd: add trash purge api calls
Add trash purge api calls and fix the docs of some other rbd trash functions Signed-off-by: Theofilos Mouratidis <mtheofilos@gmail.com>
Diffstat (limited to 'src/tracing/librbd.tp')
-rw-r--r--src/tracing/librbd.tp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/tracing/librbd.tp b/src/tracing/librbd.tp
index cd13e45fd9a..8a8d4e4194e 100644
--- a/src/tracing/librbd.tp
+++ b/src/tracing/librbd.tp
@@ -552,6 +552,27 @@ TRACEPOINT_EVENT(librbd, trash_list_exit,
)
)
+TRACEPOINT_EVENT(librbd, trash_purge_enter,
+ TP_ARGS(
+ const char*, pool_name,
+ int64_t, id,
+ time_t, expire_ts,
+ float, threshold),
+ TP_FIELDS(
+ ctf_string(pool_name, pool_name)
+ ctf_integer(int64_t, id, id)
+ ceph_ctf_time_t(expire_ts, expire_ts)
+ ctf_float(float, threshold, threshold)
+ )
+)
+
+TRACEPOINT_EVENT(librbd, trash_purge_exit,
+ TP_ARGS(int, retval),
+ TP_FIELDS(
+ ctf_integer(int, retval, retval)
+ )
+)
+
TRACEPOINT_EVENT(librbd, trash_remove_enter,
TP_ARGS(
const char*, pool_name,