aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_main.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-24 00:58:38 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-26 20:57:24 +0100
commit12c039cdb23331156ffb867c6ed4f7fb1e912c7e (patch)
tree18b9fa8e46568e03c926f9d0c5fb45f0c60abaa2 /src/pcu_main.cpp
parenta6ba67cb3a8696cbb251ba32c5b8daa877cd2b04 (diff)
debug_diagram: Remove the special debug_diagram compilation mode
This approach is somehow flawed. We need/want to debug problems on systems with real traffic and re-compiling it with debug_diagram is not an option. All internal logging needs to be expressive enough so we can understand what is going on (e.g. create a script to post-process the output).
Diffstat (limited to 'src/pcu_main.cpp')
-rw-r--r--src/pcu_main.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index 2915b9e4..c0dac142 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -44,10 +44,6 @@ extern void *bv_tall_ctx;
static int quit = 0;
static int rt_prio = -1;
-#ifdef DEBUG_DIAGRAM
-extern struct timeval diagram_time;
-#endif
-
static void print_help()
{
printf( "Some useful options:\n"
@@ -242,9 +238,6 @@ int main(int argc, char *argv[])
osmo_gsm_timers_update();
osmo_select_main(0);
-#ifdef DEBUG_DIAGRAM
- gettimeofday(&diagram_time, NULL);
-#endif
}
telnet_exit();