[PATCH] osmo-pcu[master]: Add logging support

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/.

mrinal gerrit-no-reply at lists.osmocom.org
Wed Oct 26 10:13:26 UTC 2016


Review at  https://gerrit.osmocom.org/1154

Add logging support

This commit adds the TRX_ID in the output of VTY command "show tbf all".

Change-Id: Ia5412dddb899e20963f884e02bdf796b6ea7ee6c
---
M src/pcu_vty_functions.cpp
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/54/1154/1

diff --git a/src/pcu_vty_functions.cpp b/src/pcu_vty_functions.cpp
index 8009535..ca7f7ad 100644
--- a/src/pcu_vty_functions.cpp
+++ b/src/pcu_vty_functions.cpp
@@ -61,6 +61,8 @@
 		if (tbf->pdch[i])
 			vty_out(vty, "%d%s ", i, is_ctrl ? "!" : "");
 	}
+	if (tbf->trx != NULL)
+		vty_out(vty, " TRX_ID=%d", tbf->trx->trx_no);
 	vty_out(vty, " CS=%s WS=%d",
 		tbf->current_cs().name(), tbf->window()->ws());
 

-- 
To view, visit https://gerrit.osmocom.org/1154
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia5412dddb899e20963f884e02bdf796b6ea7ee6c
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: mrinal <mrinal.mishra at radisys.com>



More information about the gerrit-log mailing list