Fix typo in gcov.texi

* doc/gcov.texi: Change _gcov_dump to __gcov_dump and
	_gcov_reset to __gcov_reset.
	* doc/gcov-tool.texi: Fix typo.
	* libgcov-util.c: Fix typo and GNU coding style.

From-SVN: r239307
This commit is contained in:
Martin Liska 2016-08-09 23:02:24 +02:00 committed by Martin Liska
parent 6dce6418c5
commit e0c8eebff7
5 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2016-08-09 Martin Liska <mliska@suse.cz>
* doc/gcov.texi: Change _gcov_dump to __gcov_dump and
_gcov_reset to __gcov_reset.
* doc/gcov-tool.texi: Fix typo.
2016-08-09 Martin Liska <mliska@suse.cz>
* value-prof.c (gimple_divmod_values_to_profile): Do not

View File

@ -193,7 +193,7 @@ in the new profile.
@end table
@item overlap
Computer the overlap score between the two specified profile directories.
Compute the overlap score between the two specified profile directories.
The overlap score is computed based on the arc profiles. It is defined as
the sum of min (p1_counter[i] / p1_sum_all, p2_counter[i] / p2_sum_all),
for all arc counter i, where p1_counter[i] and p2_counter[i] are two

View File

@ -582,10 +582,10 @@ now be calculable at compile time in some instances. Because the
coverage of all the uses of the inline function will be shown for the
same source lines, the line counts themselves might seem inconsistent.
Long-running applications can use the @code{_gcov_reset} and @code{_gcov_dump}
Long-running applications can use the @code{__gcov_reset} and @code{__gcov_dump}
facilities to restrict profile collection to the program region of
interest. Calling @code{_gcov_reset(void)} will clear all profile counters
to zero, and calling @code{_gcov_dump(void)} will cause the profile information
interest. Calling @code{__gcov_reset(void)} will clear all profile counters
to zero, and calling @code{__gcov_dump(void)} will cause the profile information
collected at that point to be dumped to @file{.gcda} output files.
@c man end

View File

@ -1,3 +1,7 @@
2016-08-09 Martin Liska <mliska@suse.cz>
* libgcov-util.c: Fix typo and GNU coding style.
2016-08-09 Martin Liska <mliska@suse.cz>
* Makefile.in: Remove __gcov_indirect_call_profiler.

View File

@ -1391,7 +1391,8 @@ calculate_overlap (struct gcov_info *gcov_list1,
return prg_val;
}
/* Computer the overlap score of two lists of gcov_info objects PROFILE1 and PROFILE2.
/* Compute the overlap score of two lists of gcov_info objects PROFILE1 and
PROFILE2.
Return 0 on success: without mismatch. Reutrn 1 on error. */
int