summaryrefslogtreecommitdiff
path: root/gprofng/libcollector/iotrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprofng/libcollector/iotrace.c')
-rw-r--r--gprofng/libcollector/iotrace.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gprofng/libcollector/iotrace.c b/gprofng/libcollector/iotrace.c
index d8439b02b3a..303e755df6e 100644
--- a/gprofng/libcollector/iotrace.c
+++ b/gprofng/libcollector/iotrace.c
@@ -39,12 +39,6 @@
#include "data_pckts.h"
#include "tsd.h"
-/* TprintfT(<level>,...) definitions. Adjust per module as needed */
-#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings
-#define DBG_LTT 0 // for interposition on GLIBC functions
-#define DBG_LT1 1 // for configuration details, warnings
-#define DBG_LT2 2
-#define DBG_LT3 3
/* define the packet that will be written out */
typedef struct IOTrace_packet
@@ -88,19 +82,8 @@ static unsigned io_key = COLLECTOR_TSD_INVALID_KEY;
#define RECHCK_REENTRANCE(x) (!io_mode || ((x) = collector_interface->getKey( io_key )) == NULL || (*(x) == 0))
#define PUSH_REENTRANCE(x) ((*(x))++)
#define POP_REENTRANCE(x) ((*(x))--)
-
-#define CALL_REAL(x) (__real_##x)
-#define NULL_PTR(x) (__real_##x == NULL)
-
#define gethrtime collector_interface->getHiResTime
-#ifdef DEBUG
-#define Tprintf(...) if (collector_interface) collector_interface->writeDebugInfo( 0, __VA_ARGS__ )
-#define TprintfT(...) if (collector_interface) collector_interface->writeDebugInfo( 1, __VA_ARGS__ )
-#else
-#define Tprintf(...)
-#define TprintfT(...)
-#endif
/* interposition function handles */
static int (*__real_open)(const char *path, int oflag, ...) = NULL;