mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-28 23:30:21 +00:00
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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user