Skip to contentSkip to conversation

rtla: Define syscall numbers for riscv

PATCH Superseded Andreas Schwab 2 participants 2 messages Jul 25, 2022 Real-time Linux Analysis (rtla) tools

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtla: Define syscall numbers for riscv

---
 tools/tracing/rtla/src/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/tracing/rtla/src/utils.c +1 -1
index 5352167a1e75..147921356e02 100644
@@ -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__
Signature · 7 lines
2.37.1


-- 
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
#1 lore raw

Maybe add a single line description here?

Quoted 1 line · Andreas Schwab

Note: we need to improve this, making rtla use the available headers.

I already tried but always entered a circular loop of dependencies... it is on my to-do list, but if anyone has time, feel free to do it.

-- Daniel