Skip to content

Commit dd0b15b

Browse files
andreas-schwabrostedt
authored andcommitted
rtla: Define syscall numbers for riscv
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]>
1 parent 4f753c3 commit dd0b15b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/tracing/rtla/src/utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ long parse_ns_duration(char *val)
225225
#elif __arm__
226226
# define __NR_sched_setattr 380
227227
# define __NR_sched_getattr 381
228-
#elif __aarch64__
228+
#elif __aarch64__ || __riscv
229229
# define __NR_sched_setattr 274
230230
# define __NR_sched_getattr 275
231231
#elif __powerpc__

0 commit comments

Comments
 (0)