fdpr -q -O4 -A 32 -bldcg -shci 90 -sdp 9
The fdpr command (Feedback Directed Program Restructuring) is a performance-tuning utility that may help
improve the execution time and the real memory utilization of user-level application programs. The fdpr program
optimizes the executable image of a program by collecting information on the behavior of the program while the
program is used for some typical workload, and then creating a new version of the program that is optimized for
that workload. The new program generated by fdpr typically runs faster and uses less real memory.
Usage:
fdpr [options] -p program [-x invocation]
where -p specifies the input program, in a form of executable, shared object
or archive file
-x specifies how to invoke the program
[options] can be one or more of the following:
Action Options:
-123 Specifies which actions/phases to run, where:
-1 generates instrumented program for profile gathering
-2 runs the instrumented program and updates profile data (requires -x )
-3 generates optimized program
Default is set to run all three phases (-123)
-a/--action [action] Specifies customized actions
where [action] can be one of the following:
anl analyze program
instr generate instrumented program for profile gathering (same as -1)
opt generate optimized program (same as -3)
check_sign check fdpr signature in the input program
Analysis Options:
-aawc/-noaawc, --analyze-assembly-written-csects/--noanalyze-assembly-written-csects
Analyze/Do not analyze objects written in Assembly. The
default is set to analyze modules written in Assembly
-acf , --analysis-configuration-file
Provide a configuration file of analysis information
(advanced option)
-asd, --analyze-static-data
Analyze static data objects as distinct data elements
for data reordering (unsafe for certain compilers)
-esa, --extra-safe-analysis
Limit analysis phase to compiler generated code
-fca, --funcsect-analysis
Apply special analysis for an input executable that was
compiled with the -qfuncsect compiler option
-ff , --file-format
Input file format: can be LM (load module) or PO
(program object)
-ifl , --ignored-function-list
Set the ignored function list. The file contains names
of functions that should not be instrumentated or
optimized
-iinf, --ignore-info Ignore .info sections produced with the -qfdpr option
during compile time
Instrumentation Options:
-anl, --analyze-program
Analyze the program but does not create any modified
binary. This option is used to provide dump of
profile/code coverage information. When used with the
-d option it will dump the disassembly of the original
program
-ccf , --code-coverage-file
Use file mapped to shared memory to collect coverage
information at run-time
-ccgi , --code-coverage-generate-info
Produce coverage information to given file based on
profile information. Use =XML for XML output and
=FLAT for flat formatted text file. The generated
file is
]]>