linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Question] Cannot sample lbr callchain on qemu-kvm guest machine
@ 2021-03-10  8:37 rainkin
  2021-03-29 18:23 ` Ian Rogers
  0 siblings, 1 reply; 2+ messages in thread
From: rainkin @ 2021-03-10  8:37 UTC (permalink / raw)
  To: linux-perf-users

Hello~

My config:
===============
Host:
CPU: i7-10700
Kernel (5.8.0-41-generic)
Ubuntu (20.10)
Qemu (5.0.0, Debian 1:5.0-5ubuntu9.6)
===============
Guest:
CPU: host-passthrough (qemu -cpu host,migratable=on)
Kernel: 5.4.0-66-generic
Ubuntu: 18.04
perf: 5.4.86
===============

I try to collect lbr callchain on a virtual machine.
Thus I execute the following commands on the virtual machine:
"sudo perf record -e cycles --call-graph lbr"
and get the following errors:
" cycles: PMU Hardware doesn't support sampling/overflow-interrupts.
Try 'perf stat' "

Does anyone know the reason?

Thanks
Rainkin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-29 18:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-10  8:37 [Question] Cannot sample lbr callchain on qemu-kvm guest machine rainkin
2021-03-29 18:23 ` Ian Rogers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).