36 lines
1005 B
Diff
36 lines
1005 B
Diff
|
|
From 15285f0c2ed214fc5ae75edc6389d864e6b2e615 Mon Sep 17 00:00:00 2001
|
||
|
|
From: wangjia <wangjia55@huawei.com>
|
||
|
|
Date: Sun, 12 Jul 2020 14:34:13 +0800
|
||
|
|
Subject: [PATCH 07/11] add aarch64 prio in ioprio.py
|
||
|
|
|
||
|
|
add aarch64 prio in ioprio.py
|
||
|
|
|
||
|
|
Signed-off-by: wangjia <wangjia55@huawei.com>
|
||
|
|
---
|
||
|
|
iotop/ioprio.py | 2 ++
|
||
|
|
1 file changed, 2 insertions(+)
|
||
|
|
|
||
|
|
diff --git a/iotop/ioprio.py b/iotop/ioprio.py
|
||
|
|
index a624795..d292add 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 = [
|
||
|
|
+ ('aarch64', '*', 31),
|
||
|
|
('alpha', '*', 443),
|
||
|
|
('arm*', '*', 315),
|
||
|
|
('i*86', '*', 290),
|
||
|
|
@@ -41,6 +42,7 @@ IOPRIO_GET_ARCH_SYSCALL = [
|
||
|
|
]
|
||
|
|
|
||
|
|
IOPRIO_SET_ARCH_SYSCALL = [
|
||
|
|
+ ('aarch64', '*', 30),
|
||
|
|
('alpha', '*', 442),
|
||
|
|
('arm*', '*', 314),
|
||
|
|
('i*86', '*', 289),
|
||
|
|
--
|
||
|
|
1.8.3.1
|
||
|
|
|