Extending Arm Code Advisor using plug-ins

The plug-in API provides a method to easily expand and/or replace certain features of Code Advisor's analyze phase. A plug-in can consume data streams - sources of data produced by Code Advisor or other plug-ins. A plug-in can also produce data streams which it sends back to Code Advisor. Write your own plug-ins to integrate analysis data from another tool with Code Advisor, and see it inline with your code.

For example, you may have some profiling already built into your application that measures your code at specific times. You can write a plug-in that reads in your profiling data and produces samples. These will then be combined with mmap data and used to rank the advice from the binary.

  • Human head showing understanding.
  • Getting started

    Get set up and write your first plug-in.

    Learn more
  • A screwdriver and a hammer (toolkit).
  • Examples

    See some examples of how plug-ins can interact with Code Advisor.

    Learn more
  • Guidance on how to use the system.
  • Python API Methods

    Descriptions of the methods you can use to communicate with Code Advisor's plug-in API.

    Learn more
  • A product being released to the market.
  • Data streams and data structures

    Descriptions of the data streams your plug-in can use to send and receive data 

    Learn more
  • A wheel that transfers motion (cog).
  • Configuring your environment

    Use configuration settings or environment variables to control how plug-ins behave. 

    Learn more