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

« back to all changes in this revision

Viewing changes to src/common/debug.h

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum, Clint Byrum, Micah Gersten
  • Date: 2011-02-12 22:50:26 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110212225026-yyyw4tk0msgql3ul
Tags: 0.24.2-0ubuntu1
[ Clint Byrum <clint@ubuntu.com> ]
* New upstream release. (LP: #658670, LP: #684011)
* debian/patches/fix-mkcephfs.patch: dropped (applied upstream)
* Removed .la files from libceph1-dev, libcrush1-dev and 
  librados1-dev (per Debian policy v3.9.1 10.2).
* debian/control: adding pkg-config as a build dependency
* debian/control: depend on libcrypto++-dev instead of libssl-dev
* debian/watch: added watch file

[ Micah Gersten <micahg@ubuntu.com> ]
* debian/control: add Homepage

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#ifndef CEPH_DEBUG_H
5
5
#define CEPH_DEBUG_H
6
6
 
 
7
#include "config.h" // for g_conf
7
8
#include "include/assert.h"
8
9
#include "Mutex.h"
9
10
#include "Clock.h"
75
76
 
76
77
 
77
78
// generic macros
78
 
#define generic_dout(x) do { if ((x) <= g_conf.debug) { *_dout << dbeginl << std::hex << pthread_self() << std::dec << " "
79
 
#define generic_derr(x) do { if ((x) <= g_conf.debug) { *_derr << dbeginl << std::hex << pthread_self() << std::dec << " "
 
79
#define generic_dout(x) do { if ((x) <= g_conf.debug) { *_dout << dbeginl
 
80
#define generic_derr(x) do { if ((x) <= g_conf.debug) { *_derr << dbeginl
80
81
 
81
82
#define pdout(x,p) do { if ((x) <= (p)) { *_dout << dbeginl
82
83