From patchwork Sun Aug 25 15:31:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Trimarchi X-Patchwork-Id: 3345 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C095F4173F for ; Sun, 25 Aug 2024 17:31:09 +0200 (CEST) Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-371bc601737sf2143855f8f.3 for ; Sun, 25 Aug 2024 08:31:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1724599869; cv=pass; d=google.com; s=arc-20240605; b=e4mcu8y1nJopczpOHQBp054nPsYG8kOURcpfNrALuuFg6wpb3hnCXhDoek91Zz8SeD RCCtFmucSd27lDrn3iQPUF7U8C6oqO7mCasSKMIKd7nDTEBybNFN5kv+unjsWsDxLq7z iR43oyMwZUh03/BzRWl3QGeWkrube3ruRGNa4tMgHDxkvJ3qgtSgYlwT286mPcC3kGGE i5QBBhAKFCbQaKBdk3UPlHnpwp5VNJdQXMqLIEF/24p0NdzFfOKVlUPIKVs6MOpsNLKc zMRifuZurC25RLaILpk0UtSQQVoeP1iiE7z4PvDqAFf27fvcHOSUxK1Hz8VJ13r8wkUu 2wsw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=WawQSq6KX//hLfg4TdU/f6hgZXQU4JDfu8vh1IcUYvI=; fh=Es5RKWA1VhNJom4lEa3xssIcjNcyqm7xY3LCcxYvNSM=; b=Jzj3xPkvuYNQql0nk4gENzNZjstDv7KFde9whEXfXYen35reBgI2W4Y7xt4UJigZ9K DNpqMgki6QjPb2RF8w1kFJC9l5Y7s5SEtC207eD/FXCfUpc3Jii7M3w6gz5rnGug5VEi 3AyHoGEIPPJj2Tgmy5zROYCFRsqKGKIZs5cPtduzMf+bPPd8aTsK8NIkDtoswV0tg72r 8MxFVUufYQnNuQi6GvasdFh15BRnvUbU6Y40ZyiDOIhjp0SdEaQJOBMIZydUFsRFPlfo zU3hMeIXgonk3Pgob0F0qpTMnVxGDWrjTInGuMCPJgMzLIXbODzFJT6TvjcyFEY5UlB5 d+Lg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YeLCZruC; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1724599869; x=1725204669; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=WawQSq6KX//hLfg4TdU/f6hgZXQU4JDfu8vh1IcUYvI=; b=n2ow+bTAwxKINJea/LFnct36kBOQKTDOA73jIp/dIfGi5LNF66c1NJf4tcgQZrqhzB sE0LPlhnPhAogLSnh/pJu2T4bhZlmgowALP9m+w17cHhWwZdhaqbVcxKWqfebmgP4Ta5 1J55wd8wU1QY98mMKDuVuHDYEo7k62p4PgvI4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724599869; x=1725204669; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=WawQSq6KX//hLfg4TdU/f6hgZXQU4JDfu8vh1IcUYvI=; b=V1S3MJ/IJY2DpNrMaPjQfRxxN6sQmUM6vbjKNpjMXvOlVVd54US+8mkwk9w7YfS5PQ cSgUWyH0TTXjnBdYENazAKGaZv7JSF7HTn5GD/r40ADayOE4pA958NnBYc6g/pcqadW9 xeSXUcAC0+nC7Kc0FbyvZmOM951MiSDc8M26q5ybmXIu2mtTWK5XL3iYgT5E3YbPjbSP 0urpKfKeTF278Mp3oYnnRZbP3sbEL81JfIIV3YuFnh+nSXiR5yhVRToFYrc8eOUwNo2B HBvoZYmdPm3+lKQNvB98Qgkd6Iro+hdEJ77mWwdZsEmbPkLg2EGfpku88kzDYjCZNWSB hy6A== X-Forwarded-Encrypted: i=2; AJvYcCU0kRc9FKUun18NLdRKkBJmjcJZ/JdBqqWo1DNOToIyHgdnTXDfXOfy13Td30M/kVWMayXQPTWqPl8RiDoK@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Ywqnj5EEedGtQIAL0cX65LwkcZAOIznt6ENYyv+00sNUHMlsQBX /28LECYGqeMhJKQvGEYhzIlIY0qf9yymUMvFAcSsjNTQIxZHuk3oQxq7rM6c8Y3FKdZu9uGR0w= = X-Google-Smtp-Source: AGHT+IHJQkS5pcXv1AV/rG0Z7czZ9XVwNN2GBn/dooHsWWY8tqWuv7DDWFw2xVe/sbQlMWnnkNHvCw== X-Received: by 2002:adf:e343:0:b0:371:9121:5643 with SMTP id ffacd0b85a97d-3731185860bmr4504664f8f.12.1724599869055; Sun, 25 Aug 2024 08:31:09 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a5d:4e8f:0:b0:367:9918:6c47 with SMTP id ffacd0b85a97d-37305d942f2ls190449f8f.2.-pod-prod-04-eu; Sun, 25 Aug 2024 08:31:07 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWGQw1c1uw2ZmeDPWYqXBqr8U/tnc3ZA9m90VAQgKA2SPNhGhgNRCeQF9LJoFeZK4DtZPrlsGuCU5XbNSQz@amarulasolutions.com X-Received: by 2002:adf:edd0:0:b0:371:9395:9c2d with SMTP id ffacd0b85a97d-373118ecd64mr4610183f8f.55.1724599867103; Sun, 25 Aug 2024 08:31:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724599867; cv=none; d=google.com; s=arc-20160816; b=KGYPMY+8BU0SLdPM/x0tnCi/h7Py+KpxwdtGHpqoKYbAr7IprCkHc9WvO0ojl7ELAV cUhmYAdT1yzEsT37DcW3+UR9M5MQxfxjVkvkBLFkIE809/d4ogr0Y1dk9Gc4RiijiDzi PnjSD2BBDnvGt1nQN6up3mYtMFMs7+oBNf0Ogi1wT2p3tnpyeQbWggoxPc0zb+gHyyJp roQ58AsgevIjaZCAdBdjloguAYf2bqhrJuQF4UuirMJ557jeE/v/hk8XCdtGihL+Deti cpqz8v9vuT9ZxSn17jcYYQSn4lXBQp3Gd9ZN9fNS/s+mAUGxOYBqOUW5YJR3xCUg1JG0 AAYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=cBdgLSiptQSRslNZzN+/Gs8+swDboitweIKgGYTBZcc=; fh=dw6xiaASJXP7nAM+Q4W8xewL72EiHD/isemzZQad120=; b=ZyoqdgBJCM1jeKCP9KzN/0NlQ0SBP/w+wOCEB9/q7YKzdCtFo4U2QNU+FYbLTzAOxD HnuF6y5Ii2aVOyFFr9N8iE+/KHw09i2rb0kmLtjARfCaaVBWxtvrVcswkVOupqMmdVfS 7QfEUWnVt0ibp/smQqrlFKZI5MGvvf29zFeuuxgiV+/m+KlUaCd6H4XrIb8vAlyH++rQ pKbteaH8k4xPk/dIGhWKW4+H0rnXd2l9yM6VuQhsqkqsrLIEdM/KBGovLYUQ6ozA4zGB XLayRCxQJTQIZk4AXAWt8FYkFWdS0aapIECnMENofHDqNat6jCKns9b00HrKBqlhi69C sYng==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YeLCZruC; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-a868f4378ffsor219079266b.15.2024.08.25.08.31.07 for (Google Transport Security); Sun, 25 Aug 2024 08:31:07 -0700 (PDT) Received-SPF: pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCWIDDp3nzuyzotqzUz7W0JcrmnXEu3fIMemx0VICPc1WmMAOgmM4aqMeQuLgQQ8zZ57MZIjYC2oI7SpiK8w@amarulasolutions.com X-Received: by 2002:a17:907:2d07:b0:a77:dde0:d669 with SMTP id a640c23a62f3a-a86a54d137dmr560384966b.45.1724599866297; Sun, 25 Aug 2024 08:31:06 -0700 (PDT) Received: from localhost.localdomain (93-35-133-65.ip55.fastwebnet.it. [93.35.133.65]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a868f29d749sm543761766b.66.2024.08.25.08.31.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Aug 2024 08:31:05 -0700 (PDT) From: Michael Trimarchi To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , linux-amarula@amarulasolutions.com, Michael Trimarchi Subject: [PATCH V2] cpuset: Add recipe for cpuset tool 1.6.2 Date: Sun, 25 Aug 2024 17:31:02 +0200 Message-ID: <20240825153102.1055323-1-michael@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Original-Sender: michael@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YeLCZruC; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- V1-V2: - patch was on wrong project - suggest to move on meta-openemedded --- meta-oe/recipes-devtools/cpuset/cpuset_1.6.2.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-oe/recipes-devtools/cpuset/cpuset_1.6.2.bb diff --git a/meta-oe/recipes-devtools/cpuset/cpuset_1.6.2.bb b/meta-oe/recipes-devtools/cpuset/cpuset_1.6.2.bb new file mode 100644 index 000000000..b404d4131 --- /dev/null +++ b/meta-oe/recipes-devtools/cpuset/cpuset_1.6.2.bb @@ -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"