mbox series

[0/3] Changes to supply a customer kernel

Message ID 20240818194216.299176-1-jkacur@redhat.com
Headers show
Series Changes to supply a customer kernel | expand

Message

John Kacur Aug. 18, 2024, 7:42 p.m. UTC
rteval compiles the linux kernel as a load for measuring real-time
performance.

If you need to supply a custom kernel for kcompile, these patches
allow you to do so with a "-rteval", for example linux-6.10.5-rteval

These patches allow you to do this by adding the ability to parse
kernels with that naming scheme. They also fix a problem in which
a kcompile would not always compile the correct kernel. For example,
if you requested a 6.10.5, kcompile could end up compiling
6.10.5-rteval instead.

If you are using an up-to-date distro, with a newer tool chain, the
kernel that was the default in rteval could fail to compile, so I
updated it to linux-6.10.5 as the default as well.

When testing these changes, I noticed that the --kcompile-source option
had disappeared, so I fixed this as well.

John Kacur (3):
  rteval: restore all load module options
  rteval: Upgrade load kernel to linux-6.10.5
  rteval: Fix parsing in kcompile of the kernel to compile

 Dockerfile                             |  2 +-
 Makefile                               |  2 +-
 rteval/modules/__init__.py             | 22 +++++++++++++----
 rteval/modules/loads/kcompile.py       | 34 ++++++++++++++++----------
 rteval/modules/measurement/__init__.py | 12 +--------
 rteval/rteval.conf                     |  2 +-
 6 files changed, 42 insertions(+), 32 deletions(-)