From e68d24c99039ba305afbd611dc7888c9860ed93c Mon Sep 17 00:00:00 2001 From: sageweil Date: Sat, 17 Feb 2007 19:02:49 +0000 Subject: [PATCH] debug prefix git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1103 29311d96-e01e-0410-9327-a35deaab8ce9 --- branches/sage/cephmds2/client/Client.cc | 2 +- branches/sage/cephmds2/client/SyntheticClient.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/branches/sage/cephmds2/client/Client.cc b/branches/sage/cephmds2/client/Client.cc index af607f1f86188..b9556623d6374 100644 --- a/branches/sage/cephmds2/client/Client.cc +++ b/branches/sage/cephmds2/client/Client.cc @@ -53,7 +53,7 @@ using namespace std; #include "config.h" #undef dout -#define dout(l) if (l<=g_conf.debug || l<=g_conf.debug_client) cout << "client" << whoami << "." << pthread_self() << " " +#define dout(l) if (l<=g_conf.debug || l <= g_conf.debug_client) cout << g_clock.now() << " client" << whoami << "." << pthread_self() << " " #define tout if (g_conf.client_trace) cout << "trace: " diff --git a/branches/sage/cephmds2/client/SyntheticClient.cc b/branches/sage/cephmds2/client/SyntheticClient.cc index 7773d9735d7b9..e443c09a139ea 100644 --- a/branches/sage/cephmds2/client/SyntheticClient.cc +++ b/branches/sage/cephmds2/client/SyntheticClient.cc @@ -31,7 +31,7 @@ using namespace std; #include "config.h" #undef dout -#define dout(l) if (l<=g_conf.debug || l<=g_conf.debug_client) cout << "synthetic" << client->get_nodeid() << " " +#define dout(l) if (l<=g_conf.debug || l<=g_conf.debug_client) cout << g_clock.now() << " synthetic" << client->get_nodeid() << " " // traces //void trace_include(SyntheticClient *syn, Client *cl, string& prefix); -- 2.39.5