<p>neels <strong>uploaded patch set #4</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24426">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">meas rep logging: replace a dozen DEBUGPC() with one DEBUGP()<br><br>Instead of calling DEBUGPC() over and over, compose a string using<br>osmo_strbuf and then log it once.<br><br>Rationale:<br><br>a) DEBUGPC() is a bad idea for gsmtap_log, because each DEBUGPC()<br>dispatches a separate gsmtap_log packet, fragmenting the actual log line<br>in wireshark.<br><br>b) DEBUGPC() is a bad idea because it checks the logging categories for<br>every DEBUGPC() invocation.<br><br>c) using a separate function with osmo_strbuf and OTC_SELECT, we can<br>actually skip the entire string composition in case the DMEAS logging<br>category is disabled, with a single logging category check.<br><br>Change-Id: I4cb607ff43a1cb30408427d99d97c103776b6e69<br>---<br>M src/osmo-bsc/abis_rsl.c<br>1 file changed, 45 insertions(+), 24 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/26/24426/4</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24426">change 24426</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-bsc/+/24426"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I4cb607ff43a1cb30408427d99d97c103776b6e69 </div>
<div style="display:none"> Gerrit-Change-Number: 24426 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>