AI 145709: Fixed tracedmdump() by correcting the KERNEL path.

Merged 145592 from master.
  BUG=1630077

Automated import of CL 145709
This commit is contained in:
Jack Veenstra 2009-04-10 10:30:51 -07:00 committed by The Android Open Source Project
parent 8539929a12
commit 8f8b99c40a
1 changed files with 6 additions and 1 deletions

View File

@ -817,7 +817,7 @@ function tracedmdump()
return
fi
local prebuiltdir=$(getprebuilt)
local KERNEL=$T/prebuilt/android-arm/vmlinux-qemu
local KERNEL=$T/prebuilt/android-arm/kernel/vmlinux-qemu
local TRACE=$1
if [ ! "$TRACE" ] ; then
@ -825,6 +825,11 @@ function tracedmdump()
return
fi
if [ ! -r "$KERNEL" ] ; then
echo "Error: cannot find kernel: '$KERNEL'"
return
fi
local BASETRACE=$(basename $TRACE)
if [ "$BASETRACE" = "$TRACE" ] ; then
TRACE=$ANDROID_PRODUCT_OUT/traces/$TRACE