Skip to content
Snippets Groups Projects
  1. Nov 10, 2015
  2. Nov 06, 2015
  3. Oct 16, 2015
    • David Garibaldi's avatar
      lrdpv2: Ensure that QTF parsing is thread-safe · 1b926676
      David Garibaldi authored
      The debug_image_v2 module's usage of QTF to extract Ftrace log
      information currently relies on a single QTF server process, and
      communicates with that server process via a fixed port ID. Any other
      instances of the ramdump parser running in parallel will also use
      this same server and port ID, which presents a race condition if
      multiple instances attempt to parse QTF input files simultaneously.
      
      To deal with this problem, each ramdump parser instance must instead
      create and communicate with its own QTF server process via a unique
      port ID.
      
      Change-Id: Ic9c53003789dca229d1e2770d01aa15a702292a7
      1b926676
  4. 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
  5. Sep 08, 2015
  6. Sep 05, 2015
  7. Sep 04, 2015
  8. Sep 02, 2015
  9. 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
  10. 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
  11. 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
  12. Aug 15, 2015
  13. Aug 10, 2015
  14. Jul 11, 2015
    • Shashank Mittal's avatar
      linux-ramdump-parser-v2: Add support to call DCC parser · e1646624
      Shashank Mittal authored
      Add support to parse DCC captured data from crash dumps and produce
      human readable result.
      
      Change-Id: I898b404b074fc037e339bf535c27bf190619cc9d
      e1646624
    • Shashank Mittal's avatar
      dcc_parser: Add tool to parse DCC captured data · 05bc3025
      Shashank Mittal authored
      DCC (Data Capture and Compare) is a DMA engine which is used to save
      configuration data or system memory contents during catastrophic failure
      or SW trigger.
      
      This tool parses DCC captured binary dump to produce result in human
      readable form.
      
      This tool can generate output either in XML or JSON format.
      
      Change-Id: I6670874d7dc7795a53d00c08c6daa01b1f2896a5
      05bc3025
  15. Jul 03, 2015
  16. 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
  17. Jun 25, 2015
  18. Jun 19, 2015
  19. Jun 17, 2015
  20. Jun 15, 2015
  21. Jun 10, 2015
  22. May 28, 2015
  23. May 14, 2015
  24. 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
  25. Apr 30, 2015
Loading