1 @c ----------------------------------------------------------------------------
2 @c This is the Texinfo source file for the gp-collect-app man page.
4 @c Author: Ruud van der Pas
5 @c ----------------------------------------------------------------------------
7 \input texinfo @c -*-texinfo-*-
8 @setfilename gprofng archive
9 @settitle Archive gprofng experiment data
10 @include gp-macros.texi
13 @c ----------------------------------------------------------------------------
14 @c This is from the man-pages(7) man page
16 @c "The list below shows conventional or suggested sections. Most manual pages
17 @c should include at least the highlighted sections. Arrange a new manual
18 @c page so that sections are placed in the order shown in the list."
22 @c CONFIGURATION [Normally only in Section 4]
24 @c OPTIONS [Normally only in Sections 1, 8]
25 @c EXIT STATUS [Normally only in Sections 1, 8]
26 @c RETURN VALUE [Normally only in Sections 2, 3]
27 @c ERRORS [Typically only in Sections 2, 3]
30 @c VERSIONS [Normally only in Sections 2, 3]
31 @c ATTRIBUTES [Normally only in Sections 2, 3]
36 @c AUTHORS [Discouraged]
37 @c REPORTING BUGS [Not used in man-pages]
38 @c COPYRIGHT [Not used in man-pages]
41 @c This is what the texi2pod.pl tool recognizes:
43 @c for $sect (qw(NAME SYNOPSIS TARGET DESCRIPTION OPTIONS ENVIRONMENT FILES
44 @c BUGS NOTES FOOTNOTES SEEALSO AUTHOR COPYRIGHT)) {
46 @c What is interesting is that it places "SEE ALSO" before "COPYRIGHT", which
47 @c makes sense and adhered to for the other formats.
48 @c ----------------------------------------------------------------------------
50 @c ----------------------------------------------------------------------------
52 @c ----------------------------------------------------------------------------
57 gprofng archive - Archive gprofng experiment data
62 @c ----------------------------------------------------------------------------
64 @c ----------------------------------------------------------------------------
66 @ManPageStart{SYNOPSIS}
69 @command{gprofng archive} [@var{option(s)}] @var{experiment}
74 @c ----------------------------------------------------------------------------
75 @c DESCRIPTION section
76 @c ----------------------------------------------------------------------------
78 @ManPageStart{DESCRIPTION}
79 @c man begin DESCRIPTION
81 Archive the associated application binaries and source files in a gprofng
82 experiment to make it self contained and portable.
84 By default, the binaries are archived, but the application source files
85 are not archived. Use this tool to change this and afterwards archive
86 additional components.
91 @c ----------------------------------------------------------------------------
93 @c ----------------------------------------------------------------------------
95 @ManPageStart{OPTIONS}
102 @IndexSubentry{Options, @code{--version}}
105 Print the version number and exit.
109 @IndexSubentry{Options, @code{--help}}
112 Print usage information and exit.
114 @c -- @item --verbose @{on|off@}
116 @c -- @IndexSubentry{Options, @code{--verbose}}
119 @c -- Enable (on) or disable (off) verbose mode; the default is @samp{off}.
121 @item -a @{off|on|ldobjects|src|usedldobjects|usedsrc@}
123 @IndexSubentry{Options, @code{-a}}
126 Specify archiving of binaries and other files. In addition to disable this
127 feature (off), or enable archiving off all loadobjects and sources (on),
128 the other op tions support a more refined selection.
130 All of these options enable archiving, but the keyword controls what exactly
131 is selected: all load objects (ldobjects), all source files (src), the
132 loadobjects asscoiated with a program counter (usedldobjects), or the source
133 files associated with a program counter (usedsrc).
134 The default is @samp{-a ldobjects}.
138 @IndexSubentry{Options, @code{-n}}
141 Archive the named experiment only, not any of its descendants.
145 @IndexSubentry{Options, @code{-m}}
148 Archive only those source, object, and debug info files whose full path name
149 matches the given POSIX compliant @var{regex} regular expression.
153 @IndexSubentry{Options, @code{-q}}
156 Do not write any warnings to stderr. Warnings are incorporated into the
157 .archive file in the experiment directory. They are shown in the output
158 of @command{gprofng display text}.
162 @IndexSubentry{Options, @code{-F}}
165 Force writing or rewriting of the archive. This is ignored with the
166 @samp{-n} or @samp{-m} option, or if this is a subexperiment.
170 @IndexSubentry{Options, @code{-d}}
173 The @var{path} is the absolute path path to a common archive, which is a
174 directory that contains archived files. If the directory does not
175 exist, then it will be created. Files are saved in the common archive
176 directory, and a symbolic link is created in the experiment archive.
183 @c ----------------------------------------------------------------------------
185 @c ----------------------------------------------------------------------------
190 Default archiving does not occur in case the application profiled terminates
191 prematurely, or if archiving is disabled when collecting the performance data.
192 In such cases, this tool can be used to afterwards archive the information,
193 but it has to be run on the same system where the profiling data was recorded.
195 Some Java applications store shared objects in jar files. By default, such
196 shared objects are not automatically archived. To archive shared objects
197 contained in jar files, the addpath directive in an .er.rc file. The addpath
198 directive should give the path to the jar file, including the jar file itself.
199 The .er.rc file should be saved in the user home directory or parent of the
200 experiment directory.
205 @c ----------------------------------------------------------------------------
207 @c ----------------------------------------------------------------------------
209 @ManPageStart{SEEALSO}
212 gprofng(1), gp-collect-app(1), gp-display-html(1), gp-display-src(1), gp-display-text(1)
214 The user guide for gprofng is maintained as a Texinfo manual. If the info
215 and gprofng programs are correctly installed, the command
216 @command{info gprofng} should give access to this document.
221 @c ----------------------------------------------------------------------------
223 @c ----------------------------------------------------------------------------
225 @ManPageStart{COPYRIGHT}
226 @c man begin COPYRIGHT
228 Copyright @copyright{} 2022-2023 Free Software Foundation, Inc.
230 Permission is granted to copy, distribute and/or modify this document
231 under the terms of the GNU Free Documentation License, Version 1.3
232 or any later version published by the Free Software Foundation;
233 with no Invariant Sections, with no Front-Cover Texts, and with no
234 Back-Cover Texts. A copy of the license is included in the
235 section entitled ``GNU Free Documentation License''.
240 @c ----------------------------------------------------------------------------
241 @c If this text is used for a man page, exit. Otherwise we need to continue.
242 @c ----------------------------------------------------------------------------