Skip to content
Snippets Groups Projects
  1. May 26, 2017
    • Soumen Ghosh's avatar
      lrdp-v2:minidump parsing support add in ramparser · 687e1bab
      Soumen Ghosh authored
      	A minidump supports fewer features than a full ramdump,
      	but does not require the user to save all 4GB+ of memory.
      	Instead a small subset of DDR is saved by crashscope as an elf file.
      	Currently dmesg logs, rtb logs, and the cpu context parser are supported.
      
      	Example usage: python ramparse.py --vmlinux <vmlinux> --minidump
      			--ram-elf <elf_file> --ram-file <OCIMEM.bin> --everything
      
      Change-Id: Ib689b4811d66472ac20aa7c63893fdaed915512e
      687e1bab
  2. May 19, 2017
  3. May 18, 2017
  4. May 16, 2017
    • Sri Krishna Chaitanya Madireddy's avatar
      ldrp-v2: scandump: Add support for sdm845. · ff043947
      Sri Krishna Chaitanya Madireddy authored
      Scandump parser has been modified to generate per cpu cmm files.
      Extract 8 Core bin files from ramdump (offset:0x130 - 0x137)
      and call scandumpwrapper from parse_scandump_per_cpu.
      With MAX_NUM_ENTRIES in ramdump increased to 0x140.
      
      Change-Id: Ic215c9928ba28143a5bf307b67be69d2d06db436
      ff043947
  5. May 08, 2017
  6. May 01, 2017
  7. Apr 24, 2017
  8. Apr 13, 2017
    • Prakash Gupta's avatar
      lrdp-v2: fix printout memory attributes · dfbbf22f
      Prakash Gupta authored
      Fix UnboundLocalError for local variable
      'attr_indx_str' referenced before assignment
      
      ----------begin IOMMU----------
      !!! Exception while running IOMMU
      Traceback (most recent call last):
        File "linux-ramdump-parser-v2\linux-ramdump-parser-v2\ramparse.py", line 376, in <module>
          p.cls(dump).parse()
        File "linux-ramdump-parser-v2\linux-ramdump-parser-v2\parsers\iommu.py", line 352, in parse
          parse_aarch64_tables(self.ramdump, d, domain_num)
        File "linux-ramdump-parser-v2\linux-ramdump-parser-v2\aarch64iommulib.py", line 444, in parse_aarch64_tables
          flat_mapping = create_flat_mappings(ramdump, d.pg_table, d.level)
        File "linux-ramdump-parser-v2\linux-ramdump-parser-v2\aarch64iommulib.py", line 403, in create_flat_mappings
          tmp_mapping)
        File "linux-ramdump-parser-v2\linux-ramdump-parser-v2\aarch64iommulib.py", line 336, in parse_2nd_level_table
          page_size, attr_indx, shareability, xn_bit, True)
        File "linux-ramdump-parser-v2\linux-ramdump-parser-v2\aarch64iommulib.py", line 185, in add_flat_mapping
          map = FlatMapping(virt, phy_addr, map_type_str, page_size, attr_indx_str,
      UnboundLocalError: local variable 'attr_indx_str' referenced before assignment
      ------------end IOMMU----------
      
      Change-Id: I604c920ef302ee9f53d31aa7a0c6edf20c25e7c9
      Fixes: If05b35e7855 ("lrdp-v2: Change to printout memory attributes")
      dfbbf22f
    • Mohammed Khajapasha's avatar
      ldrpv2: cachedumlib: Correct the L1 ICache dump format for A53 · 643ee35d
      Mohammed Khajapasha authored
      Correcting the A53 ICache dump format for parsing the instruction cache
      dump.
      
      Change-Id: Idc2d9dcba1a879461e4470fa9afdb162c50f251b
      643ee35d
  9. Apr 04, 2017
  10. Mar 29, 2017
  11. Mar 28, 2017
  12. Mar 27, 2017
    • Patrick Daly's avatar
      lrdp-v2: Introduce read_s64 · deb67d8f
      Patrick Daly authored
      Add a function for reading a signed 64 bit value from a ramdump.
      
      Change-Id: Ic7e5a8a7cb9d5fd551ffb2c3add2499a25aff540
      deb67d8f
  13. Mar 23, 2017
  14. Mar 22, 2017
  15. Mar 21, 2017
  16. Mar 15, 2017
  17. Mar 14, 2017
  18. Mar 13, 2017
  19. Mar 10, 2017
    • Avinash Jain's avatar
      lrdp_v2: clock info for kernel 4.4+ · ad836820
      Avinash Jain authored
      clock framework is changed in kernel 4.4.38+,
      read clock vealue from different data structures based
      on kernel version.
      
      Change-Id: Ib40c41a1cee22795e924115090c4d90d2592cf56
      ad836820
  20. Mar 09, 2017
  21. Mar 08, 2017
    • Kyle Yan's avatar
      lrdp-v2: Add support for SDM845 · 4ad47548
      Kyle Yan authored
      Add support for detecting sdm845 target and parsing the ramdumps.
      
      Change-Id: Id7bd04d1f3a35bbb35b66a20a2ee2e39b86126c1
      4ad47548
    • Siba Prasad's avatar
      lrdp-v2: Add mmc parser to linux-ramdump-parser · aecacebc
      Siba Prasad authored
      This patch provides mmcdoctor as a parser to get useful debugging
      information about mmc driver.
      
      1. This will be helpful in debugging some obvious mmc driver related
      issues like -
      - clocks are gated for mmc driver.
      - bad firmware issues.
      
      2. Provides info on type of error -
      - CRC/timeout/software-timeout/ etc.
      - Provides useful data structure addresses which otherwise needs to be
        manually parsed
      
      TODO:-
      - To add the additional logic to dump the ring buffer in mmc driver
      to get last mmc events.
      
      Change-Id: I77845699f90e2d045607a3f7239454cb0ddce29a
      aecacebc
    • Siba Prasad's avatar
      lrdp-v2: Add remove_file support to ramdump class · 7bdeea4b
      Siba Prasad authored
      This adds remove_file function to ramdump class.
      
      Change-Id: Ibe6196aad7ccd1c2bb381b9adab682394244f879
      7bdeea4b
  22. Mar 07, 2017
  23. Mar 03, 2017
  24. Mar 01, 2017
  25. Feb 28, 2017
    • Patrick Daly's avatar
      lrdpv2: Correct caching of virt->physical translations · d520a948
      Patrick Daly authored
      Cache translations for pages rather than by exact address. This shows
      a large improvement in efficiency for some specific cases:
      
      Before:
      [9/33] --dmesg ... 18.810140s
      [23/33] --print-rtb ... 78.879237s
      [26/33] --print-tasks ... 29.115214s
      
      After:
      [9/33] --dmesg ... 0.952276s
      [23/33] --print-rtb ... 7.542078s
      [26/33] --print-tasks ... 4.092283s
      
      Change-Id: I1268928e2f1f0493b9047497a0f91b86ad83a296
      d520a948
    • Avinash Jain's avatar
      lrdp_v2: slabinfo optimization and bug fixes. · 61fbfd93
      Avinash Jain authored
      flag for performance on/off, bug fixes.
      
      Change-Id: I07b2086f5f3302c8514a1a8179dbe1605c93f8a2
      61fbfd93
  26. Feb 13, 2017
  27. Feb 08, 2017
Loading