projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement ustctl_tracepoint_list/list_get
[lttng-ust.git]
/
tests
/
manual_mode_tracing.sh
diff --git
a/tests/manual_mode_tracing.sh
b/tests/manual_mode_tracing.sh
index 19044ba0fb2b45b9333ac27040f9d521b5e6b3fa..f9bc793005c1b266b3f90c2738e26cf9c4e111e2 100755
(executable)
--- a/
tests/manual_mode_tracing.sh
+++ b/
tests/manual_mode_tracing.sh
@@
-43,7
+43,14
@@
UST_CONSUMERD_PID="$(<$pidfilepath)"
LIB_UST="$TESTDIR/../libust/.libs/libust.so.0.0.0"
LIB_UST_MALLOC="$TESTDIR/../libustinstr-malloc/.libs/libustinstr-malloc.so"
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 &
+# Check to see if find supports -L
+find . -maxdepth 0 -L > /dev/null 2>&1
+if [ $? = 0 ] ; then
+ USE_L="-L"
+else
+ USE_L=""
+fi
+LD_PRELOAD="$LIB_UST:$LIB_UST_MALLOC" find $USE_L / >/dev/null 2>&1 &
PID=$!
TRACE=auto
USTCTL="$TESTDIR/../ustctl/ustctl"
PID=$!
TRACE=auto
USTCTL="$TESTDIR/../ustctl/ustctl"
This page took
0.024271 seconds
and
4
git commands to generate.