User Guide

Contents

Set Up FreeBSD* System

Intel® VTune™
Profiler
allows you to collect performance data remotely on a FreeBSD* target system.
Intel® VTune™
Profiler
includes a target package for collecting event-based sampling data on a FreeBSD* target system either via the remote collection capability or by collecting the results locally on the FreeBSD system and copying them to a Linux*, Windows*, or macOS* host system. The collected data is then displayed on a host system that supports the graphical interface.
  1. Install
    VTune
    Profiler
    on your Linux, Windows, or macOS host.
    Refer to the Installation Guide for your host system for detailed instructions.
  2. Install the appropriate sampling drivers on the FreeBSD target system. Use the
    <vtune-install-dir>
    /target/freebsd/vtune_
    profiler
    _target_x86_64.tgz
    file for analysis using
    VTune
    Profiler
    or the
    <vtune-install-dir>
    /target/freebsd/vtune_
    profiler
    _target_sep_x86_64.tgz
    file for analysis using the sampling enabling product (SEP) collectors.
  3. Collect performance data using one of the following methods. For more information about each of these methods, see .
    • Remote analysis from the host system using the
      VTune
      Profiler
      command line or GUI.
    • Native analysis on the target system using the
      VTune
      Profiler
      command line.
    • Native analysis on the target system using the SEP collectors.
  4. Review the results on the host system.

Install the Sampling Drivers on FreeBSD

Use the following steps to configure your FreeBSD target system for event-based sampling analysis. Root privileges are required on the target system to install the
VTune
Profiler
drivers.
  1. Copy the
    <vtune-install-dir>
    /target/freebsd/vtune_
    profiler
    _target_x86_64.tgz
    file to the target system using ftp, sftp, or scp.
  2. Extract the archive to the
    /opt/intel
    directory on the target system.
  3. Navigate to the following location:
    /opt/intel/sepdk/modules
  4. Run the following commands to build the appropriate drivers:
    $ make $ make install
  5. Run the following command to install the drivers:
    $ kldload sep pax
Allow non-root users to run an event-based sampling analysis by running the following commands after installing the drivers:
$ chgrp -R <user_group> /dev/pax $ chgrp -R <user_group> /dev/sep

Remove the Sampling Drivers from FreeBSD

Run the following command to unload the sampling drivers:
$ kldunload sep pax

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804