Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / perfglue / disabled_heap_profiler.cc
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- 
2 // vim: ts=8 sw=2 smarttab
3 /*
4  * Ceph - scalable distributed file system
5  *
6  * Copyright (C) 2011 New Dream Network/Sage Weil <sage@newdream.net>
7  *
8  * This is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License version 2.1, as published by the Free Software 
11  * Foundation.  See file COPYING.
12  * 
13  */
14 #include "heap_profiler.h"
15
16 bool ceph_using_tcmalloc() { return false; }
17
18 void ceph_heap_profiler_init() { return; }
19
20 void ceph_heap_profiler_stats(char *buf, int length) { return; }
21
22 void ceph_heap_release_free_memory() { return; }
23
24 bool ceph_heap_profiler_running() { return false; }
25
26 void ceph_heap_profiler_start() { return; }
27
28 void ceph_heap_profiler_stop() { return; }
29
30 void ceph_heap_profiler_dump(const char *reason) { return; }
31
32 bool ceph_heap_get_numeric_property(const char *property, size_t *value)
33 {
34   return false;
35 }
36
37 bool ceph_heap_set_numeric_property(const char *property, size_t value)
38 {
39   return false;
40 }
41
42 void ceph_heap_profiler_handle_command(const std::vector<std::string>& cmd,
43                                        ostream& out) { return; }