summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cowgill <jcowgill@debian.org>2017-06-16 14:53:18 +0100
committerPaul Wise <pabs3@bonedaddy.net>2017-06-17 09:25:56 +0800
commit733f3f864819ff04dd210bfde785d28e00e325fa (patch)
tree1b7cb0392ee1123f9b144702d5e79d215952a2ab
parent83261e97e558623d402c903af3ed30a1789d453c (diff)
downloadiotop-733f3f864819ff04dd210bfde785d28e00e325fa.tar.gz
Add ioprio_* syscall numbers for mips
Fixes: https://bugs.debian.org/864886
-rw-r--r--iotop/ioprio.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/iotop/ioprio.py b/iotop/ioprio.py
index 25fa972..cc139c2 100644
--- a/iotop/ioprio.py
+++ b/iotop/ioprio.py
@@ -31,6 +31,8 @@ IOPRIO_GET_ARCH_SYSCALL = [
('arm*', '*', 315),
('i*86', '*', 290),
('ia64*', '*', 1275),
+ ('mips*', '32bit', 4315),
+ ('mips*', '64bit', 5274),
('parisc*', '*', 268),
('powerpc*', '*', 274),
('s390*', '*', 283),
@@ -45,6 +47,8 @@ IOPRIO_SET_ARCH_SYSCALL = [
('arm*', '*', 314),
('i*86', '*', 289),
('ia64*', '*', 1274),
+ ('mips*', '32bit', 4314),
+ ('mips*', '64bit', 5273),
('parisc*', '*', 267),
('powerpc*', '*', 273),
('s390*', '*', 282),