Skip to content
Snippets Groups Projects
  1. May 10, 2016
  2. Apr 28, 2016
    • Kyle Yan's avatar
      lrdp-v2: Timerlist support for kernel 4.2 onwards · 0d74586c
      Kyle Yan authored
      Timerlist structure changed for kernel 4.2. Added extra
      parsing function to get timerlist dumps for kernel 4.2
      Commit ID for kernel changes:
      
      1dabbcec2: timer: Use hlist for the timer wheel hash buckets
      0eeda71bc: timer: Replace timer base by a cpu index
      
      CRs-Fixed: 981273
      Change-Id: I163ef37d118914486c6e9b77ee80b2317c37c5b6
      0d74586c
  3. Apr 14, 2016
    • David Garibaldi's avatar
      lrdpv2: Make QDSS binary data parsing optional · d025a0db
      David Garibaldi authored
      Debug image parsing currently includes QDSS ETM and ETR binary data
      parsing by default. However, these two parsing operations can take a
      significant amount of time if either of their respective data buffers
      are very large. Furthermore, this binary data is not needed for most
      common debug image parsing use cases.
      
      Add an argument to optionally disable QDSS ETM and ETR binary data
      parsing when debug image parsing has also been selected.
      
      Change-Id: Iab25c15d00dde1bb5dfafb3149e6e55760fd6291
      d025a0db
  4. Apr 13, 2016
  5. Mar 24, 2016
  6. Mar 23, 2016
  7. Mar 08, 2016
  8. Mar 01, 2016
  9. Feb 26, 2016
  10. Feb 13, 2016
    • Mitchel Humpherys's avatar
      lrdp-v2: ramdump: Handle equals signs in config values · 63f85b54
      Mitchel Humpherys authored
      Currently we split each config line on the equals sign, assuming that
      there's only one equals sign there.  This isn't a valid assumption for
      cases like:
      
          CONFIG_CMDLINE="console=ttyAMA0"
      
      Fix this by splitting at the first equals sign, rather than splitting
      at *all* equals signs.
      
      Change-Id: I01e44fe2e9a0f09a8bebdd76715002f6b12cf0b5
      63f85b54
  11. Jan 14, 2016
  12. Jan 11, 2016
    • Robert Morrison's avatar
      lrdp-v2: Add KASLR support · 44655976
      Robert Morrison authored
      Add '--kaslr-offset' option.  This specifies the offset for loading symbols
      for a KASLR-enabled kernel.
      
      Change-Id: I208d964ea3ca58536a0b80a32b4e334c73aae534
      44655976
  13. Dec 17, 2015
    • Mitchel Humpherys's avatar
      lrdp-v2: parser_util: Improve docs for register_parser · a4470f8e
      Mitchel Humpherys authored
      The register_parser decorator function is one of the most important
      public functions in the codebase.  Improve its documentation by adhering
      to Python docstring standards, including parameter documentation.
      
      Change-Id: Ibbde495e799dcd550810635e591b24e9eba8cb28
      a4470f8e
    • Mitchel Humpherys's avatar
      lrdp-v2: docs: Improve existing documentation · 0b529cc6
      Mitchel Humpherys authored
      Some of our module documentation is a bit lacking.  Fix this by filling
      in some docstrings and add then adding some pointers to existing
      modules/functions in the docs.
      
      Change-Id: Ibf714225f1fc185be916e514861540fd98cb2de5
      0b529cc6
  14. Dec 15, 2015
    • Steven Cahail's avatar
      ipc_logging: Add version 3 support · 9f12d3e8
      Steven Cahail authored
      Support is required for version 3 of IPC Logging, which increases the
      maximum size of a logging context name from 20 to 32.
      
      Add this support.
      
      Change-Id: Id7c4b30efd2499cbad99db5d00a5008198047c72
      9f12d3e8
  15. Dec 11, 2015
    • Steven Cahail's avatar
      ipc_logging: Fix QTimer packing functions · 11dcff42
      Steven Cahail authored
      Along with the unpack() functions which are present for parsing, the
      classes which parse individual log messages also have pack() functions
      which are used for recreating the log messages in their binary form.
      These functions are used for unit testing.
      
      In the TSVQTimer pack() function, incorrect math is performed on the
      result before it is returned. In the LogMessageString pack() function, a
      QTimer object is manipulated before it is created.
      
      Fix these errors.
      
      Change-Id: I5c288ddd53e468368c3663bdc9c1134a5f694865
      11dcff42
  16. Dec 09, 2015
  17. Nov 18, 2015
  18. Nov 17, 2015
  19. Nov 12, 2015
    • Steven Cahail's avatar
      ipc_logging: Refactor cmdParse to reduce cyclomatic complexity · e4f733b4
      Steven Cahail authored
      The cmdParse() function has excessive cyclomatic complexity.
      
      Reduce the cyclomatic complexity by writing helper functions to obtain
      version info, handle processing log contexts, and handle processing log
      pages.
      
      Change-Id: I15b8da9b20bb7b20daad3f0f0ac460b6cfe8ad89
      e4f733b4
    • Steven Cahail's avatar
      ipc_logging: Refactor LogPage_v1.sortAndLink() · 8b38cb08
      Steven Cahail authored
      LogPage_v1.sortAndLink() has excessive cyclomatic complexity. Reduce the
      complexity by refactoring sortAndLink() into several smaller functions.
      
      This commit is to be squashed into the commit containing all other
      style fixes.
      
      Change-Id: I52ac6027e5f9d45af7d44d4b24beff7a28baea05
      8b38cb08
    • Steven Cahail's avatar
      ipc_logging: Fix documentation of class LogPage_v1 · 6f7faee9
      Steven Cahail authored
      The LogPage_v1's class documentation says that the class represents a
      version 0 IPC log page, but the class represents a version 1 IPC log
      page.
      
      Correct the error.
      
      Change-Id: If6ca9a66d486f36d5a2078ff7f78850c35ad65f3
      6f7faee9
    • Steven Cahail's avatar
      ipc_logging: Add support for parsing QTimer timestamp · 15f0ed7c
      Steven Cahail authored
      IPC Logging currently displays the kernel log timestamp, which is based
      on a timer that does not increase when the Apps processor is in suspend.
      This means that the kernel log timestamp "loses time" and cannot be
      correlated with events on other processors. The source of the QTimer
      timestamp is always running and has the same source other logs in the
      system, which makes it convenient to correlate logs across the system.
      
      Update the IPC Logging extraction script to handle version 2 of IPC
      Logging, which includes the QTimer timestamp.
      
      Change-Id: Ia4534a53012e29efe5ac647b6212530f84c07f46
      15f0ed7c
    • Steven Cahail's avatar
      ipc_logging: Fix coding style · 5681eb12
      Steven Cahail authored
      The coding style of the IPC Logging extraction script is not compliant
      with the Python coding style guide (PEP 0008). In order to be merged
      into the Linux Ram Dump Parser, the code must be made compliant with PEP
      0008.
      
      Bring the code into compliance with PEP 0008.
      
      Change-Id: Idf587a55670a5b30c7668c78b1625100d6128c9c
      5681eb12
  20. Nov 10, 2015
    • Mitchel Humpherys's avatar
      lrdp-v2: Add accessor for pointer variables · fb5e7dda
      Mitchel Humpherys authored
      Pointers can be either 32-bits or 64-bits, depending on the
      architecture.  Add an accessor function to abstract this away.
      
      Change-Id: I64e2c18c85ec3d9ca7304163dc5a42edc83f1443
      fb5e7dda
    • Mitchel Humpherys's avatar
      lrdp-v2: Make sure address is a number before offset'ing · db867b09
      Mitchel Humpherys authored
      A few reader functions currently assume that a virtual address (a
      number) was passed in, but those functions also support reading variable
      names.  Resolve the address or name to a virtual address before doing
      arithmetic on it.
      
      Change-Id: I55aa649ff203926565f8eaf3cb234677ef6b6104
      db867b09
    • Mitchel Humpherys's avatar
      lrdp-v2: Simplify some returns in the memory accessor code · ce13475e
      Mitchel Humpherys authored
      Some of the return sequences in the memory accessor code are
      unnecessarily complex.  Simplify them.
      
      Change-Id: Iefe489b3ce4a4591574a2cc8d51aa23ce425b2b1
      ce13475e
    • Mitchel Humpherys's avatar
      lrdp-v2: Remove trace prints · 7c04d080
      Mitchel Humpherys authored
      Currently there are "trace" print statements scattered throughout the
      code.  These make the code harder to follow and aren't terribly useful.
      Remove them in favor of on-demand instrumentation or more sophisticated
      debugging methods (like a debugger).
      
      Change-Id: I70a91b8dca34566d48ed1f4902cba5b9f9b4de40
      7c04d080
Loading