OSDN Git Service

Handle munmap() and add support for tracing JNI (native) calls.
authorJack Veenstra <veenstra@android.com>
Tue, 19 May 2009 22:07:29 +0000 (15:07 -0700)
committerJack Veenstra <veenstra@android.com>
Tue, 19 May 2009 22:07:29 +0000 (15:07 -0700)
commit15b2ee5772c5969af9aff4ca1dfca309a1096e27
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904
parenta002c003a0e25451881f2d931f508d33f04e87e1
Handle munmap() and add support for tracing JNI (native) calls.

The munmap() kernel calls are traced but the tracing code wasn't doing
anything with them.  This caused the number of mapped regions in a process
to grow large in some cases and also caused symbol lookup errors in some
rare cases.  This change also adds support for new trace record types
for supporting JNI (native) calls from Java into native code. This helps
with constructing a more accurate call stack.