Skip to contentSkip to conversation

Problem with google-pprof

DISCUSSION Dan Mick 1 participant 1 message Apr 27, 2012

lore
Share & tools
lore

Dan Mick

author
#0 lore raw

I spent some time looking into why google-pprof was broken with debug-stripped binaries. It relates to an issue with addr2line that I'm still looking into, but the easy workaround is to add /usr/lib/debug to the path of the binary you're interested in running analysis on. That is, instead of

google-pprof <display options> /usr/bin/ceph-osd <profile>

you say

google-pprof <display options> /usr/lib/debug/usr/bin/ceph-osd <profile>