- Apr 24, 2014
-
-
Aparna Das authored
Add support to locate TMC trace buffer in memory when the address width is greater than 32 bits. Change-Id: I7d916a6f9cfe0312764702b67d410778eaa55a04
-
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
-
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
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Mitchel Humpherys authored
The parser now requires Python 2.7 so that 2.7-specific features can be leveraged. Update the README to reflect this. Change-Id: I7e1ba9f99f077c7f48ed7b44ab24f56f0f18c3ea
-
Mitchel Humpherys authored
[29d3f2ed: "lrdp-v2: refactor Iommu domain parsing code"] introduced an extra argument for rb_tree `walker' functions, but didn't update the runqueue rb_tree user, so the ramdump parser currently fails to print the runqueue state. Fix this. For certain dumps, before this change we would see the following backtrace: Traceback (most recent call last): File "ramparse.py", line 266, in <module> p.cls(dump).parse() File "parsers/runqueue.py", line 196, in parse self.print_cfs_state(cfs_rq_addr) File "parsers/runqueue.py", line 101, in print_cfs_state rb_walker.walk(tasks_timeline_addr, self.cfs_node_func) File "rb_tree.py", line 54, in walk self._walk(node, func, [], extra) File "rb_tree.py", line 39, in _walk self._walk(left_node, func, seen, extra) File "rb_tree.py", line 39, in _walk self._walk(left_node, func, seen, extra) File "rb_tree.py", line 41, in _walk func(node, extra) TypeError: cfs_node_func() takes exactly 2 arguments (3 given) Change-Id: Ic19ec42d6cfbe87b6e0a0e99c6adf7c41e5b35e9
-
- Apr 21, 2014
-
-
Laura Abbott authored
Because pages are constantly being allocated and freed, the pagetypeinfo may not be in a consistent state when dumps are collected. Check to make sure there are no cycles in the list for more than just the next item. Change-Id: Ie986bbb78f39923dbe11ef0446912518bc6c7fc5
-
Laura Abbott authored
Sizes for 64-bit are different. Update rtb accordingly. Change-Id: Ie7c4014cc22b7c071017bb3d76519542ba58082d
-
Laura Abbott authored
It's bothersome at a fundamental level that the first line of the stack trace is printed out on the same line as the 'Stack:' tag. Fix it. Change-Id: I895ad0969c4afb5b081ad10dca180a2bb1178291
-
Laura Abbott authored
The number of interrupts is an int which is different from the word size. Switch to it. Change-Id: I06b5186ac0121854870606c78488c26f22d79f2c
-
Laura Abbott authored
The way the vmalloc list is walked has changed to use a different structure. The old structure is now freed at init time. This may not be noticed if init memory isn't freed. Switch to a method that does not rely on not freeing initmem. Change-Id: I9f9b095ac4740ff13c1f54e39c641f286941a63f
-
Laura Abbott authored
Many of the lists are very large and may overflow if traversed recursively. Switch to an iterative method instead. Change-Id: I8bf476eefae7e223a16fdd50bb9b10d7c24cb247
-
Laura Abbott authored
Reading 64 bits of data is needed at times. Add a dedicated function Change-Id: Ibef3777a574fb4ea87af51ab8230af7d4402c4f9
-
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
-
Mitchel Humpherys authored
The IOMMU parser currently only supports short-descriptor format page tables but hardware supports long-descriptor format page tables. Add support for the long-descriptor format. Most of the existing LPAE MMU code can be re-used for this, although it must be refactored a bit. Change-Id: I464d7edeb8818c0be9de1e1a8224bc9b478eac37
-
- Apr 17, 2014
-
-
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
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-