aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/gcov-dump.texi
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-08-01 15:50:43 +0200
committerMartin Liska <mliska@suse.cz>2022-08-03 10:58:22 +0200
commita6b7fff06c5b27c4ffacf4c84ea1189254b9ad84 (patch)
tree23ed79a55254e16cbabed1c70cf4dce1c861f831 /gcc/doc/gcov-dump.texi
parent7585e5ecb47761516b8f397002819f2c95b8c32e (diff)
downloadgcc-a6b7fff06c5b27c4ffacf4c84ea1189254b9ad84.zip
gcc-a6b7fff06c5b27c4ffacf4c84ea1189254b9ad84.tar.gz
gcc-a6b7fff06c5b27c4ffacf4c84ea1189254b9ad84.tar.bz2
gcov-dump: add --stable option
The option prints TOP N counters in a stable format usage for comparison (diff). gcc/ChangeLog: * doc/gcov-dump.texi: Document the new option. * gcov-dump.cc (main): Parse the new option. (print_usage): Show the option. (tag_counters): Sort key:value pairs of TOP N counter.
Diffstat (limited to 'gcc/doc/gcov-dump.texi')
-rw-r--r--gcc/doc/gcov-dump.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/doc/gcov-dump.texi b/gcc/doc/gcov-dump.texi
index 4f4e355..0491ab1 100644
--- a/gcc/doc/gcov-dump.texi
+++ b/gcc/doc/gcov-dump.texi
@@ -62,6 +62,7 @@ gcov-dump [@option{-v}|@option{--version}]
[@option{-l}|@option{--long}]
[@option{-p}|@option{--positions}]
[@option{-r}|@option{--raw}]
+ [@option{-s}|@option{--stable}]
@var{gcovfiles}
@c man end
@end ignore
@@ -85,6 +86,10 @@ Dump positions of records.
@itemx --raw
Print content records in raw format.
+@item -s
+@itemx --stable
+Print content in stable format usable for comparison.
+
@item -v
@itemx --version
Display the @command{gcov-dump} version number (on the standard output),