From 40f2363e80ac2585f5d4654caed588db21463c88 Mon Sep 17 00:00:00 2001 From: Cody Holliday <9455568+Codysseus@users.noreply.github.com> Date: Fri, 5 Apr 2019 11:15:48 +0200 Subject: pkg/host: enable kallsyms parsing on arm pkg/host/host_linux.go: Add "arm" to kallsyms support test. pkg/host/host_test.go: TestKallsymsParse(): Add entry to test arm kallsyms parsing support. --- pkg/host/host_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/host/host_linux.go') diff --git a/pkg/host/host_linux.go b/pkg/host/host_linux.go index ae8d7af85..e8395511f 100644 --- a/pkg/host/host_linux.go +++ b/pkg/host/host_linux.go @@ -82,7 +82,7 @@ func parseKallsyms(kallsyms []byte, arch string) map[string]bool { switch arch { case "386", "amd64": re = regexp.MustCompile(` T (__ia32_|__x64_)?sys_([^\n]+)\n`) - case "arm64": + case "arm", "arm64": re = regexp.MustCompile(` T (__arm64_)?sys_([^\n]+)\n`) case "ppc64le": re = regexp.MustCompile(` T ()?sys_([^\n]+)\n`) -- cgit mrf-deployment