summaryrefslogtreecommitdiff
path: root/bitbake/bin/bitbake-runtask-strace
blob: 1741a84de2eac4957b6dbb2dda851d5371783c05 (plain)
1
2
3
4
5
6
7
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