<p>neels <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-dev/+/15075">View Change</a></p><div style="white-space:pre-wrap"></div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">run.sh: add comment to show how to enable MNCC udtrace<br><br>Change-Id: I94fdc87e8adea345ad735449558b75a56953fcc5<br>---<br>M net/templates/run.sh<br>1 file changed, 6 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/net/templates/run.sh b/net/templates/run.sh</span><br><span>index 3244b11..97592eb 100755</span><br><span>--- a/net/templates/run.sh</span><br><span>+++ b/net/templates/run.sh</span><br><span>@@ -66,6 +66,12 @@</span><br><span> </span><br><span> hnbgw="osmo-hnbgw"</span><br><span> msc="gdb -ex run --args $(which osmo-msc)"</span><br><span style="color: hsl(120, 100%, 40%);">+# To enable udtrace on osmo-msc MNCC socket, use this with adjusted /path/to/udtrace:</span><br><span style="color: hsl(120, 100%, 40%);">+# - LD_LIBRARY_PATH allows linking to titan if udtrace was compiled with titan support.</span><br><span style="color: hsl(120, 100%, 40%);">+# - LD_PRELOAD of libasan allows building osmo-msc with the sanitize.opts.</span><br><span style="color: hsl(120, 100%, 40%);">+# - the tee saves the stderr logging as well as the udtrace output to new file current_log/osmo-msc.out, since udtrace</span><br><span style="color: hsl(120, 100%, 40%);">+#   will not show in osmo-msc.log</span><br><span style="color: hsl(120, 100%, 40%);">+#msc="LD_LIBRARY_PATH=/usr/lib/titan LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.5:/path/to/udtrace/libudtrace.so osmo-msc 2>&1 | tee -a current_log/osmo-msc.out"</span><br><span> gbproxy="osmo-gbproxy"</span><br><span> sgsn="osmo-sgsn"</span><br><span> ggsn="osmo-ggsn"</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-dev/+/15075">change 15075</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-dev/+/15075"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-dev </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I94fdc87e8adea345ad735449558b75a56953fcc5 </div>
<div style="display:none"> Gerrit-Change-Number: 15075 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: keith <keith@rhizomatica.org> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>