The following trivial patch will be applied to google branches. Bootstrap and tessted on x86-64/linux
2011-07-28 David Li <davi...@google.com> * coverage.c (coverage_init): Remove checking of profile-use flags. Index: coverage.c =================================================================== --- coverage.c (revision 176765) +++ coverage.c (working copy) @@ -1952,9 +1952,10 @@ coverage_init (const char *filename, con static bool profiling_enabled_p (void) { - return flag_pmu_profile_generate || profile_arc_flag || - flag_profile_generate_sampling || flag_test_coverage || - flag_branch_probabilities || flag_profile_reusedist; + return flag_pmu_profile_generate + || profile_arc_flag + || flag_profile_generate_sampling + || flag_profile_reusedist; } /* Construct variables for PMU profiling. -- This patch is available for review at http://codereview.appspot.com/4832042