Minor fix: libc wrapper internal run script
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 22 Mar 2013 16:29:44 +0000 (12:29 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 22 Mar 2013 16:29:44 +0000 (12:29 -0400)
Take arguments in the script too.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-libc-wrapper/run
liblttng-ust-libc-wrapper/ust_libc.h

index e902cd8997485e21fac9fd3841bd0fb18df158ef..2583d23c44abce84f1bd259a67b2a7db67a32531 100755 (executable)
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-LD_VERBOSE=1 LD_PRELOAD=.libs/liblttng-ust-libc.so $1
+LD_VERBOSE=1 LD_PRELOAD=.libs/liblttng-ust-libc.so ${*}
index 60b64d14c6e6d7bef08af67e9e72034fe75cfbe7..af705aac2a4483695b55fd1e086d90fdfb7a202e 100644 (file)
@@ -55,6 +55,6 @@ TRACEPOINT_EVENT(ust_libc, free,
 /* This part must be outside ifdef protection */
 #include <lttng/tracepoint-event.h>
 
-#ifdef __cplusplus 
+#ifdef __cplusplus
 }
 #endif
This page took 0.032061 seconds and 4 git commands to generate.