This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/313
debug log: log lchan state transitions
Change-Id: Id20f61ef535f4ea049da6579e41eb98f31238d23
---
M src/common/lchan.c
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/13/313/1
diff --git a/src/common/lchan.c b/src/common/lchan.c
index 5b6786a..fbc2636 100644
--- a/src/common/lchan.c
+++ b/src/common/lchan.c
@@ -19,9 +19,15 @@
*
*/
+#include <osmocom/core/logging.h>
+#include <osmo-bts/logging.h>
#include <osmo-bts/gsm_data.h>
void lchan_set_state(struct gsm_lchan *lchan, enum gsm_lchan_state state)
{
+ DEBUGP(DL1C, "%s state %s -> %s\n",
+ gsm_lchan_name(lchan),
+ gsm_lchans_name(lchan->state),
+ gsm_lchans_name(state));
lchan->state = state;
}
--
To view, visit https://gerrit.osmocom.org/313
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id20f61ef535f4ea049da6579e41eb98f31238d23
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>