$ size foo.o
0 + 0 + 0 = 0
strip
Do not run strip on files compiled with +I or +P. Doing so results in an object file that is essentially empty.
Compiler Options
Except as noted below, all cc, CC, and f77 compiler options work as expected when specified with +I or +P:
Compiler Options | Description |
|
|
This option is incompatible with +I and +P. | |
|
|
This option is incompatible with +I, but compatible with +P (as long as the insertion of the | |
| gprof library calls does not affect the control flow graph structure of the procedures.) |
|
|
This option is incompatible with +I option, but is compatible with +P (as long as the insertion | |
| of the prof code does not affect the control flow graph structure of the procedures.) |
|
|
You must not use this option together with +I. Doing so results in an object file that is | |
| essentially empty. |
|
|
This option is incompatible with +I and +P options because assembly code is not generated | |
| from the compiler in these situations. Currently, it is not possible to get assembly code listings |
| of code generated by +I and +P. |
|
|
The same restrictions apply to these options that were mentioned for | |
|
|
+o | This option is incompatible with +I and +P. Currently, you cannot get code offset listings |
| for code generated by +I and +P. |
|
|
Compatibility with 9.0 PBO
PBO is largely compatible between the 9.0 and 10.0 releases of
9.0are completely acceptable in the 10.0 environment. However, it is advantageous to
10.0enhancements. In addition, a warning is generated stating that the profile data is from a previous release. See the section called Profiling in this chapter for more information. See the section called Profiling for more information about the warning generated for profile data generated from a previous release.
Compatibility with 9.0 PBO
PBO is largely compatible between the 9.0 and 10.0 releases of
9.0are completely acceptable in the 10.0 environment. However, it is advantageous to
10.0enhancements. In addition, a warning is generated stating that the profile data is from a previous release. See the section called Profiling in this chapter for more information. See the section called Profiling for more information about the warning generated for profile data generated from a previous release.
216 Improving Your Application Performance