[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <mvmr129l0qt.fsf@suse.de>
Date: Mon, 25 Jul 2022 16:34:34 +0200
From: Andreas Schwab <schwab@...e.de>
To: Daniel Bristot de Oliveira <bristot@...nel.org>
CC: Steven Rostedt <rostedt@...dmis.org>,
linux-trace-devel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] rtla: Define syscall numbers for riscv
Signed-off-by: Andreas Schwab <schwab@...e.de>
---
tools/tracing/rtla/src/utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/tracing/rtla/src/utils.c b/tools/tracing/rtla/src/utils.c
index 5352167a1e75..147921356e02 100644
--- a/tools/tracing/rtla/src/utils.c
+++ b/tools/tracing/rtla/src/utils.c
@@ -224,7 +224,7 @@ long parse_ns_duration(char *val)
#elif __arm__
# define __NR_sched_setattr 380
# define __NR_sched_getattr 381
-#elif __aarch64__
+#elif __aarch64__ || __riscv
# define __NR_sched_setattr 274
# define __NR_sched_getattr 275
#elif __powerpc__
--
2.37.1
--
Andreas Schwab, SUSE Labs, schwab@...e.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Powered by blists - more mailing lists