Attached is the new patch. Tested with bootstrap, profiledbootstrap and spec. Thanks, -Rong On Thu, Jan 16, 2014 at 9:30 AM, Rong Xu wrote: > Ping. > > -Rong > > On Mon, Jan 13, 2014 at 12:43 PM, Rong Xu wrote: >> Hi, >> >> This patch implements gcov-tool, a offline profile processing tool. >> This version supports merging two profiles with weights, and scaling >> the profile with a floating-point / fraction weight. >> >> Earlier discussion can be found >> http://gcc.gnu.org/ml/gcc-patches/2013-11/msg02631.html >> >> In the discussion of the earlier patch, Honza wanted a separated >> patch for interface change for gcov_merge_*() functions. In this patch, >> the changes for gcov_merge_*() are minimal by using a wrapper function. >> So I include everything in this patch. >> >> Tested with bootstrap profiledboostrap and SPEC2006 profiles. >> >> Thanks, >> >> -Rong