summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorprimiano@chromium.org <primiano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-07 15:34:43 +0000
committerprimiano@chromium.org <primiano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-07 15:34:43 +0000
commitb7db388d2fb6d812af3e45715724d3b14e60c64d (patch)
tree2993aa0560f7e2ec42c2ef90acb8371eceb0fe19 /chrome/installer
parentc01d3c2efe15f8c881c0314481f937b16703bff1 (diff)
downloadchromium_src-b7db388d2fb6d812af3e45715724d3b14e60c64d.zip
chromium_src-b7db388d2fb6d812af3e45715724d3b14e60c64d.tar.gz
chromium_src-b7db388d2fb6d812af3e45715724d3b14e60c64d.tar.bz2
[Android] Introduce libheap_profiler for memory profiling.
libheap_profiler is a standalone, dependency free and efficient library aimed to profile memory allocations. In a nutshell it is a replacement for Android's libc.debug.malloc (which is terribly broken, see the BUG). This change introduces three new targets: - libheap_profiler.so: the snoopy library which tracks allocation info. - heap_dump: executable to dump the allocation info for a given process. - heap_profiler_unittests: because everybody loves unittests. Goals: - Be fast and efficient: the lib intended to be preloaded in the Zygote and trace bulky processes like Chrome. - Hook calls to mmap and malloc and grab stack traces associated to them. - Don't tie particularly to Android, so it can be reused later for Linux. - Be extensible, in the sense that allocations made by custom allocators, can be individually visible (instead of just all their mmaped arenas). - JSON output, as it is meant to be consumed by other tools, not humans. At the moment, this CL introduces support just for Android. BUG=382489 NOTRY=true Review URL: https://codereview.chromium.org/323893002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281542 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
0 files changed, 0 insertions, 0 deletions