--- /dev/null
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// vim: ts=8 sw=2 smarttab
+
+#include "include/buffer.h"
+
+namespace ceph::buffer_instrumentation {
+
+struct instrumented_bptr : public ceph::buffer::ptr {
+ const ceph::buffer::raw* get_raw() const {
+ return _raw;
+ }
+};
+
+} // namespace ceph::buffer_instrumentation
#include "include/utime.h"
#include "include/coredumpctl.h"
#include "include/encoding.h"
+#include "common/buffer_instrumentation.h"
#include "common/environment.h"
#include "common/Clock.h"
#include "common/safe_io.h"
static char cmd[128];
-struct instrumented_bptr : public ceph::buffer::ptr {
- const ceph::buffer::raw* get_raw() const {
- return _raw;
- }
-};
+using ceph::buffer_instrumentation::instrumented_bptr;
TEST(Buffer, constructors) {
unsigned len = 17;