Change in ...osmo-dev[master]: run.sh: add comment to show how to enable MNCC udtrace

neels gerrit-no-reply at lists.osmocom.org
Thu Aug 8 13:44:47 UTC 2019


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 <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: keith <keith at rhizomatica.org>
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190808/82a354b3/attachment.html>


More information about the gerrit-log mailing list