Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. Aug 15, 2015
  4. Aug 10, 2015
  5. 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
  6. Jul 03, 2015
  7. 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
  8. Jun 25, 2015
  9. Jun 19, 2015
  10. Jun 17, 2015
  11. Jun 15, 2015
  12. Jun 10, 2015
  13. May 28, 2015
  14. May 14, 2015
  15. 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
  16. Apr 30, 2015
  17. Apr 29, 2015
  18. Apr 25, 2015
  19. Apr 24, 2015
  20. 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
  21. Apr 21, 2015
  22. 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
    • Steven Cahail's avatar
      ipc_logging: Update logging, output directory configurations · 3ae4ed49
      Steven Cahail authored
      It is necessary to allow the script to get included as a module by other
      scripts. Currently, the logging and output directory configuration are
      performed in the script's main function, and the options from parsing
      the command line are not passed from function to function.
      
      Create two new functions for the logging and output directory
      configuraiton, and pass the command-line options object to each
      function that uses it. This allows the options to be passed in from
      other scripts.
      
      Change-Id: Ibf34d72cd70620bcbcc00e48141a87a721b1f987
      3ae4ed49
    • Steven Cahail's avatar
      ipc_logging: Update "test" command to accept version, add --64-bit option · d596e39a
      Steven Cahail authored
      When processing a log page, the page header size depends on the size of
      internal structures and pointers that can vary with machine size
      (32-bit or 64-bit). This information is stored in the logging context
      during automated extraction (i.e. when the "parse" command is used), but in
      the "test" command only the log pages are provided, so the necessary
      information is not present.
      
      The correct page header size can be determined if the version of IPC
      Logging and the architecture size (32-bit or 64-bit) are known. Store
      the possible header sizes as module variables, modify the test command
      to accept the IPC Logging version, and modify the script to take an
      argument denoting if the logs are interpreted as 32-bit or 64-bit.
      In the "test" command, select the correct header size using the IPC
      Logging version and architecture size.
      
      Change-Id: I53ccdc7982b5cfd79dfb6c36d982037b3b2a3955
      d596e39a
    • Steven Cahail's avatar
      ipc_logging: Handle corrupted log page headers · 7d11fc36
      Steven Cahail authored
      When parsing IPC logs, sometimes a bogus log page header is present which
      overwrites the bit used to discern whether or not the log page is version
      0. This causes the script to read the version as being 1 or greater, and
      the script then asserts after failing to find a log context for the page.
      In general, header corruption like this may cause other issues that could
      lead to the context not being found, which currently aborts the script.
      
      Modify the script to continue parsing the logs as logs of an unknown
      version in this case. If the header is valid, the proper version will be
      parsed from it, allowing parsing to continue normally.
      
      Change-Id: I02ae617980f817705224b7b02926a9f576dd88e6
      7d11fc36
    • Linux Build Service Account's avatar
  23. Apr 11, 2015
Loading