Skip to content
Snippets Groups Projects
  1. Mar 01, 2016
  2. Feb 26, 2016
  3. 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
  4. Jan 14, 2016
  5. 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
  6. 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
  7. 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
  8. 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
  9. Dec 09, 2015
  10. Nov 18, 2015
  11. Nov 17, 2015
  12. 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
  13. Nov 10, 2015
  14. Nov 06, 2015
  15. Nov 02, 2015
    • Runmin Wang's avatar
      linux-ramdump-parser-v2: add support for cpr3-info · 55e00bce
      Runmin Wang authored
      Add a parser which parses relevant CPR regulator information for
      the new regulator version 3 to parse target quotient, enable flag
      and most recent voltage for each registered cpr3-regulator.
      
      Change-Id: I9882b1adfce69f06291457ae39d4e9ff7a18d95a
      55e00bce
Loading