linux-real-time-kernel-builder icon indicating copy to clipboard operation
linux-real-time-kernel-builder copied to clipboard

add psrecord to kernel build steps

Open flynneva opened this issue 3 years ago • 4 comments

psrecord is a really useful tool to measure cpu and memory usage. right now its not included by default in the build but I'd really like it to be since I am using it over on the autoware_reference_system 😄

if there is pushback, not a big deal we can just install it later with python3 -m pip install psrecord

flynneva avatar Oct 05 '21 22:10 flynneva

@flynneva how it is related to the kernel build? could you help me to understand where do you want to include it?

razr avatar Oct 05 '21 22:10 razr

@razr i was thinking of trying to include it if we end up providing an entire image, but it's ok I can just add it as a step to the other repo

flynneva avatar Oct 05 '21 23:10 flynneva

I agree we need to keep somewhere extra deb packages that we need to add to the pristine Ubuntu image. Maybe in the plain pkglist file?

sudo apt-get install -y $(cat pkglist)

razr avatar Oct 06 '21 11:10 razr

@flynneva I propose to create a customized image including all the tools required for the RTWG benchmarking (reference system, perf test, pendulum_control) and other additional tools that could be useful but might not be required for other users.

@flynneva What do you think?

Edit: At first, I proposed to include some additional tools that could be useful for our use case. However, since the base image could be used to customize it for different projects it's better to keep the base image minimal and add what we need in additional layers.

carlossvg avatar Jun 13 '22 13:06 carlossvg