aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/qtools
Commit message (Collapse)AuthorAgeFilesLines
* emulator: Remove obsolete qtools directory.David 'Digit' Turner2014-01-3048-10195/+0
| | | | Change-Id: Ic591166f1e05752f84d2574c60b0df55f118f71d
* Fix qtools build.David 'Digit' Turner2014-01-091-1/+1
| | | | | | | The location of the emulator headers included by these sources has changed recently, so fix it. Change-Id: Id8b1f3bc357f33af4cce388f41227a707598c0c4
* am d7dc91d7: Merge change 2030 into donutAndroid (Google) Code Review2009-05-202-0/+67
|\ | | | | | | | | | | | | Merge commit 'd7dc91d749b920734c9e9f0a21c7c7e9672ef8b6' * commit 'd7dc91d749b920734c9e9f0a21c7c7e9672ef8b6': Add new trace tool for displaying all the memory regions in a process.
| * Add new trace tool for displaying all the memory regions in a process.Jack Veenstra2009-05-192-0/+67
| |
* | am b260872e: Merge change 2024 into donutAndroid (Google) Code Review2009-05-204-19/+67
|\ \ | |/ | | | | | | | | | | Merge commit 'b260872ea4ab52286e1abfa4e79d12feb3d46253' * commit 'b260872ea4ab52286e1abfa4e79d12feb3d46253': Add support for native (JNI) calls to the trace tools.
| * Add support for native (JNI) calls to the trace tools.Jack Veenstra2009-05-194-19/+67
| | | | | | | | | | Also fix a bug in profile_pid.cpp and add better output to stack_dump.cpp.
* | am b08d3a39: Merge change 2004 into donutAndroid (Google) Code Review2009-05-193-158/+330
|\ \ | |/ | | | | | | | | | | Merge commit 'b08d3a396914b1aaba1270a9021289bdbe3cac5f' * commit 'b08d3a396914b1aaba1270a9021289bdbe3cac5f': Handle munmap() and add support for tracing JNI (native) calls.
| * Handle munmap() and add support for tracing JNI (native) calls.Jack Veenstra2009-05-193-158/+330
| | | | | | | | | | | | | | | | | | 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.
* | am bba5ffb: Merge change 1347 into donutAndroid (Google) Code Review2009-05-112-0/+258
|\ \ | |/ | | | | | | | | | | Merge commit 'bba5ffb847d10a65ce323f3c607f9f842c21e0c1' * commit 'bba5ffb847d10a65ce323f3c607f9f842c21e0c1': Add a new program for checking the correctness of the computed stack from a trace.
| * Add a new program for checking the correctness of the computed stack from a ↵Jack Veenstra2009-05-112-0/+258
| | | | | | | | | | | | | | | | | | | | 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).
* | am e14d320: Merge change 1346 into donutAndroid (Google) Code Review2009-05-112-1/+89
|\ \ | |/ | | | | | | | | | | Merge commit 'e14d320465bc14fd413c3e735643fccb7020db2b' * commit 'e14d320465bc14fd413c3e735643fccb7020db2b': Better output for viewing the method trace.
| * Better output for viewing the method trace.Jack Veenstra2009-05-112-1/+89
| | | | | | | | | | | | 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.
* | am 6b56383: Merge changes 1344,1345 into donutAndroid (Google) Code Review2009-05-112-27/+75
|\ \ | |/ | | | | | | | | | | | | 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.
| * Fix the tracing code that keeps track of the Java method stack.Jack Veenstra2009-05-111-22/+41
| | | | | | | | | | | | | | 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.
| * Add a "-d time" option to stack_dump to dump the stack at the given time.Jack Veenstra2009-05-091-5/+34
| |
* | am 2822ae3: Merge change 1343 into donutAndroid (Google) Code Review2009-05-112-21/+21
|\ \ | |/ | | | | | | | | | | Merge commit '2822ae37115ebf13412bbef91339ee0d9454525e' * commit '2822ae37115ebf13412bbef91339ee0d9454525e': Fix compiler warnings by changing "char*" to "const char*".
| * Fix compiler warnings by changing "char*" to "const char*".Jack Veenstra2009-05-092-21/+21
| |
* | am 5ea0a94: Merge change 657 into donutAndroid (Google) Code Review2009-04-299-36/+36
|\ \ | |/ | | | | | | | | | | Merge commit '5ea0a9436cda662264cc0dcf92d3559d532383bb' * commit '5ea0a9436cda662264cc0dcf92d3559d532383bb': Fix a memory deallocation error that was crashing q2dm.
| * Fix a memory deallocation error that was crashing q2dm.Jack Veenstra2009-04-289-36/+36
| | | | | | | | Also fix a bunch of compile warnings by changing "char *" to "const char *".
| * auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0346-0/+9513
| |
| * auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0346-9513/+0
| |
* | q2dm: correctly expect the return type of strchr(const char*) to beScott Tsai2009-03-211-2/+2
| | | | | | | | | | | | | | | | | | '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*'
* | Correctly expect the return value of rindex(const char*) to be of typeScott Tsai2009-03-211-2/+2
| | | | | | | | | | | | | | | | | | | | '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
* | auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-0/+1
|\ \ | |/
| * auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-0/+1
| |
* | Add a few missing headersAlexey Zaytsev2008-10-221-0/+1
|/ | | | | | Fixes build with gcc 4.3.2 on Debian. Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
* Initial ContributionThe Android Open Source Project2008-10-2146-0/+9512