User Guide

Intel® VTune™ Profiler User Guide

ID 766319
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

kvm-guest-modules

Specify a local path to the /proc/modules file copied from the guest system.

GUI Equivalent

Guest OS /proc/modules option in the WHAT pane

Syntax

-kvm-guest-modules=<string>

Arguments

A string containing the PATH, for example: /home/<user>/<guest mount path>/<kvm modules path>.

Actions Modified

collect, collect-with

Description

Specify a local path to the /proc/modules file copied from the guest OS for proper finalization.

Example

Enable a custom hardware event-based sampling collection for the KVM guest OS mounted to the /home/vtune/guest_mount directory:

vtune -collect-with runsa -knob event-config=CPU_CLK_UNHALTED.REF_TSC:sa=3500000,CPU_CLK_UNHALTED.THREAD:sa=3500000,INST_RETIRED.ANY:sa=3500000 –knob enable-stack-collection=true -knob ftrace-config=irq,softirq,workq,kvm-analyze-kvm-guest -kvm-guest-kallsyms=/home/vtune/guest_mount/kvm.kallsyms -kvm-guest-modules=/home/vtune/guest_mount/kvm.modules --search-dir sym:p=/home/vtune/ --target-pid 9791