Re: [PATCH V8 00/18] KVM: x86/pmu: Add *basic* support to enable guest PEBS via DS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH V8 00/18] KVM: x86/pmu: Add *basic* support to enable guest PEBS via DS
- From: Liuxiangdong <liuxiangdong5@xxxxxxxxxx>
- Date: Thu, 22 Jul 2021 20:53:19 +0800
- Cc: <ak@xxxxxxxxxxxxxxx>, <boris.ostrvsky@xxxxxxxxxx>, <bp@xxxxxxxxx>, <eranian@xxxxxxxxxx>, <jmattson@xxxxxxxxxx>, <joro@xxxxxxxxxx>, <kan.liang@xxxxxxxxxxxxxxx>, <kvm@xxxxxxxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx>, <liuxiangdong5@xxxxxxxxxx>, <pbonzini@xxxxxxxxxx>, <peterz@xxxxxxxxxxxxx>, <seanjc@xxxxxxxxxx>, <vkuznets@xxxxxxxxxx>, <wanpengli@xxxxxxxxxxx>, <wei.w.wang@xxxxxxxxx>, <x86@xxxxxxxxxx>, Xiexiangyou <xiexiangyou@xxxxxxxxxx>, "Fangyi (Eric)" <eric.fangyi@xxxxxxxxxx>
- In-reply-to: <20210716085325.10300-1-lingshan.zhu@intel.com>
- References: <20210716085325.10300-1-lingshan.zhu@intel.com>
- User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
Hi,like and lingshan.
We can use pebs on the Icelake by using "perf record -e $event:pp", but
how can we get all the supported $event for the Icelake?
Because it seems like that all the hardware event/software event/kernel
pmu event listed by "perf list" can use ":pp" without error.
By quering events list for Icelake("https://perfmon-events.intel.com/),
we can use "perf record -e cpu/event=0xXX,unask=0xXX/pp"
to enable sampling. There are some events with "PEBS:
[PreciseEventingIP]" in "Additional Info" column. Are they the only
supported
precise events? Do those events which have "PEBS:[NonPreciseEventingIP]"
in last column support PEBS?
Thanks,
Xiangdong Liu
[Index of Archives]
[KVM ARM]
[KVM ia64]
[KVM ppc]
[Virtualization Tools]
[Spice Development]
[Libvirt]
[Libvirt Users]
[Linux USB Devel]
[Linux Audio Users]
[Yosemite Questions]
[Linux Kernel]
[Linux SCSI]
[XFree86]