Merge "runhat: use /data/local/tmp" into lmp-dev
This commit is contained in:
commit
1756474d87
1 changed files with 1 additions and 3 deletions
|
@ -1248,9 +1248,7 @@ function runhat()
|
|||
fi
|
||||
|
||||
# issue "am" command to cause the hprof dump
|
||||
local sdcard=$(adb ${adbOptions} shell echo -n '$EXTERNAL_STORAGE')
|
||||
local devFile=$sdcard/hprof-$targetPid
|
||||
#local devFile=/data/local/hprof-$targetPid
|
||||
local devFile=/data/local/tmp/hprof-$targetPid
|
||||
echo "Poking $targetPid and waiting for data..."
|
||||
echo "Storing data at $devFile"
|
||||
adb ${adbOptions} shell am dumpheap $targetPid $devFile
|
||||
|
|
Loading…
Reference in a new issue