Intel® VTune™ Profiler

User Guide

ID 766319
Date 3/22/2024
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-kallsyms

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

GUI Equivalent

Guest OS /proc/kallsyms option in the WHAT pane

Syntax

-kvm-guest-kallsyms=<string>

Arguments

A string containing the PATH, for example: /home/<user>/[guest]/<kvm kallsyms path>.

Actions Modified

collect, collect-with

Description

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

Example

Enable a custom hardware event-based sampling collection for the KVM guest OS and collect irq, softirq, workq, and kvm FTrace* events:

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]/kvm.kallsyms -kvm-guest-modules=/home/vtune/[guest]/kvm.modules --search-dir sym:p=/home/vtune/ --target-pid 9791