I just contributed some improvements to Devel::Profile that should make it more stable. Now the only bug I know for sure remains is actually in the core, namely, that you can't call an XS function from &DB::sub before you call &$DB::sub, or the target one gets the wrong default package. Yuck.