!21 updated pqos and rdtset examples to correct man syntax

From: @linker99 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
This commit is contained in:
openeuler-ci-bot 2023-10-23 02:42:50 +00:00 committed by Gitee
commit cc68abe8ad
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 70 additions and 2 deletions

View File

@ -0,0 +1,64 @@
From 887642dbb5a9e59a2dd25c07d2a6ec86e62c35e3 Mon Sep 17 00:00:00 2001
From: "Aleksinski, MichalX" <michalx.aleksinski@intel.com>
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

View File

@ -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 <fandehui@xfusion.com> - 2.0.0-4
- updated pqos and rdtset examples to correct man syntax
* Tue Dec 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.0-3
- Package init