cpuset: Add recipe for cpuset tool 1.6.2

Cpuset is a Python application that forms a wrapper around the
standard Linux filesystem calls to make using the cpusets facilities
in the Linux kernel easier. This can be used on linux realtime or
standard linux

Example

cset shield --cpu 2-3
echo c > /proc/irq/287/smp_affinity
irq=`ps | grep -m 1 "irq/287"  | awk '{ print $1 }'`
cset shield -s -p $irq --force
chrt -f -p 75 $irq

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Michael Trimarchi 2024-08-25 17:31:02 +02:00 committed by Khem Raj
parent f7fe2415e1
commit 58a923c968
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -0,0 +1,13 @@
SUMMARY = "Cpuset manipulation tool"
HOMEPAGE = "https://github.com/SUSE/cpuset"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
SRC_URI = "git://github.com/SUSE/cpuset.git;protocol=https;branch=master"
SRCREV = "4f80263208935f0df4f616cf9d8cb7285599a670"
S = "${WORKDIR}/git"
inherit setuptools3
RDEPENDS:${PN} += "python3-core python3-logging python3-pydoc"