Using Insight with BitBake Builds

You can use Insight to visualize and perform some types of analysis on builds that you executed with BitBake, such as Yocto Project builds. This includes the ability to run certain reports to view BitBake dependency information and aggregate statistics.

You use CloudBees Build Acceleration and JobCache for a BitBake build by entering the CloudBees Build Acceleration ebitbake command to run that build. This creates an individual annotation file for each BitBake package and task. To facilitate better analysis with Insight, you use the CloudBees Build Acceleration bb2anno tool to combine these files along with other buildstats data to create a single “pseudo-annotation” file from the build. This tool generates the file from BitBake buildstats data, BitBake build logs and runscripts, and optionally, eMake annotation files for those tasks in the BitBake process that were executed using CloudBees Build Acceleration. You load a BitBake pseudo-annotation file into Insight just as you do with any other annotation file.

For details about using the ebitbake command and the bb2anno utility, see the KBEA-00171 - Using eMake to Accelerate BitBake Builds Using ElectricAccelerator 11.0.1 KB article for instructions.

Visualizations and Jobs Analysis for BitBake Builds

The following subset of Insight functionality is available for analyzing a pseudo-annotation file generated by eMake:

Using Reports with BitBake Builds

The following reports are the most useful for BitBake builds:

The following reports will not work for BitBake builds:

Other reports and functionality might work partially.