Skip to content
Snippets Groups Projects
  1. Dec 19, 2015
  2. Dec 17, 2015
  3. Dec 16, 2015
  4. 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
  5. 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
  6. Dec 09, 2015
    • David Collins's avatar
      lrdp-v2: cpr3_info: parse APM state · c4484886
      David Collins authored
      Parse out the APM state that has been configured so that it can
      be compared against the VDD supply voltage to ensure correct
      functionality.
      
      Change-Id: Iabf78a6799015861379a39d93e59289a489e1510
      c4484886
    • Mitchel Humpherys's avatar
      lrdp-v2: register.py: rest-ify some docs · 43bbd160
      Mitchel Humpherys authored
      Some of the documentation in register.py doesn't render nicely when
      built with Sphinx.  Fix this.
      
      Change-Id: Ifdb0da6c21f092b58c51be8f566a7a4e5cab984b
      43bbd160
    • Mitchel Humpherys's avatar
      lrdp-v2: gdbmi: format comment in gdbmi · bfb4c92e
      Mitchel Humpherys authored
      There's a comment in gdbmi that doesn't adhere to the canonical Python
      prompt format.  Fix this.
      
      Change-Id: I0a369669cc4c5aa5ac318da0f4949aba84bed02d
      bfb4c92e
    • Mitchel Humpherys's avatar
      lrdp-v2: Add docs · 7446b1bc
      Mitchel Humpherys authored
      The parser is a large enough project that some proper documentation is
      needed.  In order to facilitate contribution to the ramdump parser, add
      some documentation with a standard sphinx Makefile to build it.
      
      Change-Id: Idfbc65173dc082c3144ec811a75a9c226c73ec53
      7446b1bc
  7. Nov 19, 2015
  8. Nov 18, 2015
  9. Nov 17, 2015
  10. 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
  11. Nov 11, 2015
  12. 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
Loading