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/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged. Change subject: debug log: log lchan state transitions ...................................................................... debug log: log lchan state transitions Change-Id: Id20f61ef535f4ea049da6579e41eb98f31238d23 --- M src/common/lchan.c 1 file changed, 6 insertions(+), 0 deletions(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified 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: merged Gerrit-Change-Id: Id20f61ef535f4ea049da6579e41eb98f31238d23 Gerrit-PatchSet: 3 Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder