Changes to OTF:
- fixed RBuffer_searchTime() for compressed files Changes to VT: - rebuild HTML+PDF version of VT user manual - fixed compiler instr. entry in configure summary (was empty if no compiler instr. found) This commit was SVN r26750.
Этот коммит содержится в:
родитель
ec760454a6
Коммит
a1c6ab7c08
@ -15,3 +15,4 @@ CFLAGS_FOR_BUILD="-O3"
|
||||
CXXFLAGS_FOR_BUILD="-O3"
|
||||
enable_shared="no"
|
||||
with_mpich2="yes"
|
||||
with_shlibc=/lib64/libc.so.6
|
||||
|
@ -341,7 +341,7 @@ AC_DEFUN([ACVT_CONF_SUMMARY],
|
||||
], [answer=no])
|
||||
echo " Build CUPTI support: $answer"
|
||||
|
||||
AS_IF([test x"$have_compinst" != x],
|
||||
AS_IF([test x"$have_compinst" = "xyes"],
|
||||
[answer=`echo $compinst_type | sed s/gnu/gnu*/g`],
|
||||
[answer="no"])
|
||||
echo ""
|
||||
|
@ -98,225 +98,227 @@ Contents</A>
|
||||
<!--Table of Contents-->
|
||||
|
||||
<UL CLASS="TofC">
|
||||
<LI><A NAME="tex2html126"
|
||||
HREF="#SECTION00200000000000000000">Introduction</A>
|
||||
<LI><A NAME="tex2html127"
|
||||
HREF="#SECTION00200000000000000000">Introduction</A>
|
||||
<LI><A NAME="tex2html128"
|
||||
HREF="#SECTION00300000000000000000">Instrumentation</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html128"
|
||||
HREF="#SECTION00310000000000000000">Compiler Wrappers</A>
|
||||
<LI><A NAME="tex2html129"
|
||||
HREF="#SECTION00320000000000000000">Instrumentation Types</A>
|
||||
HREF="#SECTION00310000000000000000">Compiler Wrappers</A>
|
||||
<LI><A NAME="tex2html130"
|
||||
HREF="#SECTION00320000000000000000">Instrumentation Types</A>
|
||||
<LI><A NAME="tex2html131"
|
||||
HREF="#SECTION00330000000000000000">Automatic Instrumentation</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html131"
|
||||
HREF="#SECTION00331000000000000000">Supported Compilers</A>
|
||||
<LI><A NAME="tex2html132"
|
||||
HREF="#SECTION00332000000000000000">Notes for Using the GNU, Intel, PathScale, or Open64 Compiler</A>
|
||||
HREF="#SECTION00331000000000000000">Supported Compilers</A>
|
||||
<LI><A NAME="tex2html133"
|
||||
HREF="#SECTION00333000000000000000">Notes on Instrumentation of Inline Functions</A>
|
||||
HREF="#SECTION00332000000000000000">Notes for Using the GNU, Intel, PathScale, or Open64 Compiler</A>
|
||||
<LI><A NAME="tex2html134"
|
||||
HREF="#SECTION00333000000000000000">Notes on Instrumentation of Inline Functions</A>
|
||||
<LI><A NAME="tex2html135"
|
||||
HREF="#SECTION00334000000000000000">Instrumentation of Loops with OpenUH Compiler</A>
|
||||
</UL>
|
||||
<LI><A NAME="tex2html135"
|
||||
<LI><A NAME="tex2html136"
|
||||
HREF="#SECTION00340000000000000000">Manual Instrumentation</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html136"
|
||||
HREF="#SECTION00341000000000000000">Using the VampirTrace API</A>
|
||||
<LI><A NAME="tex2html137"
|
||||
HREF="#SECTION00341000000000000000">Using the VampirTrace API</A>
|
||||
<LI><A NAME="tex2html138"
|
||||
HREF="#SECTION00342000000000000000">Measurement Controls</A>
|
||||
</UL>
|
||||
<LI><A NAME="tex2html138"
|
||||
HREF="#SECTION00350000000000000000">Source Instrumentation Using PDT/TAU</A>
|
||||
<LI><A NAME="tex2html139"
|
||||
HREF="#SECTION00350000000000000000">Source Instrumentation Using PDT/TAU</A>
|
||||
<LI><A NAME="tex2html140"
|
||||
HREF="#SECTION00360000000000000000">Binary Instrumentation Using Dyninst</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html140"
|
||||
<LI><A NAME="tex2html141"
|
||||
HREF="#SECTION00361000000000000000">Static Binary Instrumentation</A>
|
||||
</UL>
|
||||
<LI><A NAME="tex2html141"
|
||||
HREF="#SECTION00370000000000000000">Runtime Instrumentation Using VTRun</A>
|
||||
<LI><A NAME="tex2html142"
|
||||
HREF="#SECTION00380000000000000000">Tracing Java Applications Using JVMTI</A>
|
||||
HREF="#SECTION00370000000000000000">Runtime Instrumentation Using VTRun</A>
|
||||
<LI><A NAME="tex2html143"
|
||||
HREF="#SECTION00380000000000000000">Tracing Java Applications Using JVMTI</A>
|
||||
<LI><A NAME="tex2html144"
|
||||
HREF="#SECTION00390000000000000000">Tracing Calls to 3rd-Party Libraries</A>
|
||||
</UL>
|
||||
<BR>
|
||||
<LI><A NAME="tex2html144"
|
||||
<LI><A NAME="tex2html145"
|
||||
HREF="#SECTION00400000000000000000">Runtime Measurement</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html145"
|
||||
HREF="#SECTION00410000000000000000">Trace File Name and Location</A>
|
||||
<LI><A NAME="tex2html146"
|
||||
HREF="#SECTION00420000000000000000">Environment Variables</A>
|
||||
HREF="#SECTION00410000000000000000">Trace File Name and Location</A>
|
||||
<LI><A NAME="tex2html147"
|
||||
HREF="#SECTION00430000000000000000">Influencing Trace Buffer Size</A>
|
||||
HREF="#SECTION00420000000000000000">Environment Variables</A>
|
||||
<LI><A NAME="tex2html148"
|
||||
HREF="#SECTION00440000000000000000">Profiling an Application</A>
|
||||
HREF="#SECTION00430000000000000000">Influencing Trace Buffer Size</A>
|
||||
<LI><A NAME="tex2html149"
|
||||
HREF="#SECTION00450000000000000000">Unification of Local Traces</A>
|
||||
HREF="#SECTION00440000000000000000">Profiling an Application</A>
|
||||
<LI><A NAME="tex2html150"
|
||||
HREF="#SECTION00460000000000000000">Synchronized Buffer Flush</A>
|
||||
HREF="#SECTION00450000000000000000">Unification of Local Traces</A>
|
||||
<LI><A NAME="tex2html151"
|
||||
HREF="#SECTION00470000000000000000">Enhanced Timer Synchronization</A>
|
||||
HREF="#SECTION00460000000000000000">Synchronized Buffer Flush</A>
|
||||
<LI><A NAME="tex2html152"
|
||||
HREF="#SECTION00470000000000000000">Enhanced Timer Synchronization</A>
|
||||
<LI><A NAME="tex2html153"
|
||||
HREF="#SECTION00480000000000000000">Environment Configuration Using VTSetup</A>
|
||||
</UL>
|
||||
<BR>
|
||||
<LI><A NAME="tex2html153"
|
||||
<LI><A NAME="tex2html154"
|
||||
HREF="#SECTION00500000000000000000">Recording Additional Events and Counters</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html154"
|
||||
HREF="#SECTION00510000000000000000">Hardware Performance Counters</A>
|
||||
<LI><A NAME="tex2html155"
|
||||
HREF="#SECTION00520000000000000000">Resource Usage Counters</A>
|
||||
HREF="#SECTION00510000000000000000">Hardware Performance Counters</A>
|
||||
<LI><A NAME="tex2html156"
|
||||
HREF="#SECTION00530000000000000000">Memory Allocation Counter</A>
|
||||
HREF="#SECTION00520000000000000000">Resource Usage Counters</A>
|
||||
<LI><A NAME="tex2html157"
|
||||
HREF="#SECTION00540000000000000000">CPU ID Counter</A>
|
||||
HREF="#SECTION00530000000000000000">Memory Allocation Counter</A>
|
||||
<LI><A NAME="tex2html158"
|
||||
HREF="#SECTION00550000000000000000">NVIDIA CUDA</A>
|
||||
HREF="#SECTION00540000000000000000">CPU ID Counter</A>
|
||||
<LI><A NAME="tex2html159"
|
||||
HREF="#SECTION00560000000000000000">Pthread API Calls</A>
|
||||
HREF="#SECTION00550000000000000000">NVIDIA CUDA</A>
|
||||
<LI><A NAME="tex2html160"
|
||||
HREF="#SECTION00570000000000000000">Plugin Counter Metrics</A>
|
||||
HREF="#SECTION00560000000000000000">Pthread API Calls</A>
|
||||
<LI><A NAME="tex2html161"
|
||||
HREF="#SECTION00580000000000000000">I/O Calls</A>
|
||||
HREF="#SECTION00570000000000000000">Plugin Counter Metrics</A>
|
||||
<LI><A NAME="tex2html162"
|
||||
HREF="#SECTION00590000000000000000">fork/system/exec Calls</A>
|
||||
HREF="#SECTION00580000000000000000">I/O Calls</A>
|
||||
<LI><A NAME="tex2html163"
|
||||
HREF="#SECTION005100000000000000000">MPI Correctness Checking Using UniMCI</A>
|
||||
HREF="#SECTION00590000000000000000">fork/system/exec Calls</A>
|
||||
<LI><A NAME="tex2html164"
|
||||
HREF="#SECTION005110000000000000000">User-defined Counters</A>
|
||||
HREF="#SECTION005100000000000000000">MPI Correctness Checking Using UniMCI</A>
|
||||
<LI><A NAME="tex2html165"
|
||||
HREF="#SECTION005120000000000000000">User-defined Markers</A>
|
||||
HREF="#SECTION005110000000000000000">User-defined Counters</A>
|
||||
<LI><A NAME="tex2html166"
|
||||
HREF="#SECTION005120000000000000000">User-defined Markers</A>
|
||||
<LI><A NAME="tex2html167"
|
||||
HREF="#SECTION005130000000000000000">User-defined Communcation</A>
|
||||
</UL>
|
||||
<BR>
|
||||
<LI><A NAME="tex2html167"
|
||||
<LI><A NAME="tex2html168"
|
||||
HREF="#SECTION00600000000000000000">Filtering & Grouping</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html168"
|
||||
HREF="#SECTION00610000000000000000">Function Filtering</A>
|
||||
<LI><A NAME="tex2html169"
|
||||
HREF="#SECTION00620000000000000000">Java Specific Filtering</A>
|
||||
HREF="#SECTION00610000000000000000">Function Filtering</A>
|
||||
<LI><A NAME="tex2html170"
|
||||
HREF="#SECTION00620000000000000000">Java Specific Filtering</A>
|
||||
<LI><A NAME="tex2html171"
|
||||
HREF="#SECTION00630000000000000000">Function Grouping</A>
|
||||
</UL>
|
||||
<BR>
|
||||
<LI><A NAME="tex2html171"
|
||||
<LI><A NAME="tex2html172"
|
||||
HREF="#SECTION00700000000000000000">VampirTrace Installation</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html172"
|
||||
HREF="#SECTION00710000000000000000">Basics</A>
|
||||
<LI><A NAME="tex2html173"
|
||||
HREF="#SECTION00720000000000000000">Configure Options</A>
|
||||
HREF="#SECTION00710000000000000000">Basics</A>
|
||||
<LI><A NAME="tex2html174"
|
||||
HREF="#SECTION00730000000000000000">Cross Compilation</A>
|
||||
HREF="#SECTION00720000000000000000">Configure Options</A>
|
||||
<LI><A NAME="tex2html175"
|
||||
HREF="#SECTION00740000000000000000">Environment Set-Up</A>
|
||||
HREF="#SECTION00730000000000000000">Cross Compilation</A>
|
||||
<LI><A NAME="tex2html176"
|
||||
HREF="#SECTION00740000000000000000">Environment Set-Up</A>
|
||||
<LI><A NAME="tex2html177"
|
||||
HREF="#SECTION00750000000000000000">Notes for Developers</A>
|
||||
</UL>
|
||||
<BR>
|
||||
<LI><A NAME="tex2html177"
|
||||
<LI><A NAME="tex2html178"
|
||||
HREF="#SECTION00800000000000000000">Command Reference</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html178"
|
||||
HREF="#SECTION00810000000000000000">Compiler Wrappers (vtcc,vtcxx,vtfort)</A>
|
||||
<LI><A NAME="tex2html179"
|
||||
HREF="#SECTION00820000000000000000">Local Trace Unifier (vtunify)</A>
|
||||
HREF="#SECTION00810000000000000000">Compiler Wrappers (vtcc,vtcxx,vtfort)</A>
|
||||
<LI><A NAME="tex2html180"
|
||||
HREF="#SECTION00830000000000000000">Binary Instrumentor (vtdyn)</A>
|
||||
HREF="#SECTION00820000000000000000">Local Trace Unifier (vtunify)</A>
|
||||
<LI><A NAME="tex2html181"
|
||||
HREF="#SECTION00840000000000000000">Trace Filter Tool (vtfilter)</A>
|
||||
HREF="#SECTION00830000000000000000">Binary Instrumentor (vtdyn)</A>
|
||||
<LI><A NAME="tex2html182"
|
||||
HREF="#SECTION00850000000000000000">Library Wrapper Generator (vtlibwrapgen)</A>
|
||||
HREF="#SECTION00840000000000000000">Trace Filter Tool (vtfilter)</A>
|
||||
<LI><A NAME="tex2html183"
|
||||
HREF="#SECTION00860000000000000000">Application Execution Wrapper (vtrun)</A>
|
||||
HREF="#SECTION00850000000000000000">Library Wrapper Generator (vtlibwrapgen)</A>
|
||||
<LI><A NAME="tex2html184"
|
||||
HREF="#SECTION00870000000000000000">IOFSL server startup script (vtiofsl-start)</A>
|
||||
HREF="#SECTION00860000000000000000">Application Execution Wrapper (vtrun)</A>
|
||||
<LI><A NAME="tex2html185"
|
||||
HREF="#SECTION00870000000000000000">IOFSL server startup script (vtiofsl-start)</A>
|
||||
<LI><A NAME="tex2html186"
|
||||
HREF="#SECTION00880000000000000000">IOFSL server shutdown script (vtiofsl-stop)</A>
|
||||
</UL>
|
||||
<BR>
|
||||
<LI><A NAME="tex2html186"
|
||||
<LI><A NAME="tex2html187"
|
||||
HREF="#SECTION00900000000000000000">Counter Specifications</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html187"
|
||||
HREF="#SECTION00910000000000000000">PAPI</A>
|
||||
<LI><A NAME="tex2html188"
|
||||
HREF="#SECTION00920000000000000000">CPC</A>
|
||||
HREF="#SECTION00910000000000000000">PAPI</A>
|
||||
<LI><A NAME="tex2html189"
|
||||
HREF="#SECTION00930000000000000000">NEC SX Hardware Performance Counter</A>
|
||||
HREF="#SECTION00920000000000000000">CPC</A>
|
||||
<LI><A NAME="tex2html190"
|
||||
HREF="#SECTION00930000000000000000">NEC SX Hardware Performance Counter</A>
|
||||
<LI><A NAME="tex2html191"
|
||||
HREF="#SECTION00940000000000000000">Resource Usage</A>
|
||||
</UL>
|
||||
<BR>
|
||||
<LI><A NAME="tex2html191"
|
||||
<LI><A NAME="tex2html192"
|
||||
HREF="#SECTION001000000000000000000">Using VampirTrace with IOFSL</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html192"
|
||||
HREF="#SECTION001010000000000000000">Introduction</A>
|
||||
<LI><A NAME="tex2html193"
|
||||
HREF="#SECTION001010000000000000000">Introduction</A>
|
||||
<LI><A NAME="tex2html194"
|
||||
HREF="#SECTION001020000000000000000">Overview</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html194"
|
||||
HREF="#SECTION001021000000000000000">File handling in OTF</A>
|
||||
<LI><A NAME="tex2html195"
|
||||
HREF="#SECTION001022000000000000000">I/O Forwarding Scalability Layer</A>
|
||||
HREF="#SECTION001021000000000000000">File handling in OTF</A>
|
||||
<LI><A NAME="tex2html196"
|
||||
HREF="#SECTION001022000000000000000">I/O Forwarding Scalability Layer</A>
|
||||
<LI><A NAME="tex2html197"
|
||||
HREF="#SECTION001023000000000000000">Architecture</A>
|
||||
</UL>
|
||||
<LI><A NAME="tex2html197"
|
||||
<LI><A NAME="tex2html198"
|
||||
HREF="#SECTION001030000000000000000">Installation</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html198"
|
||||
HREF="#SECTION001031000000000000000">Support Libraries</A>
|
||||
<LI><A NAME="tex2html199"
|
||||
HREF="#SECTION001032000000000000000">Building IOFSL</A>
|
||||
HREF="#SECTION001031000000000000000">Support Libraries</A>
|
||||
<LI><A NAME="tex2html200"
|
||||
HREF="#SECTION001032000000000000000">Building IOFSL</A>
|
||||
<LI><A NAME="tex2html201"
|
||||
HREF="#SECTION001033000000000000000">Building VampirTrace & OTF</A>
|
||||
</UL>
|
||||
<LI><A NAME="tex2html201"
|
||||
<LI><A NAME="tex2html202"
|
||||
HREF="#SECTION001040000000000000000">Usage Examples</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html202"
|
||||
HREF="#SECTION001041000000000000000">Using VampirTrace with IOFSL on Cray XK6 / with PBS</A>
|
||||
<LI><A NAME="tex2html203"
|
||||
HREF="#SECTION001041000000000000000">Using VampirTrace with IOFSL on Cray XK6 / with PBS</A>
|
||||
<LI><A NAME="tex2html204"
|
||||
HREF="#SECTION001042000000000000000">Manual Usage</A>
|
||||
</UL>
|
||||
</UL>
|
||||
<BR>
|
||||
<LI><A NAME="tex2html204"
|
||||
<LI><A NAME="tex2html205"
|
||||
HREF="#SECTION001100000000000000000">FAQ</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html205"
|
||||
HREF="#SECTION001110000000000000000">Can I use different compilers for VampirTrace and my application?</A>
|
||||
<LI><A NAME="tex2html206"
|
||||
HREF="#SECTION001120000000000000000">Why does my application need such a long time for starting?</A>
|
||||
HREF="#SECTION001110000000000000000">Can I use different compilers for VampirTrace and my application?</A>
|
||||
<LI><A NAME="tex2html207"
|
||||
HREF="#SECTION001130000000000000000">Why do I see multiple
|
||||
HREF="#SECTION001120000000000000000">Why does my application need such a long time for starting?</A>
|
||||
<LI><A NAME="tex2html208"
|
||||
HREF="#SECTION001130000000000000000">How can I limit compiler instrumentation?</A>
|
||||
<LI><A NAME="tex2html209"
|
||||
HREF="#SECTION001140000000000000000">Why do I see multiple
|
||||
I/O operations for a single (un)formatted file read/write from my Fortran
|
||||
application?</A>
|
||||
<LI><A NAME="tex2html208"
|
||||
HREF="#SECTION001140000000000000000">The application has run to completion, but there is no *.otf file. What can I do?</A>
|
||||
<LI><A NAME="tex2html209"
|
||||
HREF="#SECTION001150000000000000000">What limitations are associated with "on/off" and buffer rewind?</A>
|
||||
<LI><A NAME="tex2html210"
|
||||
HREF="#SECTION001160000000000000000">VampirTrace warns that it ``cannot lock file a.lock'', what's wrong?</A>
|
||||
HREF="#SECTION001150000000000000000">The application has run to completion, but there is no *.otf file. What can I do?</A>
|
||||
<LI><A NAME="tex2html211"
|
||||
HREF="#SECTION001170000000000000000">Can I relocate my VampirTrace installation without rebuilding from source?</A>
|
||||
HREF="#SECTION001160000000000000000">What limitations are associated with "on/off" and buffer rewind?</A>
|
||||
<LI><A NAME="tex2html212"
|
||||
HREF="#SECTION001180000000000000000">What are the byte counts in collective communication records?</A>
|
||||
HREF="#SECTION001170000000000000000">VampirTrace warns that it ``cannot lock file a.lock'', what's wrong?</A>
|
||||
<LI><A NAME="tex2html213"
|
||||
HREF="#SECTION001190000000000000000">I get ``error: unknown asm constraint letter''</A>
|
||||
HREF="#SECTION001180000000000000000">Can I relocate my VampirTrace installation without rebuilding from source?</A>
|
||||
<LI><A NAME="tex2html214"
|
||||
HREF="#SECTION0011100000000000000000">I have a question that is not answered in this document!</A>
|
||||
HREF="#SECTION001190000000000000000">What are the byte counts in collective communication records?</A>
|
||||
<LI><A NAME="tex2html215"
|
||||
HREF="#SECTION0011110000000000000000">I need support for additional features so I can trace application xyz.</A>
|
||||
HREF="#SECTION0011100000000000000000">I get ``error: unknown asm constraint letter''</A>
|
||||
<LI><A NAME="tex2html216"
|
||||
HREF="#SECTION0011110000000000000000">I have a question that is not answered in this document!</A>
|
||||
<LI><A NAME="tex2html217"
|
||||
HREF="#SECTION0011120000000000000000">I need support for additional features so I can trace application xyz.</A>
|
||||
</UL></UL>
|
||||
<!--End of Table of Contents-->
|
||||
<P>
|
||||
@ -5564,10 +5566,10 @@ Configuring the Server</A>
|
||||
The server is configured using a configuration file.
|
||||
At server start-up, this file is provided using the <TT>-config</TT> argument.
|
||||
The cray XK6 configuration file is provided in the package<A NAME="tex2html15"
|
||||
HREF="#foot3323"><SUP><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]"
|
||||
HREF="#foot3342"><SUP><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]"
|
||||
SRC="/usr/share/latex2html/icons/footnote.png"></SUP></A>.
|
||||
For more information about the options available please refer to the IOFSL documentation<A NAME="tex2html16"
|
||||
HREF="#foot3324"><SUP><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]"
|
||||
HREF="#foot3343"><SUP><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]"
|
||||
SRC="/usr/share/latex2html/icons/footnote.png"></SUP></A>.
|
||||
The most important option is the <TT>serverlist</TT> entry in the <TT>bmi</TT> section which takes a list of server addresses, e.g. :
|
||||
<PRE>
|
||||
@ -5727,6 +5729,65 @@ function names from the binary.
|
||||
<P>
|
||||
|
||||
<H1><A NAME="SECTION001130000000000000000"></A>
|
||||
<A NAME="sec:faq_limitcompilerinst"></A>
|
||||
<BR>
|
||||
How can I limit compiler instrumentation?
|
||||
</H1>
|
||||
Fully-automatic instrumentation by the compilers is the most convenient method to instrument your program.
|
||||
However, a variety of functions will be instrumented and all calls of these functions will be traced.
|
||||
Runtime filters do not eliminate complete overhead of tracing automatically instrumented functions.
|
||||
Therefore, it is often desirable to limit compiler instrumentation to specific functions.
|
||||
Several compilers provide options to configure function instrumentation.
|
||||
Start with VampirTrace in Profiling Mode by setting <TT>VT_MODE</TT> to <TT>STAT</TT>.
|
||||
The profiling information can be used to determine functions which may be excluded from automatic instrumentation.
|
||||
|
||||
<P>
|
||||
The IBM C compiler ≥11 and Fortran compiler ≥13 provide <TT>-qfunctrace</TT> option to enable tracing for all functions.
|
||||
To disable tracing for all functions you can use <TT>-qnofunctrace</TT>.
|
||||
Regardless of <TT>-qnofunctrace</TT> both <TT>-qfunctrace+</TT> and <TT>-qfunctrace-</TT> can be used to enable resp. disable tracing for a colon-separated list of function names, classes, or namespaces.
|
||||
For example,
|
||||
|
||||
<P>
|
||||
<BR>
|
||||
<BR>
|
||||
<code> -qfunctrace -qfunctrace-myFunc1:myFunc2</code>
|
||||
<BR>
|
||||
<BR>
|
||||
<BR>
|
||||
enables tracing for all functions except for <TT>myFunc1</TT> and <TT>myFunc2</TT>.
|
||||
|
||||
<P>
|
||||
Also GNU compiler ≥4.3 provides options to limit compiler instrumentation.
|
||||
<TT>-finstrument-functions-exclude-file-list</TT> sets a list of files.
|
||||
All functions defined in a file of this list will be excluded from instrumentation.
|
||||
The option <TT>-finstrument-functions-exclude-function-list</TT> sets a list of function names that are excluded from instrumentation.
|
||||
Arguments of both compiler options must be separated by comma.
|
||||
Matching of arguments with function or file names is done on substrings.
|
||||
For example,
|
||||
|
||||
<P>
|
||||
<BR>
|
||||
<BR>
|
||||
<code> -finstrument-functions-exclude-file-list=include</code>
|
||||
<BR>
|
||||
<BR>
|
||||
<BR>
|
||||
will exclude any function defined in files whose pathnames contain "include".
|
||||
Maybe such a rule is too restrictive, because the "include" directory of your own program code is affected too.
|
||||
The pattern needs to be specified more precisely, for instance:
|
||||
|
||||
<P>
|
||||
<BR>
|
||||
<BR>
|
||||
<code> -finstrument-functions-exclude-file-list=/usr/include</code>
|
||||
<BR>
|
||||
<BR>
|
||||
<BR>
|
||||
This rule can be used to exclude Standard Template Library (STL) calls in C++ from tracing.
|
||||
|
||||
<P>
|
||||
|
||||
<H1><A NAME="SECTION001140000000000000000"></A>
|
||||
<A NAME="sec:faq_fortranio"></A>
|
||||
<BR>
|
||||
Why do I see multiple
|
||||
@ -5757,7 +5818,7 @@ next higher function in the call stack - the user function.
|
||||
|
||||
<P>
|
||||
|
||||
<H1><A NAME="SECTION001140000000000000000">
|
||||
<H1><A NAME="SECTION001150000000000000000">
|
||||
The application has run to completion, but there is no *.otf file. What can I do?</A>
|
||||
</H1>
|
||||
|
||||
@ -5769,7 +5830,7 @@ are not available when the application ends and VampirTrace performs trace unifi
|
||||
<P>
|
||||
In those cases, a <TT>*.uctl</TT> file can be found in the directory of the trace file and the
|
||||
user needs to perform trace unification manually.
|
||||
<H1><A NAME="SECTION001150000000000000000"></A>
|
||||
<H1><A NAME="SECTION001160000000000000000"></A>
|
||||
<A NAME="sec:faq_onoff"></A>
|
||||
<BR>
|
||||
What limitations are associated with "on/off" and buffer rewind?
|
||||
@ -5801,7 +5862,7 @@ be recorded in the trace. This can cause problems when analyzing the OTF trace a
|
||||
|
||||
<P>
|
||||
|
||||
<H1><A NAME="SECTION001160000000000000000"></A>
|
||||
<H1><A NAME="SECTION001170000000000000000"></A>
|
||||
<A NAME="sec:faq_filelock"></A>
|
||||
<BR>
|
||||
VampirTrace warns that it ``cannot lock file a.lock'', what's wrong?
|
||||
@ -5819,7 +5880,7 @@ Alternatively, you can manually control the unique file naming by setting
|
||||
|
||||
<P>
|
||||
|
||||
<H1><A NAME="SECTION001170000000000000000"></A>
|
||||
<H1><A NAME="SECTION001180000000000000000"></A>
|
||||
<A NAME="sec:faq_relocate"></A>
|
||||
<BR>
|
||||
Can I relocate my VampirTrace installation without rebuilding from source?
|
||||
@ -5843,7 +5904,7 @@ export VT_PREFIX=$HOME/vampirtrace
|
||||
|
||||
<P>
|
||||
|
||||
<H1><A NAME="SECTION001180000000000000000"></A>
|
||||
<H1><A NAME="SECTION001190000000000000000"></A>
|
||||
<A NAME="sec:faq_collective_bytes"></A>
|
||||
<BR>
|
||||
What are the byte counts in collective communication records?
|
||||
@ -5871,7 +5932,7 @@ Thanks to Eugene Loh for pointing this out!
|
||||
|
||||
<P>
|
||||
|
||||
<H1><A NAME="SECTION001190000000000000000"></A>
|
||||
<H1><A NAME="SECTION0011100000000000000000"></A>
|
||||
<A NAME="sec:faq_asm_error"></A>
|
||||
<BR>
|
||||
I get ``error: unknown asm constraint letter''
|
||||
@ -5884,7 +5945,7 @@ compiler instrumenation (⇒ Section <A HREF="#sec:compinst">2.3</
|
||||
|
||||
<P>
|
||||
|
||||
<H1><A NAME="SECTION0011100000000000000000"></A>
|
||||
<H1><A NAME="SECTION0011110000000000000000"></A>
|
||||
<A NAME="sec:faq_unanswered"></A>
|
||||
<BR>
|
||||
I have a question that is not answered in this document!
|
||||
@ -5896,7 +5957,7 @@ for support on installing and using VampirTrace.
|
||||
|
||||
<P>
|
||||
|
||||
<H1><A NAME="SECTION0011110000000000000000"></A>
|
||||
<H1><A NAME="SECTION0011120000000000000000"></A>
|
||||
<A NAME="sec:faq_morefeatures"></A>
|
||||
<BR>
|
||||
I need support for additional features so I can trace application xyz.
|
||||
@ -6000,13 +6061,13 @@ Dyninst </A><A
|
||||
<DD>The server makes use of all the nodes resources by multithreading and allocating large I/O buffers
|
||||
|
||||
</DD>
|
||||
<DT><A NAME="foot3323">... package</A><A
|
||||
<DT><A NAME="foot3342">... package</A><A
|
||||
HREF="#tex2html15"><SUP><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]"
|
||||
SRC="/usr/share/latex2html/icons/footnote.png"></SUP></A></DT>
|
||||
<DD><TT>tools/vtiofsl/platform/crayxk6-iofwd.cf</TT>
|
||||
|
||||
</DD>
|
||||
<DT><A NAME="foot3324">... documentation</A><A
|
||||
<DT><A NAME="foot3343">... documentation</A><A
|
||||
HREF="#tex2html16"><SUP><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]"
|
||||
SRC="/usr/share/latex2html/icons/footnote.png"></SUP></A></DT>
|
||||
<DD>https://trac.mcs.anl.gov/projects/iofsl/wiki/ConfigurationFile
|
||||
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
@ -451,6 +451,10 @@ int OTF_File_seek( OTF_File* file, uint64_t pos ) {
|
||||
read= fread( file->zbuffer, 1, file->zbuffersize, file->file );
|
||||
*/
|
||||
read= OTF_File_read_internal( file, file->zbuffer, file->zbuffersize );
|
||||
if ( 0 == read ) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
OTF_FILE_Z(file)->next_in= file->zbuffer;
|
||||
OTF_FILE_Z(file)->avail_in= (uInt) read;
|
||||
|
@ -1138,16 +1138,20 @@ int OTF_RBuffer_searchTime( OTF_RBuffer* rbuffer, uint64_t time ) {
|
||||
else if ( time > timeB ) {
|
||||
/* consume all records, so that the caller get none */
|
||||
|
||||
if ( posB > rbuffer->jumpsize ) {
|
||||
posB -= rbuffer->jumpsize;
|
||||
} else {
|
||||
posB = 0;
|
||||
}
|
||||
ret= OTF_RBuffer_jump( rbuffer, posB );
|
||||
if ( 1 != ret ) {
|
||||
do {
|
||||
/* need to loop, so that OTF_RBuffer_jump finds the
|
||||
start of a zlib block */
|
||||
if ( posB > rbuffer->jumpsize ) {
|
||||
posB -= rbuffer->jumpsize;
|
||||
} else {
|
||||
posB = 0;
|
||||
}
|
||||
ret= OTF_RBuffer_jump( rbuffer, posB );
|
||||
} while ( 1 != ret );
|
||||
if ( posB == 0 && 1 != ret ) {
|
||||
|
||||
OTF_Error( "ERROR in function %s, file: %s, line: %i:\n "
|
||||
"unsuccessful jump to end pos= %llu.\n",
|
||||
"unsuccessful jump to begin pos= %llu.\n",
|
||||
__FUNCTION__, __FILE__, __LINE__, (unsigned long long) posB );
|
||||
|
||||
return 0;
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user