linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rteval: kcompile.py: Relax the requirement for kernel tarball filename
@ 2021-09-22 17:17 venkata.pyla
  2021-09-23 19:31 ` John Kacur
  0 siblings, 1 reply; 3+ messages in thread
From: venkata.pyla @ 2021-09-22 17:17 UTC (permalink / raw)
  To: jkacur
  Cc: venkata pyla, punit1.agrawal, daniel.sangorrin, dinesh.kumar,
	linux-rt-users

From: venkata pyla <venkata.pyla@toshiba-tsip.com>

The kcompile module includes kernel version when looking for tarballs
or source folders. This necessitates periodically bumping the
kernel_prefix but also requires the user to provide particular version
of the kernel sources when using this workload. As the intent is to
generate a compile workload the source version used shouldn't matter.

To make life easier both for users and developers, relax the
requirement for specific version of kernel sources when using
kcompile.

Signed-off-by: venkata pyla <venkata.pyla@toshiba-tsip.com>
---
 rteval/modules/loads/kcompile.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rteval/modules/loads/kcompile.py b/rteval/modules/loads/kcompile.py
index 8d08a3d..be40a62 100644
--- a/rteval/modules/loads/kcompile.py
+++ b/rteval/modules/loads/kcompile.py
@@ -35,7 +35,7 @@ from rteval.Log import Log
 from rteval.misc import expand_cpulist, compress_cpulist
 from rteval.systopology import SysTopology
 
-kernel_prefix = "linux-5.13"
+kernel_prefix = "linux"
 
 class KBuildJob:
     '''Class to manage a build job bound to a particular node'''
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-24  7:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-22 17:17 [PATCH] rteval: kcompile.py: Relax the requirement for kernel tarball filename venkata.pyla
2021-09-23 19:31 ` John Kacur
2021-09-24  7:18   ` Venkata.Pyla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).