CTFMERGE(1) General Commands Manual CTFMERGE(1)

ctfmergemerge several CTF data sections into one

ctfmerge [-fgstv] -l label -L labelenv -o outfile file ...

ctfmerge [-fgstv] -l label -L labelenv -o outfile -d uniqfile [-g] [-D uniqlabel] file ...

ctfmerge [-fgstv] -l label -L labelenv -o outfile -w withfile file ...

ctfmerge [-g] -c srcfile destfile

The ctfmerge utility merges several CTF data sections from several files into one output file, unifying common data.

The following options are available:

Match global symbols to global CTF data.
Don't delete the original debugging sections.
Use the ‘.dynsym’ ELF section instead of the ‘.symtab’ ELF section.
Make sure that all object files have a CTF section.
Enable verbose mode.
label
Sets the label as label.
labelenv
Instructs ctfmerge to read the label from the environment variable labelenv.
outfile
Use outfile to store the merged CTF data.
uniqfile
Uniquify against uniqfile.
uniqlabel
Uniquify against label uniqlabel
withfile
Additive merge with withfile.
srcfile destfile
Copy CTF data from srcfile into destfile.

The following environment variables are used in ctfmerge:

Don't remove temporary files on exit, so that they can be examined for debugging.
Number of round-robin slots in the input queue that it is processed by worker threads. Each slot represents a file batch (default 5).
Number of files in a slot that are needed before processing starts (default 8).
Set the number of worker threads. If the number of processors can be determined it defaults to (processors*3/2, nslots); if not it defaults to 2.
Max queue size to queue (defaults to 10).
Increase debugging verbosity (maximum is 3).

The ctfmerge utility exits 0 on success, and >0 if an error occurs.

ctfconvert(1), ctfdump(1)

The ctfmerge utility first appeared in FreeBSD 7.0.

The CTF utilities came from OpenSolaris.

May 4, 2024 NetBSD 10.99