Source: iotop Version: 0.6-2 Severity: wishlist Tags: patch Hi,
Please consider applying the attached patch which adds the syscall numbers for the ioprio_get and ioprio_set syscalls for MIPS. The patch should work on all 3 mips variants supported by Debian. Like x86_64, MIPS needs to consider the word size to handle running a 32-bit userspace with a 64-bit kernel. Thanks, James
From ba5d1cfe7950f2590daf07766633f47c767cb5e9 Mon Sep 17 00:00:00 2001 From: James Cowgill <jcowg...@debian.org> Date: Fri, 16 Jun 2017 14:53:18 +0100 Subject: [PATCH] Add ioprio_* syscall numbers for mips --- iotop/ioprio.py | 4 ++++ 1 file changed, 4 insertions(+) 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), -- 2.11.0
signature.asc
Description: OpenPGP digital signature