[PD] Profiling PD patches and externals.