feedback(1) — Commands
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
The feedback command invokes pixie(1) to add profiling code to an object file. The object file generated by pixie is executed to obtain profiling information. The feedback command then invokes prof(1) to analyze the profiling information. The prof program can combine the profiling information files or produce a feedback file that lets the optimizer take into account the program’s run-time 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