aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/host/syscalls_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/host/syscalls_linux.go')
-rw-r--r--pkg/host/syscalls_linux.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/host/syscalls_linux.go b/pkg/host/syscalls_linux.go
index 4efd28907..8481d7749 100644
--- a/pkg/host/syscalls_linux.go
+++ b/pkg/host/syscalls_linux.go
@@ -82,6 +82,8 @@ func parseKallsyms(kallsyms []byte, arch string) map[string]bool {
re = regexp.MustCompile(` T sys_(mips_)?([^\n]+)\n`)
case "s390x":
re = regexp.MustCompile(` T (__s390_|__s390x_)?sys_([^\n]+)\n`)
+ case "riscv64":
+ re = regexp.MustCompile(` T sys_(riscv_)?([^\n]+)\n`)
default:
panic("unsupported arch for kallsyms parsing")
}