neels has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/c/osmo-dev/+/15075 )

Change subject: run.sh: add comment to show how to enable MNCC udtrace
......................................................................

run.sh: add comment to show how to enable MNCC udtrace

Change-Id: I94fdc87e8adea345ad735449558b75a56953fcc5
---
M net/templates/run.sh
1 file changed, 6 insertions(+), 0 deletions(-)



diff --git a/net/templates/run.sh b/net/templates/run.sh
index 3244b11..97592eb 100755
--- a/net/templates/run.sh
+++ b/net/templates/run.sh
@@ -66,6 +66,12 @@

 hnbgw="osmo-hnbgw"
 msc="gdb -ex run --args $(which osmo-msc)"
+# To enable udtrace on osmo-msc MNCC socket, use this with adjusted 
/path/to/udtrace:
+# - LD_LIBRARY_PATH allows linking to titan if udtrace was compiled with titan 
support.
+# - LD_PRELOAD of libasan allows building osmo-msc with the sanitize.opts.
+# - the tee saves the stderr logging as well as the udtrace output to new file 
current_log/osmo-msc.out, since udtrace
+#   will not show in osmo-msc.log
+#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"
 gbproxy="osmo-gbproxy"
 sgsn="osmo-sgsn"
 ggsn="osmo-ggsn"

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

Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I94fdc87e8adea345ad735449558b75a56953fcc5
Gerrit-Change-Number: 15075
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofm...@sysmocom.de>
Gerrit-Reviewer: keith <ke...@rhizomatica.org>
Gerrit-Reviewer: laforge <lafo...@gnumonks.org>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-MessageType: merged

Reply via email to