Skip to content
Snippets Groups Projects
  1. Mar 10, 2015
  2. 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
  3. 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
  4. Feb 19, 2015
  5. Feb 12, 2015
    • Patrick Daly's avatar
      ldrpv2: Fix next rtb entry algorithm · 1627a6ff
      Patrick Daly authored
      Consider the case of a nentries==8 and 3 cpus.
      Numbers in parenthesis are the equivalent location in the circular buffer.
      CPU:   Index0:  Index1: Index2: Index3:
      0      0        3       6       9(1)
      1      1        4       7       10(2)
      2      2        5       8(0)
      
      The current design is only appropriate for the case where
      nentries % nrcpus == 0.
      
      Fix this issue by incrementing the index by (nentries % nrcpus)
      each time circular buffer wraps around.
      
      CPU:   Index0:  Index1: Index2:
      0      0        3       6+2==8(0)
      1      1        4       7+2==9(1)
      2      2        5       8+2==10(2)
      
      Change-Id: I439fb540fc2c437c6b642d18aa9683603c270f36
      1627a6ff
  6. Feb 11, 2015
  7. Feb 09, 2015
  8. Jan 29, 2015
  9. Jan 27, 2015
  10. Jan 23, 2015
  11. Jan 13, 2015
  12. Jan 12, 2015
    • Patrick Daly's avatar
      lrdp-v2: Support A53 and A57 cachedumps · 1a5b2d21
      Patrick Daly authored
      Decode the tag-ram according to the processor and cache type. Print
      the decoded information alongside each cacheline in a table format.
      
      Support A53 L1 Data Caches.
      Support A57 L1 Instruction and Data Cache, L2 Cache.
      
      Change-Id: I3e74affb69a91b1ca1399be604366e7f1fb0cd27
      1a5b2d21
  13. Jan 07, 2015
  14. Dec 16, 2014
  15. Dec 10, 2014
  16. Dec 08, 2014
  17. Dec 06, 2014
  18. Nov 27, 2014
  19. Nov 26, 2014
    • David Keitel's avatar
      linux-ramdump-parser-v2: add support for cpr-info · 085c329a
      David Keitel authored
      Add a parser which parses relevant CPR regulator information
      such as target quotient, enable flag and most recent voltage for
      each registered cpr regulator.
      
      Change-Id: I15432179a0cfd76575236be9c276f83a8ef7124e
      085c329a
  20. Nov 25, 2014
  21. Nov 14, 2014
  22. Nov 04, 2014
  23. Oct 24, 2014
  24. Oct 16, 2014
    • Xiaogang Cui's avatar
      linux-ramdump-parser-v2: Add support for msm8909 · 3a3539cf
      Xiaogang Cui authored
      Add support for detecting 8909 target and parsing the ramdumps.
      
      Change-Id: I76a8b9366797a83d0a84fbb4894261488a94ed26
      3a3539cf
    • Patrick Daly's avatar
      lrdp-v2: Add error recovery capablity for kernel logbuf · ac9c9c8c
      Patrick Daly authored
      Requires CONFIG_LOG_BUF_MAGIC; otherwise no error checking will be
      performed.
      
      A log record is valid if:
      1) The magic value matches
      2) the length recorded in the header matches the sum of the lengths of the
      subelements.
      
      If a log record fails this check, perform a linear search
      to find the next matching log record.
      
      Change-Id: I584350c8bc1bf93c2d956fa1e05db8207cc2d40d
      ac9c9c8c
    • Patrick Daly's avatar
      lrdp-v2: Support kernel 3.14 log format · 333199e1
      Patrick Daly authored
      Kernel change 62e32ac3505a0cab1c5ef8ea2c0eab3b26ed855f
      renamed 'struct log' to 'struct printk_log'. Detect which kernel
      version is being parsed and use the appropriate struct name.
      
      Change-Id: I1a92623e8b4167f390d09051a52e6411ae3901ee
      333199e1
  25. Oct 14, 2014
    • David Garibaldi's avatar
      lrdpv2: Update t32 session window titlebars with current RAM dump path · 9cc9d8c6
      David Garibaldi authored
      T32 simulator sessions currently launched from lrdp shortcuts do not
      contain anything that allows separate sessions to be distinguished
      from one another. Add a line that updates the titlebar of any launched
      t32 simulator session with the full path to the RAM dumps being loaded
      in the session.
      
      Change-Id: I4273b4f000c96ed13af897dd23c0cd19b36c9a80
      9cc9d8c6
    • Mitchel Humpherys's avatar
      lrdpv2: ramdump: return a string from `hexdump' · 2f22e97c
      Mitchel Humpherys authored
      hexdump currently prints to stdout.  Although that's convenient for
      interactive debugging it's not very useful for re-use in other parts of
      the parser.  Return a string instead of printing to stdout.
      
      Also add a usage example.
      
      Change-Id: I18535f5339be85ffc5661e51430bba9a55fe665d
      2f22e97c
    • Mitchel Humpherys's avatar
      lrdpv2: parser_util: improve xxd docstring · 89491fd8
      Mitchel Humpherys authored
      The `file_object' parameter is undocumented and doesn't have a doctest.
      Add documentation and a doctest.
      
      Change-Id: Ifc259948c8280c94fcf34046959b1a3709c8b470
      89491fd8
  26. Oct 08, 2014
    • Jaydeep Sen's avatar
      linux-ramdump-parser-v2: Enable detection of pagealloc corruption · ec17239c
      Jaydeep Sen authored
      -The kernel has a debug feature which poisons the memory of all pages
      with a known value 0xaa. When the poison bit is set, all memory should
      be this known value, else some kind of corruption has occurred.
      -Added a parser to walk all the pages and verify that all poisoned
      pages have the poisoned value.
      Change-Id: I9d73fbdd7e5e4ee92a6043773822d5ec9cdd8681
      ec17239c
  27. Oct 07, 2014
  28. Oct 01, 2014
  29. Sep 26, 2014
  30. Sep 19, 2014
    • Mitchel Humpherys's avatar
      lrdpv2: randomize t32 intercom port · ca6744c7
      Mitchel Humpherys authored
      Currently our generated t32 launcher script always uses port 20,000 for
      intercom. This prevents end users from launching two instances of t32
      without hacking up the config file by hand. Randomize the port number to
      avoid this (there will still be a chance of collision, but it should be
      negligible).
      
      Change-Id: Ia6f63a69e0ed315ac08c58d9903c2d1ef34b6c69
      ca6744c7
  31. Sep 10, 2014
Loading