Change in osmo-bts[master]: scheduler: enrich the output of LOGL1S macro with ARFCN

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

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Sat Feb 29 11:47:44 UTC 2020


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/17298 )


Change subject: scheduler: enrich the output of LOGL1S macro with ARFCN
......................................................................

scheduler: enrich the output of LOGL1S macro with ARFCN

Change-Id: Id347c3fddc57b0df0039c3a029b973f731274f35
---
M include/osmo-bts/scheduler_backend.h
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/98/17298/1

diff --git a/include/osmo-bts/scheduler_backend.h b/include/osmo-bts/scheduler_backend.h
index aa2d6e9..e440594 100644
--- a/include/osmo-bts/scheduler_backend.h
+++ b/include/osmo-bts/scheduler_backend.h
@@ -1,9 +1,10 @@
 #pragma once
 
 #define LOGL1S(subsys, level, l1t, tn, chan, fn, fmt, args ...)	\
-		LOGP(subsys, level, "%s %s %s: " fmt,		\
+		LOGP(subsys, level, "%s %s ARFCN=%u %s: " fmt,		\
 			gsm_fn_as_gsmtime_str(fn),		\
 			gsm_ts_name(&(l1t)->trx->ts[tn]),	\
+			l1t->trx->arfcn,			\
 			chan >=0 ? trx_chan_desc[chan].name : "", ## args)
 
 typedef int trx_sched_rts_func(struct l1sched_trx *l1t, uint8_t tn,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/17298
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Id347c3fddc57b0df0039c3a029b973f731274f35
Gerrit-Change-Number: 17298
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200229/b072c4cc/attachment.htm>


More information about the gerrit-log mailing list