diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-24 00:58:38 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-26 20:57:24 +0100 |
commit | 12c039cdb23331156ffb867c6ed4f7fb1e912c7e (patch) | |
tree | 18b9fa8e46568e03c926f9d0c5fb45f0c60abaa2 /src/gprs_rlcmac.h | |
parent | a6ba67cb3a8696cbb251ba32c5b8daa877cd2b04 (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/gprs_rlcmac.h')
-rw-r--r-- | src/gprs_rlcmac.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gprs_rlcmac.h b/src/gprs_rlcmac.h index 0f699854..148250ae 100644 --- a/src/gprs_rlcmac.h +++ b/src/gprs_rlcmac.h @@ -32,9 +32,6 @@ extern "C" { } #endif -/* generate a diagram for debugging timing issues */ -//#define DEBUG_DIAGRAM - /* This special feature will delay assignment of downlink TBF by one second, * in case there is already a TBF. * This is usefull to debug downlink establishment during packet idle mode. @@ -65,12 +62,6 @@ struct gprs_rlcmac_cs { uint8_t block_payload; }; -#ifdef DEBUG_DIAGRAM -void debug_diagram(BTS *bts, int diag, const char *format, ...); -#else -#define debug_diagram(a, b, c, args...) ; -#endif - int gprs_rlcmac_received_lost(struct gprs_rlcmac_tbf *tbf, uint16_t received, uint16_t lost); |