Skip to content
Browse files

pkg/host: Support extracting kallsyms on ppc64le

Add a regex for syscall symbol extraction on ppc64le. ppc64le doesn't have
any special arch prefix.

Signed-off-by: Andrew Donnellan <>
  • Loading branch information...
ajdlinux authored and dvyukov committed Jan 11, 2019
1 parent 0fbab0d commit f4013aa9724fdaf3386d65247d2eca2332a85911
Showing with 2 additions and 0 deletions.
  1. +2 −0 pkg/host/host_linux.go
@@ -65,6 +65,8 @@ func isSupported(c *prog.Syscall, target *prog.Target, sandbox string) (bool, st
re = regexp.MustCompile(` T (__ia32_|__x64_)?sys_([^\n]+)\n`)
case "arm64":
re = regexp.MustCompile(` T (__arm64_)?sys_([^\n]+)\n`)
case "ppc64le":
re = regexp.MustCompile(` T ()?sys_([^\n]+)\n`)
panic("unsupported arch for kallsyms parsing")

0 comments on commit f4013aa

Please sign in to comment.
You can’t perform that action at this time.