]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/kvstore_tool.h
import quincy beta 17.1.0
[ceph.git] / ceph / src / tools / kvstore_tool.h
index d8c8966130aac69703e386ffd4eca76b022af4da..330cba7c98dbd53ad9f3f931c57cd37531f5e53e 100644 (file)
@@ -3,8 +3,8 @@
 
 #pragma once
 
+#include <iosfwd>
 #include <memory>
-#include <ostream>
 #include <string>
 
 #include "acconfig.h"
@@ -49,7 +49,7 @@ public:
   uint32_t traverse(const std::string& prefix,
                     const bool do_crc,
                     const bool do_value_dump,
-                    ostream *out);
+                    std::ostream *out);
   void list(const std::string& prefix,
            const bool do_crc,
            const bool do_value_dump);
@@ -77,4 +77,5 @@ public:
   int destructive_repair();
 
   int print_stats() const;
+  int build_size_histogram(const std::string& prefix) const;
 };