The oparchive utility generates a directory populated with executable, debug, and oprofile sample files. This directory can be moved to another machine via tar and analyzed without further use of the data collection machine.
The following command would collect the sample files, the executables
associated with the sample files, and the debuginfo files associated
with the executables and copy them into
/tmp/current_data:
# oparchive -o /tmp/current_data |
--help / -? / --usage
Show help message.
--exclude-dependent / -x
Do not include application-specific images for libraries, kernel modules and the kernel. This option only makes sense if the profile session used --separate.
--image-path / -p [paths]
Comma-separated list of additional paths to search for binaries. This is needed to find modules in kernels 2.6 and upwards.
--root / -R [path]
A path to a filesystem to search for additional binaries.
--output-directory / -o [directory]
Output to the given directory. There is no default. This must be specified.
--list-files / -l
Only list the files that would be archived, don't copy them.
--verbose / -V [options]
Give verbose debugging output.
--version / -v
Show version.