]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/TrackedOp: add missing includes
authorMax Kellermann <max.kellermann@ionos.com>
Mon, 28 Oct 2024 20:53:19 +0000 (21:53 +0100)
committerMax Kellermann <max.kellermann@ionos.com>
Mon, 9 Dec 2024 21:51:33 +0000 (22:51 +0100)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/common/TrackedOp.cc
src/common/TrackedOp.h

index b888d9334808dd54a8d4f1241b3fd8d2a9df0709..33a95421889ad0f1db405b436f7bb46661c1d2e2 100644 (file)
@@ -12,6 +12,9 @@
 
 #include "TrackedOp.h"
 
+#include <shared_mutex> // for std::shared_lock
+#include <sstream>
+
 #define dout_context cct
 #define dout_subsys ceph_subsys_optracker
 #undef dout_prefix
index 57d73038364ddfdc69c6b8b57dbdcfed61f6ec57..2cfe470488fffc12285cc0f1ddb48a4ce3512017 100644 (file)
 #include "common/StackStringStream.h"
 #include "common/ceph_mutex.h"
 #include "common/histogram.h"
+#include "common/perf_counters.h" // for class PerfCountersBuilder
 #include "common/Thread.h"
 #include "common/Clock.h"
 #include "include/spinlock.h"
 #include "msg/Message.h"
 
+#if defined(WITH_SEASTAR) && !defined(WITH_ALIEN)
+#include "crimson/common/perf_counters_collection.h"
+#else
+#include "common/perf_counters_collection.h"
+#endif
+
 #define OPTRACKER_PREALLOC_EVENTS 20
 
 class TrackedOp;