]>
Commit | Line | Data |
---|---|---|
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 | ||
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 | ||
11fdf7f2 TL |
24 | double ceph_heap_get_release_rate() { return 0; } |
25 | ||
26 | void ceph_heap_set_release_rate(double value) { return; } | |
27 | ||
7c673cae FG |
28 | bool ceph_heap_profiler_running() { return false; } |
29 | ||
30 | void ceph_heap_profiler_start() { return; } | |
31 | ||
32 | void ceph_heap_profiler_stop() { return; } | |
33 | ||
34 | void ceph_heap_profiler_dump(const char *reason) { return; } | |
35 | ||
36 | bool ceph_heap_get_numeric_property(const char *property, size_t *value) | |
37 | { | |
38 | return false; | |
39 | } | |
40 | ||
41 | bool ceph_heap_set_numeric_property(const char *property, size_t value) | |
42 | { | |
43 | return false; | |
44 | } | |
45 | ||
46 | void ceph_heap_profiler_handle_command(const std::vector<std::string>& cmd, | |
47 | ostream& out) { return; } |