#include "messages/MOSDPGUpdateLogMissing.h"
#include "messages/MOSDPGUpdateLogMissingReply.h"
+#ifdef WITH_BLKIN
+#include "Messenger.h"
+#endif
+
#define DEBUGLVL 10 // debug level of output
#define dout_subsys ceph_subsys_ms
const auto msgr = connection->get_messenger();
const auto endpoint = msgr->get_trace_endpoint();
if (info.trace_id) {
- trace.init(get_type_name(), endpoint, &info, true);
+ trace.init(get_type_name().data(), endpoint, &info, true);
trace.event("decoded trace");
} else if (create || (msgr->get_myname().is_osd() &&
msgr->cct->_conf->osd_blkin_trace_all)) {
// create a trace even if we didn't get one on the wire
- trace.init(get_type_name(), endpoint);
+ trace.init(get_type_name().data(), endpoint);
trace.event("created trace");
}
trace.keyval("tid", get_tid());