Skip to contentSkip to conversation

new wallclock profiler github repo

DISCUSSION Mark Nelson 1 participant 1 message Nov 13, 2017

lore
Share & tools
lore
#0 lore raw

Hi Guys,

A few of you have been playing with the gdbprof fork that I made a while back to profile some of the OSD and client side code. Last week I took a day and cleaned the code up. I made a new repository/name for it here:

https://github.com/markhpc/gdbpmp

Some of the changes include being able to run it directly from the commandline or within gdb, settings the sample count and sleep time, filtering which threads to monitor, and saving the results so you can re-parse the data (not super useful now, but eventually I'll try to include different ways to examine the data, possibly things like time-based correlation of events in different threads).

Adam is looking at writing a similar wallclock profiler that would use libunwind directly and hopefully will be much faster, but for now hopefully this will be easier and more useful than the earlier attempt.

Thanks,
Mark