]> Git Repo - linux.git/commitdiff
rtla: Define syscall numbers for riscv
authorAndreas Schwab <[email protected]>
Tue, 26 Jul 2022 08:01:22 +0000 (10:01 +0200)
committerSteven Rostedt (Google) <[email protected]>
Sun, 31 Jul 2022 21:04:05 +0000 (17:04 -0400)
RISC-V uses the same (generic) syscall numbers as ARM64.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Andreas Schwab <[email protected]>
Acked-by: Daniel Bristot de Oliveira <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
tools/tracing/rtla/src/utils.c

index 5ae2fa96fde1e2fb2832e6735677790ef90364c3..663a047f794d2a8269abff7241805d871fc6cb73 100644 (file)
@@ -225,7 +225,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__
This page took 0.05406 seconds and 4 git commands to generate.