Skip to content
Snippets Groups Projects
  1. Apr 17, 2014
  2. Apr 16, 2014
  3. Apr 12, 2014
  4. 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
    • Mitchel Humpherys's avatar
      lrdp-v2: automatically lookup addresses when needed · 8d02f6cf
      Mitchel Humpherys authored
      Add support to RamDump.virt_to_phys for automatically looking up
      addresses of symbols when a string is passed in. This will simplify code
      that uses the RamDump.read_* routines.
      
      Old way:
      
          mydata_addr = ramdump.addr_lookup('data_var')
          mydata2_addr = ramdump.addr_lookup('data2_var')
      
          mydata = ramdump.read_word(mydata_addr)
          mydata2 = ramdump.read_word(mydata2_addr)
      
      New way:
      
          mydata = ramdump.read_word('data_var')
          mydata2 = ramdump.read_word('data2_var')
      
      Of course, the "Old way" will still work.
      
      Change-Id: I0c006f5135b48f8385d2107d9b9d2fe767a266b0
      8d02f6cf
  5. Apr 05, 2014
  6. 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
  7. Mar 28, 2014
  8. Mar 15, 2014
  9. Mar 14, 2014
  10. Mar 13, 2014
    • Laura Abbott's avatar
      linux-ramdump-parser-v2: Skip bad rodata headers · 1bc0a672
      Laura Abbott authored
      When checking for rodata differences, we scan the ELF headers of
      the vmlinux. Newer vmlinux files seem to have extra ELF headers
      with addresses outside the valid mapped range. If we encounter
      one of those headers and read an invalid address, skip it.
      
      Change-Id: I2a8af784df7216bf9d890be42eec8599fbaa7f72
      1bc0a672
    • Laura Abbott's avatar
      linux-ramdump-parser-v2: Conditionally add phys offset for socinfo · 9e570006
      Laura Abbott authored
      Commit 3d6a90bd
      (linux-ramdump-parser-v2: Don't use ram start address in socinfo)
      corrected the case for --auto-dump detection but broke the case of
      specifying ram files manually with addresses. When specifying the
      addresses manually, the addresses given are correct so the ram start
      does need to be added. Correct the code to add the offset by default
      but not add when doing autodetection.
      
      Change-Id: I50d54a932210afeace49a898dd819dc46c3e3aa1
      9e570006
    • Laura Abbott's avatar
      linux-ramdump-parser-v2: Import page_buddy for page tracking · def47c54
      Laura Abbott authored
      The page_tracking code is missing the page_buddy import. Import it.
      
      Change-Id: I0030305e51f470cdd379f8237bb15c912601e861
      def47c54
    • Laura Abbott's avatar
      linux-ramdump-parser-v2: Add basic support for 64-bit · 045b5c4c
      Laura Abbott authored
      Ram dumps are now being generated for 64-bit ramdumps. Update the
      parser to account for this.
      
      Change-Id: I54a354f39701ad96dd7b81010ec6c5989dd471ad
      045b5c4c
Loading