Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: ics-mr1-release
Commits on Aug 17, 2011
  1. @narayank

    Fix a typo in oprofile_android

    narayank authored
    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
Commits on Jul 12, 2011
  1. @j9brown

    Remove the simulator target from all makefiles.

    j9brown authored
    Bug: 5010576
    
    Change-Id: I4e916efded024ea68713dde817dd4bb7ec83c285
Commits on May 4, 2011
  1. @j9brown

    Improve oprofile scripts.

    j9brown authored
    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
Commits on Apr 8, 2011
  1. @j9brown

    Reenable oprofile host build.

    j9brown authored
    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
  2. @j9brown
  3. This doesn't always build, so completely disable it.

    Joe Onorato authored
    Change-Id: Ie87d9459a98fbd45619bf1da83c2e68fb63b075a
  4. @j9brown

    Completely disable building oprofile on host.

    j9brown authored
    Was trying to build some components even when HAVE_LIBBFD was false.
    
    Change-Id: Ied9aefcc42070ae2e6cd7cc64f7323f72e64dd82
Commits on Apr 5, 2011
  1. @j9brown

    Disable oprofile host tools builds.

    j9brown authored
    Need host prebuilt for libiconv.a because libintl.a is linked with it.
    Bug: 3439321
    
    Change-Id: Ifabae6a0735f3d98287069e7b881a88c4933c56b
  2. @j9brown

    Build oprofile tools on the host.

    j9brown authored
    Change-Id: I9911afe75ad24b5d39aedee4cf4c27ce418d033c
Commits on Feb 7, 2011
  1. @kruton

    x86: More fixing oprofile compilation in PIC mode

    kruton authored
    Change-Id: I4c58b95a9f6f13bdfa59a6b78248f97e86821e5a
Commits on Feb 5, 2011
  1. @j9brown

    Improve oprofile wrapper commands.

    j9brown authored
    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
Commits on Feb 4, 2011
  1. @j9brown

    Sync with oprofile CVS HEAD from Jan 11, 2011.

    j9brown authored
    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
  2. @j9brown

    Compile oprofile tools on the host.

    j9brown authored
    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
Commits on Feb 2, 2011
  1. @digit-android

    Merge "x86: Fix oprofile compilation in pic mode."

    digit-android authored Android Code Review committed
Commits on Feb 1, 2011
  1. @digit-android

    x86: Fix oprofile compilation in pic mode.

    digit-android authored
    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
Commits on Nov 17, 2010
  1. oprofile 0.9.6

    Mike Dodd authored
    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
Commits on Nov 11, 2010
  1. oprofile fix for hashing backtraces.

    Mike Dodd authored
    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
Commits on Oct 10, 2010
  1. am 44ce845: am 041ee6c: Add timer mode in opcontrol.

    Ben Cheng authored Android Git Automerger committed
    Merge commit '44ce8454876f33304daf17da83614acaf8c189c2'
    
    * commit '44ce8454876f33304daf17da83614acaf8c189c2':
      Add timer mode in opcontrol.
Commits on Oct 7, 2010
  1. am 041ee6c: Add timer mode in opcontrol.

    Ben Cheng authored Android Git Automerger committed
    Merge commit '041ee6ccda354960ebc1e1ccfff78685ec5326e1' into gingerbread-plus-aosp
    
    * commit '041ee6ccda354960ebc1e1ccfff78685ec5326e1':
      Add timer mode in opcontrol.
Commits on Oct 6, 2010
  1. Add timer mode in opcontrol.

    Ben Cheng authored Ben Cheng committed
    (cherry-picked from master - temporary workaround for the transition from
    oprofile to perf events)
    
    Change-Id: I647523e68814dee525b7599e9088b68a19e67f4b
Commits on Sep 3, 2010
  1. Add timer mode in opcontrol.

    Ben Cheng authored
    Change-Id: Ic0ab81deac51b48068e3a9b92a417003196161ea
  2. Skip oprofile modules in the simulator build.

    Ben Cheng authored
    Change-Id: Ie18ec8109465e44ae2e14f953f013871c6979060
  3. Port work-in-progress oprofile with Cortex-A9 support.

    Ben Cheng authored
    Change-Id: I26ecf3697c651dae31050081d6918ee5fc87915d
Commits on Jul 9, 2010
  1. merge from open-source master

    The Android Open Source Project authored
    Change-Id: If5c0de38e4b859b471abcecf16b5511c405bdcef
  2. Correct permissions in mkdir calls

    Mike Playle authored
    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
Commits on May 3, 2010
  1. merge from open-source master

    The Android Open Source Project authored
    Change-Id: Iff982a4bec118c01718056fff079460d365968c3
  2. fix sim build

    Jean-Baptiste Queru authored
    Change-Id: I6c9ffe71d0dc71b2548367b021ff7ba6f833964e
Commits on Apr 30, 2010
  1. @mikeandroid

    Fix ARM7 build.

    mikeandroid authored
    Change-Id: I7c07811f0e124b24f8be17c17c41061f045f4c4f
    Signed-off-by: Mike Lockwood <lockwood@android.com>
Commits on Mar 11, 2010
  1. @colincross

    Merge "Use armv7a arch flag instead of arch variant"

    colincross authored Android (Google) Code Review committed
Commits on Mar 9, 2010
  1. @colincross

    Use armv7a arch flag instead of arch variant

    colincross authored
    Change-Id: Ic1407b3ae4c1f662dafdce4bf8819fd92ca48e61
  2. Add an empty CleanSpec.mk

    Jean-Baptiste Queru authored
    Change-Id: I193b7af88f80d805620089913de38094bd99a8f3
Commits on Mar 4, 2010
  1. x86 oprofile enablement

    Bruce Beare authored
Commits on Feb 22, 2010
  1. Minor bug fix/enhancement for OProfile post-processing tools.

    Ben Cheng authored
    1) Display samples collected in the code cache into dalvik-jit-code-cache.
    2) Tolerate phantom event on counter 3 when it is not configured.
Commits on Feb 5, 2010
  1. am 56b2728: am e58df03: reconcile main tree with open-source eclair

    The Android Open Source Project authored Android Git Automerger committed
    Merge commit '56b2728f588644e40195908e68985b9214fcfe8a'
    
    * commit '56b2728f588644e40195908e68985b9214fcfe8a':
      android-2.1_r1 snapshot
  2. am e58df03: reconcile main tree with open-source eclair

    The Android Open Source Project authored Android Git Automerger committed
    Merge commit 'e58df036341d4926db42c06b9f8cf6504a3a95fe' into eclair-plus-aosp
    
    * commit 'e58df036341d4926db42c06b9f8cf6504a3a95fe':
      android-2.1_r1 snapshot
Something went wrong with that request. Please try again.