feedback(1) — Commands
Digital
NAME
feedback − generate a feedback file using profiler pixie and execution data analyzer prof.
SYNOPSIS
feedback [ pixie options ] [ prof options ] [ -o feedback_file ] objfile [ objfile arguments ]
DESCRIPTION
feedback invokes pixie(1) to add profiling code to an object file. The object file generated by pixie is executed to obtain profiling information. feedback then invokes prof(1) to analyse the profiling information. prof can combine the profiling information files or produce a feedback file that lets the optimizer take into account the program’s runtime behavior during a subsequent compilation.
If the output of objfile needs to be redirected, but not the output of the feedback utility, the redirection characters need to be within quotes.
The -o option specifies the name of the feedback file. This can also be specified by the -feedback option of prof. You should use only one of these options to specify a feedback file, not both.
The feedback command accepts pixie (see pixie(1)) and prof (see prof(1)) options.
EXAMPLES
In this example, feedback sends the profiling information to the standard output.
feedback myprog
In this example, the profiling information is written to the file myprog.feedback. This file may be used in subsequent compilations.
feedback -feedback myprog.feedback myprog