1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 17:39:31 +00:00

image-swab: Convert to attach strace to the process to obtain the required swabber data

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-02-10 11:50:16 +00:00
parent d3d236b2bf
commit 296866c38e
3 changed files with 47 additions and 10 deletions
-8
View File
@@ -1,8 +0,0 @@
#!/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