osmo-bsc/src
Neels Hofmeyr c1429f9cab meas rep logging: replace a dozen DEBUGPC() with one DEBUGP()
Instead of calling DEBUGPC() over and over, compose a string using
osmo_strbuf and then log it once.

Rationale:

a) DEBUGPC() is a bad idea for gsmtap_log, because each DEBUGPC()
dispatches a separate gsmtap_log packet, fragmenting the actual log line
in wireshark.

b) DEBUGPC() is a bad idea because it checks the logging categories for
every DEBUGPC() invocation.

c) using a separate function with osmo_strbuf and OTC_SELECT, we can
actually skip the entire string composition in case the DMEAS logging
category is disabled, with a single logging category check.

Change-Id: I4cb607ff43a1cb30408427d99d97c103776b6e69
2021-06-05 14:35:16 +00:00
..
ipaccess RSL link: explicitly select rsl_link based on lchan 2021-05-28 17:22:59 +00:00
osmo-bsc meas rep logging: replace a dozen DEBUGPC() with one DEBUGP() 2021-06-05 14:35:16 +00:00
utils change bs_power to bs_power_db 2021-06-05 14:35:16 +00:00
Makefile.am drop IMSI filter and libfilter completely 2020-05-27 01:56:06 +02:00