]> git.proxmox.com Git - ceph.git/blame - ceph/src/perfglue/disabled_heap_profiler.cc
import 15.2.9
[ceph.git] / ceph / src / perfglue / disabled_heap_profiler.cc
CommitLineData
7c673cae
FG
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
16bool ceph_using_tcmalloc() { return false; }
17
18void ceph_heap_profiler_init() { return; }
19
20void ceph_heap_profiler_stats(char *buf, int length) { return; }
21
22void ceph_heap_release_free_memory() { return; }
23
11fdf7f2
TL
24double ceph_heap_get_release_rate() { return 0; }
25
26void ceph_heap_set_release_rate(double value) { return; }
27
7c673cae
FG
28bool ceph_heap_profiler_running() { return false; }
29
30void ceph_heap_profiler_start() { return; }
31
32void ceph_heap_profiler_stop() { return; }
33
34void ceph_heap_profiler_dump(const char *reason) { return; }
35
36bool ceph_heap_get_numeric_property(const char *property, size_t *value)
37{
38 return false;
39}
40
41bool ceph_heap_set_numeric_property(const char *property, size_t value)
42{
43 return false;
44}
45
46void ceph_heap_profiler_handle_command(const std::vector<std::string>& cmd,
47 ostream& out) { return; }