diff --git a/Issue-79-updated-pqos-and-rdtset-examples-to-correct.patch b/Issue-79-updated-pqos-and-rdtset-examples-to-correct.patch new file mode 100644 index 0000000..f4f0756 --- /dev/null +++ b/Issue-79-updated-pqos-and-rdtset-examples-to-correct.patch @@ -0,0 +1,64 @@ +From 887642dbb5a9e59a2dd25c07d2a6ec86e62c35e3 Mon Sep 17 00:00:00 2001 +From: "Aleksinski, MichalX" +Date: Tue, 31 Jul 2018 07:59:32 +0100 +Subject: [PATCH] Issue #79 - updated pqos and rdtset examples to correct man + syntax + +Change-Id: I6472c11b8f80611e2c3cb83a321a1aab57351653 +--- + pqos/pqos.8 | 8 +++++--- + rdtset/rdtset.8 | 5 ++++- + 2 files changed, 9 insertions(+), 4 deletions(-) + +diff --git a/pqos/pqos.8 b/pqos/pqos.8 +index 228b2ae..e538224 100644 +--- a/pqos/pqos.8 ++++ b/pqos/pqos.8 +@@ -2,7 +2,7 @@ + .\" First parameter, NAME, should be all caps + .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection + .\" other parameters are allowed: see man(7), man(1) +-.TH PQOS 8 "November 16, 2017" ++.TH PQOS 8 "July 30, 2018" + .\" Please adjust this date whenever revising the manpage. + .\" + .\" Some roff macros, for reference: +@@ -86,7 +86,10 @@ RESOURCE_ID is a unique number that can represent a socket or l2/l3 cache identi + Some examples: + .RS + .RS +-"\-e llc:0=0xffff;llc:1=0x00ff;llc@0-1:2=0xff00;l2:2=0x3f;l2@2:1=0xf" ++.br ++"\-e llc:0=0xffff;llc:1=0x00ff" ++.br ++"\-e llc@0-1:2=0xff00;l2:2=0x3f;l2@2:1=0xf" + .br + "\-e llc:0d=0xfff;llc:0c=0xfff00" + .br +@@ -167,7 +170,6 @@ Example "-m llc:[0-3];all:[4,5,6];mbr:[0-3],7,8". + .TP + .B \-p [EVTPIDS], \-\-mon-pid[=EVTPIDS] + select top 10 most active (CPU utilizing) process ids to monitor +-.br + or select the process ids and events to monitor, EVTPIDS format is "EVENT:PID_LIST". + .br + See \-m option for valid EVENT settings. PID_LIST is comma separated list of process ids. +diff --git a/rdtset/rdtset.8 b/rdtset/rdtset.8 +index fa94db3..e907134 100644 +--- a/rdtset/rdtset.8 ++++ b/rdtset/rdtset.8 +@@ -36,7 +36,10 @@ rtdset \- Task CPU affinity and Intel(R) Resource Director Technology control to + .SH DESCRIPTION + For more details on Intel(R) Resource Director Technology see + .br +-http://www.intel.com/content/www/us/en/architecture-and-technology/resource-director-technology.html ++.ss 0 ++http://www.intel.com/content/www/us/en/ ++architecture-and-technology/resource-director-technology.html ++.ss 12 + .br + or https://github.com/01org/intel-cmt-cat/wiki + .PP +-- +2.27.0 + diff --git a/intel-cmt-cat.spec b/intel-cmt-cat.spec index 708e97b..c108bd7 100644 --- a/intel-cmt-cat.spec +++ b/intel-cmt-cat.spec @@ -3,10 +3,11 @@ Name: intel-cmt-cat Summary: B support for Intel(R) Resource Director Technology(Intel(R) RDT) Version: 2.0.0 -Release: 3 +Release: 4 License: BSD URL: https://github.com/01org/%{name} Source: https://github.com/01org/%{name}/archive/v%{version}.tar.gz +Patch0: Issue-79-updated-pqos-and-rdtset-examples-to-correct.patch ExclusiveArch: x86_64 i686 i586 BuildRequires: gcc make @@ -30,7 +31,7 @@ Development files for %{name} %package_help %prep -%autosetup -n %{name}-%{version} +%autosetup -n %{name}-%{version} -p1 %build %make_build @@ -118,5 +119,8 @@ install -m 0644 %{_builddir}/%{name}-%{version}/examples/c/CMT_MBM/monitor_app.c %{_mandir}/man8/rdtset.8.gz %changelog +* Fri Oct 20 2023 fandehui - 2.0.0-4 +- updated pqos and rdtset examples to correct man syntax + * Tue Dec 10 2019 openEuler Buildteam - 2.0.0-3 - Package init