- Nov 17, 2015
-
-
Mitchel Humpherys authored
Although the `--shell' option can currently be used for ad-hoc debugging, it's not ideal for scripting since it prints out a bunch of other stuff during initialization. Add a dedicated `--eval' option that executes arbitrary Python code without printing anything else. Change-Id: I9e24e6d140dd49208b850b2a17ac2f599a35657b
-
- Sep 02, 2015
-
-
Mitchel Humpherys authored
Most new targets are now 64-bit. Make --64-bit the default and add a --32-bit option to force 32-bit parsing. Change-Id: I8b77b9851b714a4708bcd34c563a84119900fb07
-
- Apr 23, 2015
-
-
Steven Cahail authored
Integrate the IPC Logging extraction script module into linux-ramdump-parser-v2. Move ipc_logging.py from into the linux-ramdump-parser-v2/parsers directory, and create a relative symbolic link in the original location. Add a new file, ipc_logging_ramparse.py, which performs the actual integration. Change-Id: If0db4f82814a644094af7ebd0e4290dd145f94ac
-
- Apr 20, 2015
-
-
Steven Cahail authored
The constructor currently used in ramparse.py to initialize the RamDump object has a very long argument list. This list can be shortened by passing the options object to the constructor, rather than enumerating every member of the options object as a separate argument. Pass the options object to the RamDump constructor instead of passing each member as a separate argument. Change-Id: I7cbf173232838dd8f9fdbdad0e2b7336ad8fc07b
-
- Sep 26, 2014
-
-
Mitchel Humpherys authored
Currently we only generate scripts that work on t32 on Windows. Add support for launcher scripts targeting t32 on Linux. Change-Id: I50a293925e181f1b2370d6f7b0df719facdce18a
-
- Jul 16, 2014
-
-
Aparna Das authored
Add support to collect ftrace formats file and parse trace data using QTF tool. Change-Id: I6bd7dda1a39a60f714549dd22fabf11db00020e1
-
- Jun 22, 2014
-
-
Monu Surana authored
DDRCompare currently performs these tasks: * Checks the magic values of all the statically initialized locks * Scans the doubly linked list of the task list to find corruptions Change-Id: Ie4904c2434f073d5711bb439029ffec35919846e
-
- Jun 04, 2014
-
-
Laura Abbott authored
Some binaries may be compiled with a different page offset. Add an option to allow the page offset to be adjusted properly. Change-Id: I50cf0241f8a52aa0f9cd070da827775b5cb4764c
-
- May 12, 2014
-
-
Mitchel Humpherys authored
Sometimes it's useful to force a flush of the global outfile. Provide a method to do so and use it in the main parser loop. Change-Id: I18e9a07345c852d498b131b442df5a0c95bbcf98
-
Mitchel Humpherys authored
It can be useful to know which parser is currently running and how long each parser takes to run. Add some progress status reporting to this end. Change-Id: Ifc063feb4769fee02f0622d7a2c5ddf176ae00dc
-
- May 05, 2014
-
-
Laura Abbott authored
For reasons ranging from mangled dumps to bugs in code, the parser may generate exceptions while parsing. Rather than terminate the entire script, handle exceptions in a more graceful fashion. Change-Id: I883ee9c0910802b00c797380af5b21e00990dce8
-
- Apr 24, 2014
-
-
Mitchel Humpherys authored
If the user has python2.7 installed but it's not the default interpreter on their system, they might get confused when they invoke the parser and get a message about needing to install 2.7 even though they already have it installed. Add some instructional messages about this situation to the 2.6 invocation warning message as well as the README. Change-Id: Ib1ee7df39199f715b236dbda2f75093ba0501648
-
- Apr 23, 2014
-
-
Mitchel Humpherys authored
We don't support python3 at all and python2.6 can only be used if the user installs an extra package (OrderedDict [1]). Ask for python2 explicitly in the shebang line to resolve the python3 issues and print some instructions to the user regarding python2.6 when that is used. If the user insists on using python2.6, provide a command line switch (--force-26) to skip the version check. To reduce clutter, don't document this switch in the --help text but inform the user about its existence when we error out due to the python2.6 check. In order to even print an error message in python3 we have to first ensure that our code is valid in python3, otherwise the interpreter fails to even start executing our code (so we can't print any messages). Use 2to3 to patch up some print statements, etc. Also fix inconsistent whitespace, which is a syntax error on python3. [1] https://pypi.python.org/pypi/ordereddict Change-Id: Ie2c0a200e60ec90bf6cf49789f2cc75f181fa94b
-
- Apr 21, 2014
-
-
Mitchel Humpherys authored
Currently, if the user doesn't specify a vmlinux image or an autodumpdir (like when running ramparse.py with absolutely no arguments) they get a big ugly python stacktrace and no helpful error message. Fix this. Change-Id: I2d5aaaae5c8afd651ef48cfbd8f974227c2032fe
-
- Apr 16, 2014
-
-
Mitchel Humpherys authored
Currently we error out and ask the user to create the output directory if it doesn't exist. As a convenience, just create the directory for them. Change-Id: I0e9caa8294d644621bd166a06e2a70c8ca5715fc
-
- Apr 07, 2014
-
-
Mitchel Humpherys authored
It's not uncommon for the vmlinux file to live in the same directory as the actual RAM dumps. If the users doesn't explicitly specify a vmlinux image to use, look for it in the autodump dir. If we still can't find it there, error out as usual. Change-Id: I702c5584477e26912e0857dbd03b02491bd33c6c
-
Mitchel Humpherys authored
When local_settings.py is missing variables we just error out when trying to access those attributes. Improve the error message by mentioning local_settings.py and pointing the user to README.txt. Change-Id: Iaa2a1ab96ca889d75972bbfa1d4e127a8bf5bec1
-
- Apr 04, 2014
-
-
Mitchel Humpherys authored
During development, it's quite convenient to load up an interactive python interpreter with a RamDump instance loaded. Add some command line switches to launch an interactive shell with the RamDump instance that gets created as a result of whatever other command line options are passed. If IPython is installed, an IPython interpreter will be launched, otherwise a classic Python interpreter will be launched. The classic interface can also be forced with --classic-shell. Change-Id: Id59acb97a830055212de9db3eaf05f18358f757f
-
- Mar 13, 2014
-
-
Laura Abbott authored
Ram dumps are now being generated for 64-bit ramdumps. Update the parser to account for this. Change-Id: I54a354f39701ad96dd7b81010ec6c5989dd471ad
-
- Jan 27, 2014
-
-
Mitchel Humpherys authored
Somewhere along the way we started ignoring the --nm-path and --gdb-path options. Fix this. Also ensure that the command line options take precedence over anything from local_settings.py or anything discovered from CROSS_COMPILE. Change-Id: I39ff653c7de7fb1de170701b898567c9b2356835
-
Mitchel Humpherys authored
We are currently printing gdb_path when there are issues with nm_path. Fix this by printing nm_path. Also change local_settings.pyi to local_settings.py. Change-Id: I391abb423b32cf571be1d6da3b8961cc3c6e2ee4
-
- Jan 03, 2014
-
-
Laura Abbott authored
After a crash, ramdumps may be collected for analysis. The ram parser is a tool to aid in analysis of these dumps. The script extracts useful information from the dumps to help with debugging. Please see the README for full details. Change-Id: I7795686a96bbfe246edf47d09e3f616131688429
-