| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'ceada119d3676a936988cb4b35f75ebf2c28b8ee'
* commit 'ceada119d3676a936988cb4b35f75ebf2c28b8ee':
Sensors: Use a native_handle for the data channel instead of a single file descriptor.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
descriptor.
This eliminates the requirement that all sensors share a single file descriptor.
This, along with concurrent changes in other projects, fixes bugs b/1614524 and b/1614481
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'd7dc91d749b920734c9e9f0a21c7c7e9672ef8b6'
* commit 'd7dc91d749b920734c9e9f0a21c7c7e9672ef8b6':
Add new trace tool for displaying all the memory regions in a process.
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'b260872ea4ab52286e1abfa4e79d12feb3d46253'
* commit 'b260872ea4ab52286e1abfa4e79d12feb3d46253':
Add support for native (JNI) calls to the trace tools.
|
| |
| |
| |
| |
| | |
Also fix a bug in profile_pid.cpp and add better output to
stack_dump.cpp.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'b08d3a396914b1aaba1270a9021289bdbe3cac5f'
* commit 'b08d3a396914b1aaba1270a9021289bdbe3cac5f':
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.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'bba5ffb847d10a65ce323f3c607f9f842c21e0c1'
* commit 'bba5ffb847d10a65ce323f3c607f9f842c21e0c1':
Add a new program for checking the correctness of the computed stack from a trace.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
trace.
The check_stack program checks that the generated stack that includes both
native functions and Java methods (generated from the emulator instruction
trace plus the method trace) is consistent with the stack of Java methods
that is computed from the method trace alone. (The method trace is
generated by the Dalvik interpreter).
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'e14d320465bc14fd413c3e735643fccb7020db2b'
* commit 'e14d320465bc14fd413c3e735643fccb7020db2b':
Better output for viewing the method trace.
|
| |
| |
| |
| |
| |
| | |
This now keeps track of the names of the methods on the stack instead
of just the addresses. This makes it easier to debug when something goes
wrong.
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
Merge commit '6b56383a3a9f086700436269e10602bb234cc25d'
* commit '6b56383a3a9f086700436269e10602bb234cc25d':
Fix the tracing code that keeps track of the Java method stack.
Add a "-d time" option to stack_dump to dump the stack at the given time.
|
| |
| |
| |
| |
| |
| |
| | |
This fixes a bug that was causing a "stack overflow" because it sometimes
wasn't popping off a Java method when it should have. I also changed the
showStack() method so that instead of always printing to stderr, you can
pass in a FILE* object to print to.
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '2822ae37115ebf13412bbef91339ee0d9454525e'
* commit '2822ae37115ebf13412bbef91339ee0d9454525e':
Fix compiler warnings by changing "char*" to "const char*".
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '5ea0a9436cda662264cc0dcf92d3559d532383bb'
* commit '5ea0a9436cda662264cc0dcf92d3559d532383bb':
Fix a memory deallocation error that was crashing q2dm.
|
| |
| |
| |
| | |
Also fix a bunch of compile warnings by changing "char *" to "const char *".
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
system images.
without this, networking doesn't work well when using the 1.1 add-on with
the cupcake sdk
Original author: digit
Merged from: //branches/cupcake/...
Automated import of CL 146315
|
| |
| |
| |
| | |
Automated import of CL 145778
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
"sdcard.path" in config.ini to indicate an explicit SD Card image file (instead of using the one in the content directory)
Note that this also fix a bug where the SD Card image was not properly locked in the previous implementation.
Allow the http-proxy support code to actually manage to receive chunked encoding data, instead of complaining needlessly.
Introduce a new CharBuffer object that is used indirectly by "-radio <hostdevice>" and "-gps <hostdevice>" options
Add new documentation for QEMUD and CharDriverState objects
Update the Audio documentation with ASCII graphics (because I'm an artist too)
Original author: digit
Merged from: //branches/cupcake/...
Automated import of CL 144596
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Saves us 52K in /system partition.
BUG=1739507
Original author: lockwood
Merged from: //branches/cupcake/...
Automated import of CL 143204
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1.0 and 1.1 system images.
without this, networking doesn't work well when using the 1.1 add-on with
the cupcake sdk
Original author: digit
Merged from: //branches/cupcake/...
Original author: android-build
Automated import of CL 146565
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | | |
Automated import of CL 145994
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
support "sdcard.path" in config.ini to indicate an explicit SD Card image file (instead of using the one in the content directory)
Note that this also fix a bug where the SD Card image was not properly locked in the previous implementation.
Allow the http-proxy support code to actually manage to receive chunked encoding data, instead of complaining needlessly.
Introduce a new CharBuffer object that is used indirectly by "-radio <hostdevice>" and "-gps <hostdevice>" options
Add new documentation for QEMUD and CharDriverState objects
Update the Audio documentation with ASCII graphics (because I'm an artist too)
Original author: digit
Merged from: //branches/cupcake/...
Original author: android-build
Automated import of CL 144597
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Saves us 52K in /system partition.
BUG=1739507
Original author: lockwood
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143355
|
|\ \ |
|
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
'const char*' in C++ so that the code builds on gcc-4.4
ISO C++ overloads strchr() so that strchr(const char*) return 'const
char*' and strchr(char *) return 'char *'.
Since DmTrace::parseAndAddFunction really wants to write to its 'const
char *name' argument I just casted a pointer pointing inside of 'name' to 'char*'
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
'const char*' to make the code build on gcc-4.4.
The C++ spec overloads string fucntions like strtsr and rindex so that
rindex(char *) returns 'char*' and rindex(const char*) returns 'const
char*'.
Without this patch you get an "invalid conversion from ‘const char*’ to
‘char*’" error on gcc-4.4
|
|\ \
| |/ |
|
| | |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
build/sdk.atree
ide/eclipse/.classpath
tools/activitycreator/src/com/android/activitycreator/ActivityCreator.java
tools/eclipse/scripts/create_adt_symlinks.sh
tools/eclipse/scripts/create_all_symlinks.sh
tools/eclipse/scripts/create_bridge_symlinks.sh
tools/eclipse/scripts/create_common_symlinks.sh
tools/eclipse/scripts/create_ddms_symlinks.sh
tools/eclipse/scripts/create_editors_symlinks.sh
tools/eclipse/scripts/create_test_symlinks.sh
tools/scripts/build.template
|
| | |
|
|/
|
|
|
|
| |
Fixes build with gcc 4.3.2 on Debian.
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
|
|
|