add loongarch64 support
Signed-off-by: 客串一回 <cossbow@qq.com>
This commit is contained in:
parent
2779a9ec56
commit
114c85733b
32
0013-loongarch64-add-loongarch64-support.patch
Normal file
32
0013-loongarch64-add-loongarch64-support.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From 0ab9bc45ab09d98e9d6db082c9ea384093c65c39 Mon Sep 17 00:00:00 2001
|
||||||
|
From: cenhuilin <cenhuilin@kylinos.cn>
|
||||||
|
Date: Tue, 2 Jul 2024 16:52:03 +0800
|
||||||
|
Subject: [PATCH] loongarch64: add loongarch64 support
|
||||||
|
|
||||||
|
Signed-off-by: cenhuilin <cenhuilin@kylinos.cn>
|
||||||
|
---
|
||||||
|
iotop/ioprio.py | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/iotop/ioprio.py b/iotop/ioprio.py
|
||||||
|
index ba804c8..5ff5f61 100644
|
||||||
|
--- a/iotop/ioprio.py
|
||||||
|
+++ b/iotop/ioprio.py
|
||||||
|
@@ -27,6 +27,7 @@ import platform
|
||||||
|
# 'x86_64' but it will use the i386 syscall number, that's why we consider both
|
||||||
|
# the architecture name and the word size.
|
||||||
|
IOPRIO_GET_ARCH_SYSCALL = [
|
||||||
|
+ ('loongarch64', '*', 31),
|
||||||
|
('aarch64', '*', 31),
|
||||||
|
('alpha', '*', 443),
|
||||||
|
('arm*', '*', 315),
|
||||||
|
@@ -43,6 +44,7 @@ IOPRIO_GET_ARCH_SYSCALL = [
|
||||||
|
]
|
||||||
|
|
||||||
|
IOPRIO_SET_ARCH_SYSCALL = [
|
||||||
|
+ ('loongarch64', '*', 30),
|
||||||
|
('aarch64', '*', 30),
|
||||||
|
('alpha', '*', 442),
|
||||||
|
('arm*', '*', 314),
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: iotop
|
Name: iotop
|
||||||
Version: 0.6
|
Version: 0.6
|
||||||
Release: 26
|
Release: 27
|
||||||
Summary: Simple top-like I/O monitor
|
Summary: Simple top-like I/O monitor
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://guichaz.free.fr/iotop/
|
URL: http://guichaz.free.fr/iotop/
|
||||||
@ -22,6 +22,7 @@ Patch9: 0009-Improve-the-message-that-is-printed-when-Linux-tasks.patch
|
|||||||
Patch10: 0010-Fix-crash-due-to-syntax-error.patch
|
Patch10: 0010-Fix-crash-due-to-syntax-error.patch
|
||||||
Patch11: 0011-Use-monotonic-time-to-calculate-durations.patch
|
Patch11: 0011-Use-monotonic-time-to-calculate-durations.patch
|
||||||
Patch12: 0012-riscv-Add-riscv64-support.patch
|
Patch12: 0012-riscv-Add-riscv64-support.patch
|
||||||
|
Patch13: 0013-loongarch64-add-loongarch64-support.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
iotop watches I/O usage information output by the Linux kernel (requires 2.6.20 or later) and
|
iotop watches I/O usage information output by the Linux kernel (requires 2.6.20 or later) and
|
||||||
@ -60,6 +61,9 @@ This contains man files for the using of iotop
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 2 2024 cenhuilin <cenhuilin@kylinos.cn> - 0.6-27
|
||||||
|
- loongarch64: add loongarch64 support
|
||||||
|
|
||||||
* Wed Jul 31 2024 JiangJianJun <jiangjianjun3@huawei.com> - 0.6-26
|
* Wed Jul 31 2024 JiangJianJun <jiangjianjun3@huawei.com> - 0.6-26
|
||||||
- DESC: fix spec format
|
- DESC: fix spec format
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user