cyclictest: add real-time latency measurement recipe

Add a recipe for cyclictest from the rt-tests project, a
real-time latency measurement tool used to evaluate Linux
kernel scheduler latency and jitter under various workloads.

The recipe builds and installs the cyclictest executable with
NUMA support enabled for use in real-time performance
evaluation, latency analysis, and regression testing.

Signed-off-by: Vaibhav Jindal <vaibjind@qti.qualcomm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Vaibhav Jindal
2026-08-04 11:21:52 +05:30
committed by Khem Raj
parent 1e0d296bda
commit 1253fb8431
2 changed files with 25 additions and 0 deletions
@@ -0,0 +1,24 @@
SUMMARY = "Real-time latency measurement tool"
DESCRIPTION = "Cyclictest is a tool for measuring real-time latency and jitter on Linux systems. It measures the latency of the kernel scheduler."
HOMEPAGE = "https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
SRC_URI = "git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git;protocol=https;branch=main"
SRCREV = "7aca81171ea05a03d0e8698af4ae53c5177f5f83"
DEPENDS = "numactl"
# Filter out unsupported compiler flags
CFLAGS:remove = "-fcanon-prefix-map"
do_configure[noexec] = "1"
do_compile() {
oe_runmake NUMA=1 CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" cyclictest
}
do_install() {
install -d ${D}${bindir}
install -m 0755 ${B}/cyclictest ${D}${bindir}/cyclictest
}
@@ -54,6 +54,7 @@ RDEPENDS:packagegroup-meta-oe-benchmarks = "\
bonnie++ \
coremark-pro \
cpupower \
cyclictest \
dbench \
dhrystone \
fio \