- 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 23, 2014
-
-
Laura Abbott authored
Commit 4eb3aa20 (linux-ramdump-parser-v2: Update RTB for 64-bit) added support for 64-bit RTB parsing but broke backwards compatibility for old branches that don't have the 64-bit changes. Update the parser to support both old and new formats. Change-Id: I6b9d834e1073d97dd3ffe43c1cc1f753d40e91b8
-
Laura Abbott authored
Some parsers may need to use the out file for their output. Currently, when writing to stdout, we have 'None' as a parser which blows up with dmesg parsing: Traceback (most recent call last): File "ramparse.py", line 318, in <module> p.cls(dump).parse() File "dmesg.py", line 20, in parse dmesglib.DmesgLib(self.ramdump, print_out.out_file).extract_dmesg() File "dmesglib.py", line 79, in extract_dmesg self.extract_dmesg_binary() File "dmesglib.py", line 72, in extract_dmesg_binary self.outfile.write(f) AttributeError: 'NoneType' object has no attribute 'write' Make a default file of sys.stdout to do something reasonable when writing to stdout. --stdout is mostly a debugging feature. Change-Id: I8af80e1e6d79c4ef6660a536df02d26c28089760
-
Laura Abbott authored
The arm32 version of stack unwinding was missing a function. Add it back. Change-Id: I46f769938601867fd7d331e01b200071630696af
-
- May 14, 2014
-
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
- May 13, 2014
-
-
Linux Build Service Account authored
-
- May 12, 2014
-
-
Mitchel Humpherys authored
If a zillion billion differences are found in the RO area, just print to the log once to notify the operator of that fact, instead of printing a zillion billion times. Change-Id: Ie61afe5b8bd2cb207f594b8ee46ebac1af95a08a
-
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
-
Mitchel Humpherys authored
msm_rtb_state.step_size should be either 1 or num_cpus(). If it's greater than num_cpus() error out. Change-Id: Id67c2e767ff78dc52a9facd2e255efc23df616f8
-
- May 08, 2014
-
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
- May 06, 2014
-
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
- May 05, 2014
-
-
Mitchel Humpherys authored
Currently the registered parsers can be run in basically any order. It would be slightly messy to run them in the order the user specified on the command line, so just run them alphabetically for now. This is needed to do regression testing on the LRDP (diff'ing output of the same dumps with different LRDP code). Change-Id: Ib63c9b5fecaf1170df0e9e121980fcd0e4f35623
-
Mitchel Humpherys authored
A debug print statement snuck through at some point. Remove it. Change-Id: Ifca4f54c1b65deaa06295be5422bd211be5405b0
-
Laura Abbott authored
To generate proper simulator launching scripts, the TTBR needs to be set in the MMU object. This was missing for LPAE page tables. Set it. Change-Id: I236df9db59290e4fe90c1959a9a92b51622c821e
-
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
-
Laura Abbott authored
arm64 needs different parameters to read ramdumps. Update the script. Change-Id: I33a79d5f98a0fdc271fa769ccd40aad495c677af
-
- Apr 26, 2014
-
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
- Apr 25, 2014
-
-
Linux Build Service Account authored
-
- Apr 24, 2014
-
-
Sarangdhar Joshi authored
Add support to dump trace data when scatter gather feature is enabled for TMC ETR configuration Change-Id: I6ca3e161326efbf42f44775775bd5eff8553a383
-
Aparna Das authored
Add support to locate TMC trace buffer in memory when the address width is greater than 32 bits. Change-Id: I7d916a6f9cfe0312764702b67d410778eaa55a04
-
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
-
Olav Haugan authored
APQ8026 LW has a different memory map and the SMEM location has moved to 0x0300_0000. Change-Id: Iede7dc26f5dc11127a5ba7f8ce4288ec5ab85f2d
-
Aparna Das authored
Add support to the ramdump parser to parse debug image v2 format. Current support is for parsing cpu context and QDSS dumps. Change-Id: Ic7437e3b999845d607366bcf727f00078f81915a
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
- 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
-
Mitchel Humpherys authored
ListWalker.__init__ was recently changed to remove some unneeded arguments. The vmalloc parser was also updated at roughly the same time with a new usage of the ListWalker class and was using the old constructor. Update it. Change-Id: Ia47c22511aab7207b65813d25c9f97d65c24e2db
-
Mitchel Humpherys authored
It's not always useful to pass extra data to the list walker function. For example, if the list walker function is a class method, state can be passed around by simply modifying class instance variables. Update `ListWalker.walk' to accept extra arguments optionally, not require them. Change-Id: I433f1e34db5c143c838f0eb2ed7f58203712ccb3
-
- Apr 22, 2014
-
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-