How to enable visualization of kubelet call stack on perf profile?

9/24/2019

I'm trying to do root-cause analysis for an issue. The cpu perf profile looks like this- CPU profile

Apparently, more time is used by kubelet and dockerd. But the stack below has [unknown] symbols. How can I enable visualization of entire stack so as to find the go-routines cpu spends time on?

Update 1: Following @coderanger's suggestion I did build binaries manually using - make all GOLDFLAGS=""

And still I am missing some symbols with perf profiling- enter image description here

Any help appreciated!

-- Swapnil Patel
flamegraph
kubernetes
linux
linux-kernel
perf

0 Answers