aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf_ul.cpp
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-12-20 18:13:29 +0100
committerHarald Welte <laforge@gnumonks.org>2018-01-02 07:26:05 +0000
commit467f633b165ed2d439bb54d4ae42cdc341ea81b3 (patch)
tree96cd42bf8d5b741a4c68573c554ce9613e762bcf /src/tbf_ul.cpp
parentb2de1f78888c40acf63cd27385f809c2c5783106 (diff)
TBF: log timer invocation source
When troubleshooting TBF timers we're not only interested in timer duration but also in the code which triggered it. Let's use LOGPSRC to log it: wrap t_start() in a macro for convenience. Change-Id: If5f883ae52c469e5158bad24da9904fdc455582f Related: OS#2407
Diffstat (limited to 'src/tbf_ul.cpp')
-rw-r--r--src/tbf_ul.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf_ul.cpp b/src/tbf_ul.cpp
index 8e4e57e8..45de7cdf 100644
--- a/src/tbf_ul.cpp
+++ b/src/tbf_ul.cpp
@@ -191,7 +191,7 @@ int gprs_rlcmac_ul_tbf::rcv_data_block_acknowledged(
unsigned int block_idx;
/* restart T3169 */
- t_start(T3169, bts_data()->t3169, 0, "acked (data)", true);
+ T_START(this, T3169, bts_data()->t3169, 0, "acked (data)", true);
/* Increment RX-counter */
this->m_rx_counter++;