aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-26Merge "Add oprofile host tool support for mips."android-sdk-4.4.2_r1.0.1android-sdk-4.4.2_r1android-cts-4.4_r4android-cts-4.4_r1android-4.4_r1.2.0.1android-4.4_r1.2android-4.4_r1.1.0.1android-4.4_r1.1android-4.4_r1.0.1android-4.4_r1android-4.4_r0.9android-4.4_r0.8android-4.4_r0.7android-4.4.4_r2.0.1android-4.4.4_r2android-4.4.4_r1.0.1android-4.4.4_r1android-4.4.3_r1.1.0.1android-4.4.3_r1.1android-4.4.3_r1.0.1android-4.4.3_r1android-4.4.2_r2.0.1android-4.4.2_r2android-4.4.2_r1.0.1android-4.4.2_r1android-4.4.1_r1.0.1android-4.4.1_r1android-4.3_r3.1android-4.3_r3android-4.3_r2.3android-4.3_r2.2android-4.3_r2.1android-4.3_r2android-4.3_r1.1android-4.3_r1android-4.3_r0.9.1android-4.3_r0.9android-4.3.1_r1tools_r22.2tools_r22kitkat-releasekitkat-mr2.2-releasekitkat-mr2.1-releasekitkat-mr2-releasekitkat-mr1.1-releasekitkat-mr1-releasekitkat-devkitkat-cts-releasekitkat-cts-devjb-mr2.0.0-releasejb-mr2.0-releasejb-mr2-releasejb-mr2-devjb-mr1.1-dev-plus-aospKeun-young Park
2013-03-05Merge "Fix various problems in opcontrol"Ben Cheng
2013-03-04Add oprofile host tool support for mips.Paul Lind
Provides general build support, and fixes one arm-specific change in opannotate. Change-Id: Ib4f8145719fb6b2a1e292b72c2bed044497c55c2
2013-03-04Fix various problems in opcontrolPaul Lind
Support multiple CPU types in opcontrol Use access(2) instead of opening files where possible Mount /dev/oprofile at startup Disable oprofiled when resetting current data session Change-Id: Ifd0ff2a50c9229af01249aefd5cd9dce00c58bf4
2013-01-07Merge "Add -ldl for opannotate, oparchive, etc, in pp/Android.mk"jb-mr1-dev-plus-aospAndrew Hsieh
2013-01-04Add -ldl for opannotate, oparchive, etc, in pp/Android.mkAndrew Hsieh
The new libbfd.a is compiled with plugin enabled. The plugin.o in it need dlopen, dlsym, etc Change-Id: I63912ddc151fe3f6a34274e6200db6e7a16c910d
2012-04-24am 0c328eae: Merge "Point to gcc 4.6"android-sdk-support_r11android-cts-4.2_r2android-cts-4.1_r4android-cts-4.1_r2android-cts-4.1_r1tools_r21jb-mr1.1-devjb-mr1-devjb-devics-plus-aospJean-Baptiste Queru
* commit '0c328eae6ea431cc7014502403830ae2b5bc1210': Point to gcc 4.6
2012-04-20Merge "Point to gcc 4.6"android-sdk-adt_r20tools_r20Jean-Baptiste Queru
2012-04-20Point to gcc 4.6Jean-Baptiste Queru
Change-Id: I2bd6554f3636f6701d73d60d616ffc0cc480687d
2012-04-20Point to gcc 4.6android-cts-4.2_r1android-4.2_r1android-4.2_pre3android-4.2_pre2.2android-4.2_pre2.1android-4.2_pre2android-4.2_pre1.1android-4.2_pre1android-4.2.2_r1.2android-4.2.2_r1.1android-4.2.2_r1android-4.2.1_r1.2android-4.2.1_r1.1android-4.2.1_r1android-4.1_pre2android-4.1_pre1android-4.1.2_r2.1android-4.1.2_r2android-4.1.2_r1android-4.1.1_r6.1android-4.1.1_r6android-4.1.1_r5android-4.1.1_r4android-4.1.1_r3android-4.1.1_r2android-4.1.1_r1.1android-4.1.1_r1android-4.1-sdk_pre1jb-releasejb-mr1.1-releasejb-mr1-releasejb-mr1-factory-releasejb-mr0-releaseJean-Baptiste Queru
Change-Id: I5b398a311a6b912801eab59d7524397a590d68da
2012-04-20Revert "Point to gcc 4.6"Jean-Baptiste Queru
This reverts commit a144541a3257e3992dbeb0d4397ab1fcdd593d27.
2012-04-20Point to gcc 4.6Jean-Baptiste Queru
Change-Id: I2f657b568011b501236dfed808db075629407b47
2012-01-11Revert "Point to gcc 4.6"Jean-Baptiste Queru
This reverts commit 27e5bbd83212043383dee53c85153d80b4e6d447.
2012-01-09Allow setting symbols path explicitly through -p/--image-path.Ben Cheng
As long as all arguments to opreport are still pass-through there is no need to add explcit getopt cases. Change-Id: Iac2d3ec2805f5207a089f623e9559c01abe7c7c0
2012-01-06Merge "Point to gcc 4.6"Jing Yu
2012-01-06Enhance the oprofile_android harness to support opannotate.Ben Cheng
Also s/objdump/arm-eabi-objdump in opannotate.cpp. Change-Id: I51b35da926a9ad189c6758c3f10084a4b9766524
2012-01-06Point to gcc 4.6Jean-Baptiste Queru
Change-Id: I2bd6554f3636f6701d73d60d616ffc0cc480687d
2012-01-04Support multiple profile sessions w/o the need of rebooting.Ben Cheng
Bonus changes: - Eliminated sending unnecessary SIGHUP to oprofiled when dumping samples. - fixed a file descriptor leak in read_num(). Change-Id: I79ca35a62df848ceb4e16f2bc62e54b86ab7495f
2011-12-14Allow callgraph collection in timer mode.Ben Cheng
Change-Id: I48700c0c655f7c29ea3eb2ee049aa547a3d327c3
2011-11-10am d3902402: Remove mutable declaration of reference memberConley Owens
* commit 'd39024022778b3cd3f1d88d5cc1a330f023203be': Remove mutable declaration of reference member
2011-11-09Remove mutable declaration of reference memberandroid-3.2.6_r1Conley Owens
Mutable on reference members is meaningless. gcc>=4.6 does not allow it. Change-Id: I87c10cd7b5d6a15f46ca20465882e7a940e850bf
2011-11-09Remove mutable declaration of reference memberConley Owens
Mutable on reference members is meaningless. gcc>=4.6 does not allow it. Change-Id: I87c10cd7b5d6a15f46ca20465882e7a940e850bf
2011-08-17Fix a typo in oprofile_androidandroid-sdk-adt_r16.0.1android-sdk-4.0.3_r1android-sdk-4.0.3-tools_r1android-cts-verifier-4.0_r1android-cts-verifier-4.0.3_r1android-cts-4.0_r1android-cts-4.0.3_r2android-cts-4.0.3_r1android-4.0.4_r2.1android-4.0.4_r2android-4.0.4_r1.2android-4.0.4_r1.1android-4.0.4_r1android-4.0.4-aah_r1android-4.0.3_r1.1android-4.0.3_r1android-4.0.2_r1android-4.0.1_r1.2android-4.0.1_r1.1android-4.0.1_r1ics-mr1-releaseics-mr0-releaseics-mr0ics-factoryrom-2-releaseics-aah-releaseNarayan Kamath
The typo (in specifying the --kernel-range argument) completely breaks kernel profiling because the kernel end address will always be 0 and < the start address. All kernel samples will therefore be discarded. I've also added very basic support for turning on kernel profiling via this script. Change-Id: I64b4063cb994ca94a51ed5aa0159aa4ae1627969
2011-07-11Remove the simulator target from all makefiles.Jeff Brown
Bug: 5010576 Change-Id: I4e916efded024ea68713dde817dd4bb7ec83c285
2011-05-03Improve oprofile scripts.Jeff Brown
Now support importing dumps and running reports using a simple script. Eliminated some spurious errors and warnings in the oprofile tools when profiling Android libraries. Change-Id: I618cf6f8937a6ab5f45b3d45bdf860792b6bebbe
2011-04-08Reenable oprofile host build.Jeff Brown
Now taking into account differences in the library dependencies of libintl on darwin vs. linux. On darwin, we need to link with libiconv which is provided as a shared library on the platform. On linux, iconv is included in libc so we don't need anything special. Change-Id: Ide89061cce0352c83b7401d9f5d594e9625b1868
2011-04-08Revert "This doesn't always build, so completely disable it."Jeff Brown
This reverts commit 245b75880b4a7ad329b53ab9ee8a12d4fafee368.
2011-04-07This doesn't always build, so completely disable it.Joe Onorato
Change-Id: Ie87d9459a98fbd45619bf1da83c2e68fb63b075a
2011-04-07Completely disable building oprofile on host.Jeff Brown
Was trying to build some components even when HAVE_LIBBFD was false. Change-Id: Ied9aefcc42070ae2e6cd7cc64f7323f72e64dd82
2011-04-05Disable oprofile host tools builds.Jeff Brown
Need host prebuilt for libiconv.a because libintl.a is linked with it. Bug: 3439321 Change-Id: Ifabae6a0735f3d98287069e7b881a88c4933c56b
2011-04-05Build oprofile tools on the host.Jeff Brown
Change-Id: I9911afe75ad24b5d39aedee4cf4c27ce418d033c
2011-02-07x86: More fixing oprofile compilation in PIC modeandroid-sdk-tools_r12android-sdk-adt_r12android-sdk-3.1_r1android-3.2_r1android-3.2.4_r1android-3.2.2_r2android-3.2.2_r1android-3.2.1_r2android-3.2.1_r1android-3.1_r1Kenny Root
Change-Id: I4c58b95a9f6f13bdfa59a6b78248f97e86821e5a
2011-02-04Improve oprofile wrapper commands.Jeff Brown
Added a new wrapper script that will help automate more of the process of setting up and running oprofile on a remote device. There is more work to be done here once the kernel perf event issues that hinder reliability (bug: 2975913) are resolved. Change-Id: I942ee74912f1e4c87b4c43aca9937b3f3f1780f6
2011-02-03Sync with oprofile CVS HEAD from Jan 11, 2011.Jeff Brown
There have been a few patches to oprofile for newer ARM architectures since 0.9.6. Pruned out irrelevant auto-generated files from the previous dump so this is closer to being a mirror of the actual oprofile repository. Change-Id: I889053d30aae433a199a0a18585c66b88ff8de14
2011-02-03Compile oprofile tools on the host.Jeff Brown
Some of the new build targets are disabled for now because libbfd is not currently provided by the prebuilt toolchain for all platforms. Change-Id: Ie2c24bf997c9c5f15f6c3e2eaf949d73578890d8
2011-02-02Merge "x86: Fix oprofile compilation in pic mode."David 'Digit' Turner
2011-02-01x86: Fix oprofile compilation in pic mode.David 'Digit' Turner
This patch modifies the inline x86 assembly fragments to properly save ebx when calling the cpuid instruction. Otherwise, the compiler will error, complaining that the PIC register (ebx) is clobbered. Change-Id: Ibc091484068dfb87812c59dbc3976d26d922eebc
2010-11-17oprofile 0.9.6android-sdk-3.0_r1android-sdk-3.0-preandroid-3.0_r1.3android-3.0_r1.2android-3.0_r1.1android-3.0_r1Mike Dodd
Copy in the rest of the oprofile 0.9.6 tree so we have a source copy to match the prebuilt binaries that are checked into external/. Change-Id: Iaac327571d5d583594a4194973bf256569061048
2010-11-11oprofile fix for hashing backtraces.Mike Dodd
Oprofile's hash function uses a 64-bit value for the key where the high 32-bit are the 'from' address in a backtrace, and the low 32-bits are the current PC. However, the hash function was: uint32_t temp = (value >> 32) ^ value; return ((temp << 0) ^ (temp >> 8)) & data->hash_mask; If 'from' and 'to' are the same (recursive function), this hashes to 0, and you end up with lots of collisions, turning the theoretically O(1) operation into O(n). To fix it, I just drop the high 32-bits from the hash: uint32_t temp = value & 0xffffffff; return ((temp << 0) ^ (temp >> 8)) & data->hash_mask; In testing, this drastically reduces the oprofile overhead for some tracing. Change-Id: I8ae65a8a73771c89b576c895f135efd7b730eaf5
2010-10-10am 44ce8454: am 041ee6cc: Add timer mode in opcontrol.Ben Cheng
Merge commit '44ce8454876f33304daf17da83614acaf8c189c2' * commit '44ce8454876f33304daf17da83614acaf8c189c2': Add timer mode in opcontrol.
2010-10-07am 041ee6cc: Add timer mode in opcontrol.Ben Cheng
Merge commit '041ee6ccda354960ebc1e1ccfff78685ec5326e1' into gingerbread-plus-aosp * commit '041ee6ccda354960ebc1e1ccfff78685ec5326e1': Add timer mode in opcontrol.
2010-10-06Add timer mode in opcontrol.android-sdk-2.3.4_r1android-cts-2.3_r5android-cts-2.3_r4android-cts-2.3_r3android-cts-2.3_r2android-cts-2.3_r12android-cts-2.3_r11android-cts-2.3_r10android-cts-2.3_r1android-2.3_r1android-2.3.7_r1android-2.3.6_r1android-2.3.6_r0.9android-2.3.5_r1android-2.3.4_r1android-2.3.4_r0.9android-2.3.3_r1aandroid-2.3.3_r1.1android-2.3.3_r1android-2.3.2_r1android-2.3.1_r1gingerbread-releasegingerbread-mr4-releasegingerbreadBen Cheng
(cherry-picked from master - temporary workaround for the transition from oprofile to perf events) Change-Id: I647523e68814dee525b7599e9088b68a19e67f4b
2010-09-03Add timer mode in opcontrol.Ben Cheng
Change-Id: Ic0ab81deac51b48068e3a9b92a417003196161ea
2010-09-02Skip oprofile modules in the simulator build.Ben Cheng
Change-Id: Ie18ec8109465e44ae2e14f953f013871c6979060
2010-09-02Port work-in-progress oprofile with Cortex-A9 support.Ben Cheng
Change-Id: I26ecf3697c651dae31050081d6918ee5fc87915d
2010-07-09merge from open-source masterThe Android Open Source Project
Change-Id: If5c0de38e4b859b471abcecf16b5511c405bdcef
2010-07-09Correct permissions in mkdir callsandroid-sdk-tools_r7android-adt-0.9.9android-adt-0.9.8tools_r9tools_r8tools_r7froyo-plus-aospMike Playle
The 'mode' parameter to mkdir() is in octal, so it should have a leading 0. Also, directories need their 'x' bits set. Change-Id: I95bdae777ed31a8f99d1eeb4974a9ceb8d85633d
2010-05-03merge from open-source masterThe Android Open Source Project
Change-Id: Iff982a4bec118c01718056fff079460d365968c3
2010-05-03fix sim buildJean-Baptiste Queru
Change-Id: I6c9ffe71d0dc71b2548367b021ff7ba6f833964e
2010-04-30Fix ARM7 build.Mike Lockwood
Change-Id: I7c07811f0e124b24f8be17c17c41061f045f4c4f Signed-off-by: Mike Lockwood <lockwood@android.com>