summaryrefslogtreecommitdiffstats
path: root/src/perfglue/disabled_heap_profiler.cc
diff options
context:
space:
mode:
authorSamuel Just <sjust@redhat.com>2016-01-20 23:54:18 +0100
committerSamuel Just <sjust@redhat.com>2016-01-20 23:54:18 +0100
commit99b054f1fce51b50fdfa0a944ed49717edb69ced (patch)
tree9817c2404a0b8d2304ddfaf3f4317e3347f4b42c /src/perfglue/disabled_heap_profiler.cc
parentMerge pull request #7231 from renhwsky/renhw-wip-14369 (diff)
downloadceph-99b054f1fce51b50fdfa0a944ed49717edb69ced.tar.xz
ceph-99b054f1fce51b50fdfa0a944ed49717edb69ced.zip
osd/: make heap properties gettable from admin_socket
Signed-off-by: Samuel Just <sjust@redhat.com>
Diffstat (limited to 'src/perfglue/disabled_heap_profiler.cc')
-rw-r--r--src/perfglue/disabled_heap_profiler.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/perfglue/disabled_heap_profiler.cc b/src/perfglue/disabled_heap_profiler.cc
index d2d4cb736e9..64a2939098a 100644
--- a/src/perfglue/disabled_heap_profiler.cc
+++ b/src/perfglue/disabled_heap_profiler.cc
@@ -29,5 +29,10 @@ void ceph_heap_profiler_stop() { return; }
void ceph_heap_profiler_dump(const char *reason) { return; }
+bool ceph_heap_get_numeric_property(const char *property, size_t *value)
+{
+ return false;
+}
+
void ceph_heap_profiler_handle_command(const std::vector<std::string>& cmd,
ostream& out) { return; }