[ltt-dev] [UST PATCH] Use the libust.so and libustinstr-malloc.so from the build directory
Yannick Brosseau
yannick.brosseau at gmail.com
Sun Feb 20 20:10:48 EST 2011
Signed-off-by: Yannick Brosseau <yannick.brosseau at gmail.com>
---
tests/manual_mode_tracing.sh | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tests/manual_mode_tracing.sh b/tests/manual_mode_tracing.sh
index bd85083..19044ba 100755
--- a/tests/manual_mode_tracing.sh
+++ b/tests/manual_mode_tracing.sh
@@ -41,7 +41,9 @@ UST_CONSUMERD="$TESTDIR/../ust-consumerd/ust-consumerd"
$UST_CONSUMERD --pidfile "$pidfilepath" -o "$TRACE_DIR" >/dev/null 2>&1 &
UST_CONSUMERD_PID="$(<$pidfilepath)"
-LD_PRELOAD=/usr/local/lib/libust.so.0.0.0:/usr/local/lib/libustinstr-malloc.so find -L / >/dev/null 2>&1 &
+LIB_UST="$TESTDIR/../libust/.libs/libust.so.0.0.0"
+LIB_UST_MALLOC="$TESTDIR/../libustinstr-malloc/.libs/libustinstr-malloc.so"
+LD_PRELOAD="$LIB_UST:$LIB_UST_MALLOC" find -L / >/dev/null 2>&1 &
PID=$!
TRACE=auto
USTCTL="$TESTDIR/../ustctl/ustctl"
--
1.7.2.3
More information about the lttng-dev
mailing list