Confirmed users
1,759
edits
Line 371: | Line 371: | ||
== Using oprofile on Galaxy Nexus == | == Using oprofile on Galaxy Nexus == | ||
Geoff is working on this now (March 2012)...more details coming soon. See also bug730900. | Geoff is working on this now (March 2012)...more details coming soon. See also bug730900. | ||
Full instructions for building Android are at http://source.android.com/source/initializing.html. | |||
Here is the short version reflecting what I did, step-by-step: | |||
<nowiki> | <nowiki> | ||
# Get Android sources, initialize environment | |||
mkdir <myandroid> | mkdir <myandroid> | ||
cd <myandroid> | cd <myandroid> | ||
Line 383: | Line 388: | ||
<get the ITL41F binaries from http://code.google.com/android/nexus/drivers.html#maguroitl41f and extract them> | <get the ITL41F binaries from http://code.google.com/android/nexus/drivers.html#maguroitl41f and extract them> | ||
# Get kernel source, customize for oprofile, build kernel | |||
mkdir <mykernel> | mkdir <mykernel> | ||
cd <mykernel> | cd <mykernel> | ||
Line 399: | Line 405: | ||
make | make | ||
# Patch Android with my kernel, build, install images | |||
cp arch/arm/boot/zImage <myandroid>/device/samsung/tuna/kernel | cp arch/arm/boot/zImage <myandroid>/device/samsung/tuna/kernel | ||
cd <myandroid> | cd <myandroid> |