mirror of
git://git.yoctoproject.org/poky
synced 2026-08-17 12:50:12 +00:00
bitbake-runtask-strace: simple shell script to wrap tasks in a strace call
Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
parent
b7ce75703a
commit
9545130576
8
bitbake/bin/bitbake-runtask-strace
Executable file
8
bitbake/bin/bitbake-runtask-strace
Executable file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user