User Guide

  • 2020
  • 05/25/2022
  • Public Content

Build and Manage Energy Analysis Driver

Before running an energy analysis on a system, make the appropriate drivers are available on that system.
Energy analysis drivers for Windows* systems are pre-built as part of the Intel® SoC Watch package and require no further action.
Some energy analysis metrics may be available pre-installed with your Linux* or Android* operating system. Before installing any drivers, use the
option to generate a list of metrics available with the pre-installed drivers. For additional metrics, you can manually install the drivers available with the Intel SoC Watch package using the steps detailed below for either your Linux or Android target system. Once this step is completed, use the
option again and you should see an extended list including the additional metrics exposed by the provided drivers.

Install Drivers on a Linux* System

Intel SoC Watch uses the kernel driver to enable the energy analysis. The energy analysis driver, or Intel SoC Watch driver, is typically installed by default during the product installation. If the kernel on your Linux system is not one of the supported kernels listed in the Release Notes, you need to build and load the driver manually as follows:
Configure the Basic Software Environment
To compile the energy analysis driver, the target system must have the following software installed:
  • C compiler that was used to build the kernel and that is capable of compiling programs with anonymous structs/unions, for example, GCC* 2.96 or later.
  • Tools needed to build a C-based program, for example, GNU* make tool, native assembler, linker.
  • System headers, for example,
In addition, the kernel version must be 2.6.32 or later and must be configured with the following options enabled:
You can verify these options by checking the kernel config file (for example,
). Normally, these tools are installed, and kernel options are enabled, by default. However, administrators may remove/disable them from deployment systems, such as servers or embedded systems.
Build and (Re)Load the Driver
If the drivers are not installed or if the Intel SoC Watch executable requires a more recent version of the drivers then you will need to compile the drivers from source. To compile drivers from source, the kernel-headers package for the kernel running on the target machine must be installed. For instance, if your target device is running kernel version
then the package
must be installed.
To perform these steps, make sure you have root or sudo permissions.
  • For target systems with an Intel Atom® processor, change to the
    directory and compile the drivers:
    > cd /home/socwatch/socwatch_linux_v2_3_x86 > sh ./build-drivers -l -k <kernel-build-dir> -s <full-path-to-sign-file>
  • For target systems with an Intel® Core™ processor, change to the
    directory and compile the drivers:
    > cd /home/socwatch/socwatch_linux_v2_3_x86 > sh ./build-drivers -l -k <kernel-build-dir> -n -s <full-path-to-sign-file>
Detailed steps are available in the
Intel SoC Watch User's Guide for Linux* OS and Android* OS
, which can be found in the Intel SoC Watch package files located in the
subdirectory of the Intel System Studio installation directory or from

Install the Energy Analysis Collector on the Target Android System

  1. On the host, unzip the remote target package,
    , located, by default, in the
    subdirectory of the Intel® System Studio installation directory.
  2. Depending on the target operating system or Intel architecture, run the required install script:
    • socwatch_android_vx.x.x/socwatch_android_install.bat
      on a Windows host.
    • socwatch_android_vx.x.x/
      script on a Linux host or a Cygwin window on a Windows host.
    By default, the script installs the collector executables to the
    directory on the Android target system. Use the
    option to select a different install directory and the
    option to define a specific target device if multiple devices are connected to the host.
  • The
    option is not supported with
  • See the
    Intel SoC Watch User's Guide
    ), for detailed instructions on building and loading the Intel SoC Watch drivers for your target system, and instructions and tips for viewing the data directly on the target.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at