- Apr 23, 2014
-
-
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
-
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
-