Closed jvnn closed 4 years ago
Just saw that you've already made a commit with message "fix: empty perf stack", so that'll likely fix the problem. Unfortunately I can't easily try the go code directly as my go version is 1.6.2 which seems to lack the necessary math/bits
package:
user@7b50333ae28f:/gostuff/src/github.com/spiermar/burn$ GOPATH=/gostuff go build
../../../golang.org/x/sys/unix/affinity_linux.go:10:2: cannot find package "math/bits" in any of:
/usr/lib/go-1.6/src/math/bits (from $GOROOT)
/gostuff/src/math/bits (from $GOPATH)
To continue my monologue... :)
It seems ubuntu containers use an ancient version by default, I ran the build in a new container with go 1.12.10 and everything works fine with the newest code. Thus closing the issue.
Hi, just ran into this while trying out burn:
It seems that perf can in some cases produce empty stacks like this in
perf script
output:When trying to convert this (with the latest prebuilt binary), burn fails with a panic: