GCOV-DUMP(1)

πŸ“¦ version 12.2.0, in nixpkgs unstable

πŸ’… GCOV-DUMP(1) β€” the GNU manual page, but make it make sense

okay so bestie, welcome to gcov-dump, and yes this is the GNU flavor of the manual, we're fancy like that. pull up a chair πŸŽ€

✨ NAME ✨

gcov-dump β€” the offline gcda and gcno profile dump tool. yes, offline, like it does not need your whole build situation, it just reads the files. iconic behavior honestly πŸ¦‹

🌸 SYNOPSIS 🌸

gcov-dump [-v|--version]
     [-h|--help]
     [-l|--long]
     [-p|--positions]
     [-r|--raw]
     gcovfiles

so you give it your gcovfiles and zero or more of those flags, and it does its thing. the flags are optional!! the files are kind of the whole point tho πŸ’€

πŸ’– DESCRIPTION πŸ’–

gcov-dump is a tool you can use in conjunction with GCC to dump the content of gcda and gcno profile files offline.

that's it. that's the job. it dumps profile file content, no compiler babysitting required, and it's lowkey a lifesaver when you're trying to see what GCC actually wrote down. 🫢

πŸ”₯ OPTIONS πŸ”₯

  • -h, --help β€” shows you help about using gcov-dump (on the standard output, where else), then dips out immediately without doing any further processing. no strings attached ✨
  • -l, --long β€” dumps the content of records. the long version. the deluxe version. πŸ’…
  • -p, --positions β€” dumps the positions of records. so you know where stuff actually lives πŸ“
  • -r, --raw β€” prints content records in raw format. unprocessed, unfiltered, straight out the box 🧚
  • -v, --version β€” displays the gcov-dump version number (on the standard output, bestie), and exits without doing any further processing. just a little hello and goodbye πŸ‘‘
fr fr, -h and -v both print to standard output and then exit without doing any further processing β€” so don't expect them to also dump your files. they are not multitasking icons. πŸ’€

Copyright (c) 2017-2022 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being "GNU General Public License" and "Funding Free Software", the Front-Cover texts being (a) (see below), and with the Back-Cover Texts being (b) (see below). A copy of the license is included in the gfdl(7) man page.

(a) The FSF's Front-Cover Text is:

A GNU Manual

(b) The FSF's Back-Cover Text is:

You have freedom to copy and modify this GNU Manual, like GNU
software.  Copies published by the Free Software Foundation raise
funds for GNU development.

and that's the whole page, bestie πŸŽ€ no cap. this little masterpiece is from gcc-12.2.0, dated 2022-08-19 β€” yeah, the date is doing a bit of time travel, don't come for me, I just report what the footer says πŸ’œ mwah, go dump some profiles πŸ¦‹

πŸ“¦ where this page comes from