Skip to content
Snippets Groups Projects
  1. Oct 14, 2015
  2. Sep 26, 2015
    • Sarangdhar Joshi's avatar
      lrdpv2: Compute program counter based on other GPRs for msm8996 · a025f637
      Sarangdhar Joshi authored
      In certain reset scenarios, Program Counter value is not retained
      across reset. Implement logic to approximate Program Counter based on
      other General Purpose Registers. This should help get the CPU
      context from crash dumps when original Program Counter value is
      NULL or invalid.
      
      Change-Id: Iacffc4103df1d482682bc7c1e6b83a55981ca78d
      a025f637
  3. Sep 02, 2015
  4. Sep 01, 2015
    • Amey Telawane's avatar
      lrdp-v2: Add option to parse DDR base address · 3c292b97
      Amey Telawane authored
      Presently auto-dump option finds DDR base addresses from
      statically defined per target meta data in boards.py. This
      leads to auto-dump feature fail on different targets, say
      with different DDR base and size.
      
      Add support to parse DDR base addresses from load.cmm,
      dump_info.txt or ramdump_msg.txt which ever is available in
      that order. Fall-back to conventional static populated data
      in boards.py if none of them is available.
      
      Change-Id: Ie4ac4f281e92c9b527de17fa665c9cd6c3d5d384
      3c292b97
    • Gopi Krishna Nedanuri's avatar
      linux-ramdump-parser-v2: Read last_queued and others with correct funtion · 6bb94412
      Gopi Krishna Nedanuri authored
         There are a few variables being read with the wrong size accessor
      functions.  Fix these.
      
      Change-Id: Id12fe14347442addc50e267240002ed416f48d49
      6bb94412
  5. Aug 31, 2015
    • Sarangdhar Joshi's avatar
      lrdpv2: Fix list vs tuple comparison · 9ad7f414
      Sarangdhar Joshi authored
      The ram_dump.kernel_version variable is defined as a list and
      incorrectly compared with tuple. This comparison always fails.
      Fix it by changing ram_dump.kernel_version variable to tuple.
      
      Change-Id: I12d4556693101fccfad795e5ea737b42e96acac7
      9ad7f414
  6. Aug 20, 2015
    • Sarangdhar Joshi's avatar
      lrdpv2: Fix an issue with unwinding stack for NON HLOS · c1f67ce5
      Sarangdhar Joshi authored
      Ram dump parser does not support unwinding the stack for NON
      HLOS images. In certain cases, we get below exception when
      parser tries to dump the context for NON HLOS address. Check
      for NON HLOS address and return from the function without
      unwinding the frame pointer.
      
      Exception: Invalid stage 1 first- or second-level translation
      descriptor: (value: 0x0 {dtype[1:0]=>0x0})
      addr: (value: 0x21812010 {base[47:12]=>0x21812, offset[11:3]=>0x2})
      
      Change-Id: I6cacec18574737d0e8261ba1f39dfe2b9b302304
      c1f67ce5
    • Sarangdhar Joshi's avatar
      lrdpv2: Fix format.txt dumping support for 3.18 kernel · cb8a25ba
      Sarangdhar Joshi authored
      ftrace_event_call structure is changed on 3.18 kernel. This
      structure is used to dump formats.txt so that ftrace logs can be
      parsed. Fix the parser to honor new structure format.
      
      Change-Id: I26354a7048fe6d6180c24b95f840291d02ab2329
      cb8a25ba
  7. Aug 10, 2015
  8. Jul 11, 2015
  9. Jul 01, 2015
    • Sarangdhar Joshi's avatar
      lrdpv2: Fix an infinite loop while iterating RT data structure · bcf6f5ee
      Sarangdhar Joshi authored
      Ram dump parser compares RT data structure list head location
      with first element in the list to determine whether list is
      empty. However it never checks for cycle in the list and runs
      forever in cases where cycle exists in the list. Fix this by
      tracking the elements seen and break the loop when cycle is
      found.
      
      Change-Id: I971c59b81bf340eddff6c8225aebb163af20aba8
      bcf6f5ee
  10. Jun 25, 2015
  11. Jun 19, 2015
  12. Jun 15, 2015
  13. Jun 10, 2015
  14. May 28, 2015
  15. May 14, 2015
  16. May 01, 2015
    • Patrick Daly's avatar
      ldrpv2: slabinfo: Check poison markers on all slub objects · cc34df83
      Patrick Daly authored
      Validates redzone, padding, and poison markers for both allocated
      and free objects.
      
      Example output format:
      
      Poison overwritten
      INFO: 0xffffffc090546a30-0xffffffc090546a3f. First byte 0x0 instead of 0x6b
      INFO: Object 0xffffffc090546a00 @offset=%a00 fp=0xffffffc090546f00
      
      Bytes b4
      ffffffc0905469f0: 5a5a 5a5a 5a5a 5a5a 5a5a 5a5a 5a5a 5a5a  ZZZZZZZZZZZZZZZZ
      Object
      ffffffc090546a00: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b  kkkkkkkkkkkkkkkk
      ffffffc090546a10: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b  kkkkkkkkkkkkkkkk
      ffffffc090546a20: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b  kkkkkkkkkkkkkkkk
      ffffffc090546a30: 006b 006b 600b 6b00 6b00 006b 6b00 6b00  .k.k`.k.k..kk.k.
      ffffffc090546a40: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b  kkkkkkkkkkkkkkkk
      ffffffc090546a50: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b  kkkkkkkkkkkkkkkk
      ffffffc090546a60: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b  kkkkkkkkkkkkkkkk
      ffffffc090546a70: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b  kkkkkkkkkkkkkkkk
      ffffffc090546a80: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b  kkkkkkkkkkkkkkkk
      ffffffc090546a90: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b  kkkkkkkkkkkkkkkk
      ffffffc090546aa0: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b  kkkkkkkkkkkkkkkk
      ffffffc090546ab0: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b  kkkkkkkkkkkkkkkk
      ffffffc090546ac0: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b  kkkkkkkkkkkkkkkk
      ffffffc090546ad0: 6b6b 6b6b 6b6b 6ba5                      kkkkkkk.
      
      Change-Id: I2f784188f6f6990b1d3399d79f7ab9ef635e4835
      cc34df83
    • Patrick Daly's avatar
      lrdpv2: slabinfo: Read commonly used data once · 8ea03eca
      Patrick Daly authored
      Create a class containing the commonly used fields from kmem_cache instead
      of extracting these fields from the ramdump once per slub object.
      
      Change-Id: I56b06b15d6dd7bcc3388943b6efeb00f0216ecb4
      8ea03eca
  17. Apr 24, 2015
  18. Apr 23, 2015
    • Steven Cahail's avatar
      linux-ramdump-parser-v2: Integrate IPC Logging · 09615691
      Steven Cahail authored
      Integrate the IPC Logging extraction script module into
      linux-ramdump-parser-v2.
      
      Move ipc_logging.py from into the linux-ramdump-parser-v2/parsers
      directory, and create a relative symbolic link in the original location.
      Add a new file, ipc_logging_ramparse.py, which performs the actual
      integration.
      
      Change-Id: If0db4f82814a644094af7ebd0e4290dd145f94ac
      09615691
    • Patrick Daly's avatar
      lrdpv2: slabinfo: Prepare for future changes · 693e6c86
      Patrick Daly authored
      
      Separate code which iterates through all slab objects from code which
      is run for each object.
      
      Change-Id: Iac799627e4d4c5f80c624a330f66218f1bfd8bc1
      Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
      693e6c86
  19. Apr 21, 2015
  20. Apr 20, 2015
    • Steven Cahail's avatar
      linux-ramdump-parser-v2: Pass options object to RamDump constructor · 5e7d333a
      Steven Cahail authored
      The constructor currently used in ramparse.py to initialize the RamDump
      object has a very long argument list. This list can be shortened by
      passing the options object to the constructor, rather than enumerating
      every member of the options object as a separate argument.
      
      Pass the options object to the RamDump constructor instead of passing
      each member as a separate argument.
      
      Change-Id: I7cbf173232838dd8f9fdbdad0e2b7336ad8fc07b
      5e7d333a
  21. Apr 11, 2015
  22. Mar 25, 2015
  23. Mar 19, 2015
    • Patrick Daly's avatar
      ldrpv2: Clean up cachedump library for 8992 · 29cd88a1
      Patrick Daly authored
      Rename a variable to better describe its purpose.
      Change the size of the L2 cache for 8992 to the correct value.
      Update version information for 8994.
      
      Change-Id: Ie0bf7e9ff257555cc40467918d258b05bf4c2ada
      29cd88a1
  24. Mar 11, 2015
    • Aditya Degwekar's avatar
      linux-ramdump-parser-v2: Parse socinfo only if needed · 7b0aaff3
      Aditya Degwekar authored
      If user specified --force-hardware, then skip the socinfo parsing to
      determine the hardware/board information. The user is warned about
      using the force-hardware option any way.
      
      Checking for valid swapper_pg_dir in the vmlinux also ensures that
      the parsing doesn't trip over when --force-hardware is used along with
      a bad or stripped vmlinux.
      
      Change-Id: Icce1556b39a7533418668a7f38af30f4463c32e5
      7b0aaff3
  25. Mar 10, 2015
  26. Mar 06, 2015
  27. Mar 02, 2015
    • Mitchel Humpherys's avatar
      lrdpv2: roareadiff: don't print non-printable characters · 803e9997
      Mitchel Humpherys authored
      The format of the roareadiff output was recently changed, in
      [99a8ae9d: "linux-ramdump-parser-v2: Update roareadiff for arm64"].
      That change introduced the possibility of printing non-printable
      characters in string representations of the memory dumps.  Fix this by
      outputting a `.' for non-printable characters.
      
      Change-Id: I1efd0775fac89618f43986523c6a9207afed7e5e
      803e9997
  28. Feb 27, 2015
    • dgaribal's avatar
      linux-ramdump-parser-v2: Optimize taskdump panic stack dumping · bf0fe6ec
      dgaribal authored
      When attempting to locate panicking tasks via the
      "--check-for-panic" option, the taskdump parser currently attempts
      to exhaustively check every task in kernel task list to see if it
      panicked.
      
      To improve performance, task checking can be limited to tasks that
      were listed as currently running at the time the RAM dump was
      collected. Other tasks do not need to be checked because a
      panicking process is expected to disable IRQs and preemption after
      entering the panic handler, and therefore will not yield to any
      other tasks executing on the same CPU prior to resetting.
      
      Change-Id: I51d7b979f918e21bfdd2adf2a3429883f11bab6a
      bf0fe6ec
  29. Feb 19, 2015
Loading