Moved tracing macro definitions into separate tracing_config.h header.

So now there's a central place to enable tracing in general and for
individual components.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23645 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-01-19 17:24:34 +00:00
parent 5f7a62cfdd
commit ab23dfa7f7
7 changed files with 30 additions and 16 deletions
+1 -2
View File
@@ -42,7 +42,6 @@
#define DEBUG_BLOCK_CACHE
//#define DEBUG_CHANGED
//#define TRANSACTION_TRACING
// This macro is used for fatal situations that are acceptable in a running
// system, like out of memory situations - should only panic for debugging.
@@ -73,7 +72,7 @@ struct cache_transaction {
bool has_sub_transaction;
};
#ifdef TRANSACTION_TRACING
#ifdef BLOCK_CACHE_TRANSACTION_TRACING
namespace TransactionTracing {
class Action : public AbstractTraceEntry {