~ubuntu-branches/ubuntu/precise/ceph/precise-proposed

« back to all changes in this revision

Viewing changes to src/perfglue/disabled_heap_profiler.cc

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2011-04-25 10:09:05 UTC
  • mfrom: (1.1.3 upstream) (0.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110425100905-exm7dfvi2v5ick02
Tags: 0.27-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
void ceph_heap_profiler_handle_command(const std::vector<std::string>& cmd,
 
33
                                       LogClient& clog) { return; }