lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <60F96A3F.3030703@huawei.com>
Date:   Thu, 22 Jul 2021 20:53:19 +0800
From:   Liuxiangdong <liuxiangdong5@...wei.com>
To:     <lingshan.zhu@...el.com>, <like.xu.linux@...il.com>
CC:     <ak@...ux.intel.com>, <boris.ostrvsky@...cle.com>, <bp@...en8.de>,
        <eranian@...gle.com>, <jmattson@...gle.com>, <joro@...tes.org>,
        <kan.liang@...ux.intel.com>, <kvm@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>, <liuxiangdong5@...wei.com>,
        <pbonzini@...hat.com>, <peterz@...radead.org>, <seanjc@...gle.com>,
        <vkuznets@...hat.com>, <wanpengli@...cent.com>,
        <wei.w.wang@...el.com>, <x86@...nel.org>,
        Xiexiangyou <xiexiangyou@...wei.com>,
        "Fangyi (Eric)" <eric.fangyi@...wei.com>
Subject: Re: [PATCH V8 00/18] KVM: x86/pmu: Add *basic* support to enable
 guest PEBS via DS

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ