ni / nilrt

Tools to build NI Linux RT distribution.
MIT License
80 stars 69 forks source link

pipelines: add process-buildstats.sh script #102

Closed amstewart closed 2 years ago

amstewart commented 2 years ago

The openembedded-core layer comes with a modified bootchart implementation which is capable of processing the output from the buildstats.bbclass.

process-buildstats.sh is a script entrypoint to post-process this data into an SVG file displaying resource information (eg. CPU, memory, disk usage) throughout the build.

Signed-off-by: Alex Stewart alex.stewart@ni.com

Example output looks like this:

chart_resources

Testing

Tested on my dev machine with an arbitrary build where I have INHERIT += "buildstats" asserted in my local.conf.

@ni/rtos