Skip to content
Snippets Groups Projects
  1. May 12, 2014
    • Mitchel Humpherys's avatar
      lrdp-v2: add progress indicator · 9cebcb69
      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
      9cebcb69
  2. May 05, 2014
    • 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
  3. Apr 24, 2014
    • Mitchel Humpherys's avatar
      lrdp-v2: README: ramparse.py: add more help about python2.7 · fefcd717
      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
      fefcd717
  4. 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
  5. Apr 21, 2014
  6. Apr 16, 2014
  7. Apr 07, 2014
    • Mitchel Humpherys's avatar
      lrdp-v2: look for vmlinux in autodump dir when missing · b70d9718
      Mitchel Humpherys authored
      It's not uncommon for the vmlinux file to live in the same directory as
      the actual RAM dumps. If the users doesn't explicitly specify a vmlinux
      image to use, look for it in the autodump dir. If we still can't find it
      there, error out as usual.
      
      Change-Id: I702c5584477e26912e0857dbd03b02491bd33c6c
      b70d9718
    • Mitchel Humpherys's avatar
      lrdp-v2: better error message for bad local_settings.py · 7b181bfb
      Mitchel Humpherys authored
      When local_settings.py is missing variables we just error out when
      trying to access those attributes. Improve the error message by
      mentioning local_settings.py and pointing the user to README.txt.
      
      Change-Id: Iaa2a1ab96ca889d75972bbfa1d4e127a8bf5bec1
      7b181bfb
  8. Apr 04, 2014
    • Mitchel Humpherys's avatar
      lrdp-v2: add interactive shell · c52de5a0
      Mitchel Humpherys authored
      During development, it's quite convenient to load up an interactive
      python interpreter with a RamDump instance loaded. Add some command line
      switches to launch an interactive shell with the RamDump instance that
      gets created as a result of whatever other command line options are
      passed.
      
      If IPython is installed, an IPython interpreter will be launched,
      otherwise a classic Python interpreter will be launched. The classic
      interface can also be forced with --classic-shell.
      
      Change-Id: Id59acb97a830055212de9db3eaf05f18358f757f
      c52de5a0
  9. Mar 13, 2014
  10. Jan 27, 2014
  11. Jan 03, 2014
    • Laura Abbott's avatar
      linux-ramdump-parser-v2: Initial contribution of ram parser · 9133968f
      Laura Abbott authored
      After a crash, ramdumps may be collected for analysis. The ram
      parser is a tool to aid in analysis of these dumps. The script
      extracts useful information from the dumps to help with debugging.
      Please see the README for full details.
      
      Change-Id: I7795686a96bbfe246edf47d09e3f616131688429
      9133968f
Loading