From 1802bc253566ab58bce1983da4bb6388271c275c Mon Sep 17 00:00:00 2001 From: Adam Crume Date: Wed, 18 Jun 2014 10:52:56 -0700 Subject: [PATCH] lttng: Add rmw_flags to tracepoint in PG::queue_op Signed-off-by: Adam Crume --- src/osd/PG.cc | 2 +- src/tracing/pg.tp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index a6bfa34ae6ba5..a4747c0ed86b9 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -1726,7 +1726,7 @@ void PG::queue_op(OpRequestRef& op) // after queue() to include any locking costs osd_reqid_t reqid = op->get_reqid(); tracepoint(pg, queue_op, reqid.name._type, - reqid.name._num, reqid.tid, reqid.inc); + reqid.name._num, reqid.tid, reqid.inc, op->rmw_flags); } } diff --git a/src/tracing/pg.tp b/src/tracing/pg.tp index 01476ab5d753e..ce14740632916 100644 --- a/src/tracing/pg.tp +++ b/src/tracing/pg.tp @@ -4,11 +4,13 @@ TRACEPOINT_EVENT(pg, queue_op, uint8_t, type, int64_t, num, uint64_t, tid, - int32_t, inc), + int32_t, inc, + int, rmw_flags), TP_FIELDS( ctf_integer(uint8_t, type, type) ctf_integer(int64_t, num, num) ctf_integer(uint64_t, tid, tid) ctf_integer(int32_t, inc, inc) + ctf_integer(int, rmw_flags, rmw_flags) ) ) -- 2.39.5