Quantcast
Channel: Intel Developer Zone Articles
Viewing all articles
Browse latest Browse all 3384

How to import perf data in VTune amplifier XE

$
0
0


Intel(R) VTune(TM) Amplifier XE  supports importing of *.perf files. (You can also use the import action to import VTune Amplifier *.tb5/*.tb6*/*.perf/*.csv/*.sw1/*.sww1/*.ww1 data collection files and convert them into a result.)

Please notice the prerequisites for importing a *.perf file.
Run the Perf collection with the predefined command line options:
• For application analysis:
          >perf record -o <trace_file_name>.perf --call-graph dwarf -e cpu-cycles,instructions <application_to_launch>
• For process analysis:
          >perf record -o <trace_file_name>.perf --call-graph dwarf -e cpu-cycles,instructions <application_to_launch> -p <PID> sleep 15
 
     where the -e option is used to specify a list of events to collect as -e <list of events>; --call-graph option (optional) configures samples to be collected together with the thread call stack at the moment a sample is taken.
     See Linux Perf documentation on possible call stack collection options (for example, dwarf) and its availability in different OS kernel versions.

You can collect performance data remotely with the Intel® VTune™ Amplifier collectors (for example, SEP collector or Intel SoC Watch collector) or Linux* Perf* collector, import this data to the VTune Amplifier project, and view the data in the graphical or command line interface.

More details are in the "Importing Results in the VTune Amplifier GUI" and "Importing Results from the Command Line" article of the VTune help.

 


Viewing all articles
Browse latest Browse all 3384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>