Sets up the object files produced by the compiler for profiling.
If the -qtbtable option is not set, the -p option will generate full traceback tables.
When compiling and linking in separate steps, the -p option must be specified in both steps.
To compile myprogram.c so that it can be used with your operating system's gprof command, enter:
xlc++ myprogram.C -p