Welcome to GemDroid, An Infrastructure to Evaluate Mobile Platforms. GemDroid uses traces to feed its simulator. This patch generates traces of an application from the android emulator. The trace contains CPU/Memory access, frame buffer activity and raw instructions.
AOSP android-4.4.4_r2
To Patch
Assume that $AOSP is your aosp folder, follow the following commands you will have an emulator for GemDroid.
# backup your original qemu folder
cd $AOSP
git clone https://github.com/huz123/GemDroid_QEMU
cd $AOSP/sdk/emulator
git checkout -b gemdroid cbf40c
cd $AOSP/external
mv qemu qemu.bk
cp -r $AOSP/GemDroid_QEMU/gemdroid_qemu qemu
cd qemu
./android-configure.sh
# remove "-Wl" in objs/config.make, compile d4-7 with -m32
make
# use emulators in objs/
GemDroid project is supported in part by NSF grants – #1302557, #0963839, #1205618, #1213052, #1320478, #1317560, #1302225, #1017882, and grants from Intel. More details about the NSF Expedition Project - Visual Corext On Silicon can be found at: http://www.cse.psu.edu/research/visualcortexonsilicon.expedition/index.html
If you have any questions and comments, please send to haibo at cse.psu.edu or nachi at cse.psu.edu.