The perf-kvm --guestmount option fails.

Solution In Progress - Updated -

Issue

  • The man page of perk-kvm introduces 'perf kvm record' command like below:
SYNOPSIS                                                                 
       perf kvm [--host] [--guest] [--guestmount=<path>                    
               [--guestkallsyms=<path> --guestmodules=<path> | --guestvmlinux=<path>]]
               {top|record|report|diff|buildid-list}                                  
       perf kvm [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path>      
               | --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat}    
  • Actually, after we execute command:
perf kvm --guest \                              
                                  --guestkallsyms=/tmp/guest.kallsyms                 
                                  --guestmodules=/tmp/guest.modules record            
                                  -a                                                  
                                  -o /tmp/perf.data sleep 60 

No buildid information was recorded in /tmp/perf.data
- "perf buildid-list -i /tmp/perf.data" shows nothing.
- Is this behavior either a bug of perf or a bug of manual?

Environment

  • Red Hat Enterprise Linux Version 6.5 (beta)
  • perf-2.6.32-420.el6.x86_64
  • qemu-kvm-0.12.1.2-2.406.el6.x86_64
  • libvirt-0.10.2-27.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content