Skip to content
Snippets Groups Projects
  1. May 08, 2014
  2. May 06, 2014
  3. May 05, 2014
    • Mitchel Humpherys's avatar
      lrdp-v2: sort the parsers before running · 27099b29
      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
      27099b29
    • Mitchel Humpherys's avatar
      lrdp-v2: remove spurious print statement · f137325a
      Mitchel Humpherys authored
      A debug print statement snuck through at some point. Remove it.
      
      Change-Id: Ifca4f54c1b65deaa06295be5422bd211be5405b0
      f137325a
    • Laura Abbott's avatar
      linux-ramdump-parser-v2: Set ttbr for LPAE page tables · be6d63c8
      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
      be6d63c8
    • Laura Abbott's avatar
      linux-ramdump-parser-v2: Catch parsing exceptions · a7d3bcd8
      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
      a7d3bcd8
    • Laura Abbott's avatar
      linux-ramdump-parser-v2: Update t32 script for arm64 · 34cd335d
      Laura Abbott authored
      arm64 needs different parameters to read ramdumps. Update the script.
      
      Change-Id: I33a79d5f98a0fdc271fa769ccd40aad495c677af
      34cd335d
  4. Apr 26, 2014
  5. Apr 25, 2014
  6. Apr 24, 2014
  7. Apr 23, 2014
    • Mitchel Humpherys's avatar
      lrdp-v2: improve handling of unsupported python versions · 76fe732d
      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
      76fe732d
    • Mitchel Humpherys's avatar
      lrdp-v2: vmalloc: use new ListWalker constructor · 540345e9
      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
      540345e9
    • Mitchel Humpherys's avatar
      lrdp-v2: linux_list.py: make the `extra' argument of `walk' optional · e2f87e11
      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
      e2f87e11
  8. Apr 22, 2014
  9. Apr 21, 2014
Loading