- Dec 16, 2015
-
-
Linux Build Service Account authored
-
- Dec 09, 2015
-
-
David Collins authored
Parse out the APM state that has been configured so that it can be compared against the VDD supply voltage to ensure correct functionality. Change-Id: Iabf78a6799015861379a39d93e59289a489e1510
-
- Nov 19, 2015
-
-
Linux Build Service Account authored
-
- Nov 18, 2015
-
-
Prasad Sodagudi authored
Add support for detecting 8937 target and parsing the ramdumps. Change-Id: If487b01d02c634b8e9788ada07d408cd516af556
-
- Nov 17, 2015
-
-
Mitchel Humpherys authored
Most read functions that take a virtual address also understand string variable names, for convenience. Add this support to the `hexdump' function as well. Change-Id: I773992ba3793a68226b49525b66141b021924387
-
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
-
Mitchel Humpherys authored
Most of the time 100 is a good default max length when reading any old C-string. Use it. Change-Id: I1805b0b4b2b9bc18c06f4ca0e7cd6cd70b854620
-
Mitchel Humpherys authored
GdbMI.symbol_at returns a string, not a GdbSymbol object, so the extra field traversal is unnecessary. Change-Id: I85acd83657e4b6055bd1f7945da73dcf9d4839f1
-
Mitchel Humpherys authored
The name symbol_at gives a better idea of what the function does, and it more closely mirrors the corresponding gdbmi function. Change-Id: If2f3df505bc129a3b963ea363e4c544599626948
-
Mitchel Humpherys authored
In lieu of a more generic way of reading fields from structures, introduce another specialized structure field reader for reading C strings. Change-Id: I6aba392f59179fa70a065a08f19a694e87f683dd
-
Mitchel Humpherys authored
Rename addr_lookup to address_of to match common terminology more closely. Change-Id: I7fc744ce88d1f8880f13dfbf83fb0efcbe9ba0f2
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
- Nov 12, 2015
-
-
Steven Cahail authored
The cmdParse() function has excessive cyclomatic complexity. Reduce the cyclomatic complexity by writing helper functions to obtain version info, handle processing log contexts, and handle processing log pages. Change-Id: I15b8da9b20bb7b20daad3f0f0ac460b6cfe8ad89
-
Steven Cahail authored
LogPage_v1.sortAndLink() has excessive cyclomatic complexity. Reduce the complexity by refactoring sortAndLink() into several smaller functions. This commit is to be squashed into the commit containing all other style fixes. Change-Id: I52ac6027e5f9d45af7d44d4b24beff7a28baea05
-
Steven Cahail authored
The LogPage_v1's class documentation says that the class represents a version 0 IPC log page, but the class represents a version 1 IPC log page. Correct the error. Change-Id: If6ca9a66d486f36d5a2078ff7f78850c35ad65f3
-
Steven Cahail authored
IPC Logging currently displays the kernel log timestamp, which is based on a timer that does not increase when the Apps processor is in suspend. This means that the kernel log timestamp "loses time" and cannot be correlated with events on other processors. The source of the QTimer timestamp is always running and has the same source other logs in the system, which makes it convenient to correlate logs across the system. Update the IPC Logging extraction script to handle version 2 of IPC Logging, which includes the QTimer timestamp. Change-Id: Ia4534a53012e29efe5ac647b6212530f84c07f46
-
Steven Cahail authored
The coding style of the IPC Logging extraction script is not compliant with the Python coding style guide (PEP 0008). In order to be merged into the Linux Ram Dump Parser, the code must be made compliant with PEP 0008. Bring the code into compliance with PEP 0008. Change-Id: Idf587a55670a5b30c7668c78b1625100d6128c9c
-
- Nov 11, 2015
-
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
- Nov 10, 2015
-
-
Mitchel Humpherys authored
Pointers can be either 32-bits or 64-bits, depending on the architecture. Add an accessor function to abstract this away. Change-Id: I64e2c18c85ec3d9ca7304163dc5a42edc83f1443
-
Mitchel Humpherys authored
A few reader functions currently assume that a virtual address (a number) was passed in, but those functions also support reading variable names. Resolve the address or name to a virtual address before doing arithmetic on it. Change-Id: I55aa649ff203926565f8eaf3cb234677ef6b6104
-
Mitchel Humpherys authored
Some of the return sequences in the memory accessor code are unnecessarily complex. Simplify them. Change-Id: Iefe489b3ce4a4591574a2cc8d51aa23ce425b2b1
-
Mitchel Humpherys authored
Currently there are "trace" print statements scattered throughout the code. These make the code harder to follow and aren't terribly useful. Remove them in favor of on-demand instrumentation or more sophisticated debugging methods (like a debugger). Change-Id: I70a91b8dca34566d48ed1f4902cba5b9f9b4de40
-
Mitchel Humpherys authored
We're currently using a hard-coded value for vmemmap. This doesn't work anymore. Calculate its value dynamically the same way the kernel does it. Change-Id: If3e06007ab69c2ee91fefede770c2fb5ccb59fe3
-
Mitchel Humpherys authored
The memory accessor functions that have documentation are using comments rather than docstrings. Fix this. Also rename some variables for improved self-documentation. Change-Id: I6a196ff27665c5b0c96b3c5095b39690015b07e1
-
Mitchel Humpherys authored
Aligning addresses is a handy thing to do when working with memory maps, etc. Add an `align' function to the bitops module for this purpose. Change-Id: I582e8c763119d13b718146f4ff837bfa75e9aa01
-
Mitchel Humpherys authored
It can be useful to look up the values of config items. Store a dictionary mapping config options to their values. Change-Id: I99f7615b2c5926558dfba100fa0c45b6e29ecdb5
-
Mitchel Humpherys authored
The pfn_offset variable in pfn_to_page_vmemmap is not used. Remove it. Change-Id: I9d8379916252c9fa5bef290378f802b82df86a35
-
Mitchel Humpherys authored
Currently, if cache dumping is not supported on a given target, we put up a traceback and error out. The traceback is ugly and not helpful. Catch the NotImplementedError and print a nicer message. Change-Id: I07d1e3a5b56b809135d41919bcc992931764a0af
-
Sarangdhar Joshi authored
T32 simulator gives an error for non register fields. Avoid printing such fields in coreX_regs.cmm. Change-Id: I25ba227365c782b5a90302214b0ce6ee2a296f16
-
- Nov 06, 2015
-
-
Sarangdhar Joshi authored
Follow exact naming conventions for the reserved fields to be consistent with other images. Change-Id: I5aef14ca34883de12cd734c18fdb15317461b535
-
- Nov 02, 2015
-
-
Runmin Wang authored
Add a parser which parses relevant CPR regulator information for the new regulator version 3 to parse target quotient, enable flag and most recent voltage for each registered cpr3-regulator. Change-Id: I9882b1adfce69f06291457ae39d4e9ff7a18d95a
-
- Oct 16, 2015
-
-
David Garibaldi authored
The debug_image_v2 module's usage of QTF to extract Ftrace log information currently relies on a single QTF server process, and communicates with that server process via a fixed port ID. Any other instances of the ramdump parser running in parallel will also use this same server and port ID, which presents a race condition if multiple instances attempt to parse QTF input files simultaneously. To deal with this problem, each ramdump parser instance must instead create and communicate with its own QTF server process via a unique port ID. Change-Id: Ic9c53003789dca229d1e2770d01aa15a702292a7
-
- Oct 14, 2015
-
-
Xiaogang Cui authored
Add support for detecting mdm9607 target and parsing the ramdumps. Change-Id: Iecdb8c5329bac4eda8ff5e8bb3c8906cd3158e93
-