bitbake-runtask-strace: simple shell script to wrap tasks in a strace call
PATCH 1/5 bitbake-runtask-strace: simple shell script to wrap tasks in a strace call
Signed-off-by Joshua Lock <[email protected]>
--- bitbake/bin/bitbake-runtask-strace | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) create mode 100755 bitbake/bin/bitbake-runtask-strace
(quoted diff) +0 -0
b/bitbake/bin/bitbake-runtask-strace
new file mode 100755
index 0000000..1741a84
bitbake/bin/bitbake-runtask-strace new file +7 -0
@@ -0,0 +1,8 @@ +#!/bin/bash +STRACE=`which strace` + +if [ ! -x "$STRACE" ]; then + bitbake-runtask $1 $2 $3 $4 +else + strace -f -o $TRACE_LOGFILE-$3.log -e trace=open,execve
bitbake-runtask $1 $2 $3 $4
+fi
Signature · 1 line
1.7.3.2