<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Which perf-list events support Precise Event Based Sampling (PEBS) in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Which-perf-list-events-support-Precise-Event-Based-Sampling-PEBS/m-p/1198112#M7589</link>
    <description>&lt;P&gt;Two resources I read today said to postpend a p OR a pp preceded by a colon to the end of the event name.&amp;nbsp; Under what conditions do I use p and when do I use pp?&amp;nbsp; The articles did not say.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Aug 2020 21:28:46 GMT</pubDate>
    <dc:creator>Jones__Brian</dc:creator>
    <dc:date>2020-08-06T21:28:46Z</dc:date>
    <item>
      <title>Which perf-list events support Precise Event Based Sampling (PEBS)</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Which-perf-list-events-support-Precise-Event-Based-Sampling-PEBS/m-p/1198098#M7587</link>
      <description>&lt;P&gt;The Linux command perf list returns a long list of event names that I can use with the perf record command.&lt;/P&gt;
&lt;P&gt;The Intel SDM (Combined Volumes May 2020) has Tables 18-10, 18-12 and 18-25 that list certain events that are PEBS-enabled, but those events do not correspond directly to the event names returned by perf list.&lt;/P&gt;
&lt;P&gt;Many of the events returned by perf list say "This is a non-precise version (that is, does not use PEBS)." Two instructions (br_misp_retired.all_branches_pebs and br_misp_retired.all_branches_pebs) have "_pebs" postpended to their names. Can I assume that those events that do not say "This is a non-precise version (that is, does not use PEBS)" are PEBS-enabled?&lt;/P&gt;
&lt;P&gt;Is there a list of which events returned by perf list are PEBS-enabled?&lt;/P&gt;
&lt;P&gt;For those that are PEBS-enabled, is it also necessary to postpend p-colon or :pp to the event name when calling perf record?&amp;nbsp; Which events require colon-p and which events require :pp?&amp;nbsp; (Note I said p-colon because this system converts it to a frown face.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 21:21:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Which-perf-list-events-support-Precise-Event-Based-Sampling-PEBS/m-p/1198098#M7587</guid>
      <dc:creator>Jones__Brian</dc:creator>
      <dc:date>2020-08-06T21:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Which perf-list events support Precise Event Based Sampling (PEBS)</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Which-perf-list-events-support-Precise-Event-Based-Sampling-PEBS/m-p/1198104#M7588</link>
      <description>&lt;P&gt;PEBS stands for "processor event-based sampling" since 2016. See: &lt;A title="What is the difference between processor event based sampling and precise event based sampling?" href="https://community.intel.com/t5/Software-Tuning-Performance/What-is-the-difference-between-processor-event-based-sampling/td-p/1143375" target="_self"&gt;https://community.intel.com/t5/Software-Tuning-Performance/What-is-the-difference-between-processor-event-based-sampling/td-p/1143375&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Modern versions of perf list show Intel event names in addition to perf event names (just scroll down a little bit beyond perf event names). The Intel event names are same names mentioned in the Intel manual and perf implements direct mapping between them.&lt;/P&gt;
&lt;P&gt;It's not clear to me whether you're interested in events that support PEBS or events that support precise sampling, which are a subset of events that support PEBS. Either way, the Intel SDM Volume 3 distinguishes between the two. Events that support precise sampling are described as such in the "comment" column in the event tables.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 20:47:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Which-perf-list-events-support-Precise-Event-Based-Sampling-PEBS/m-p/1198104#M7588</guid>
      <dc:creator>HadiBrais</dc:creator>
      <dc:date>2020-08-06T20:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Which perf-list events support Precise Event Based Sampling (PEBS)</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Which-perf-list-events-support-Precise-Event-Based-Sampling-PEBS/m-p/1198112#M7589</link>
      <description>&lt;P&gt;Two resources I read today said to postpend a p OR a pp preceded by a colon to the end of the event name.&amp;nbsp; Under what conditions do I use p and when do I use pp?&amp;nbsp; The articles did not say.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 21:28:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Which-perf-list-events-support-Precise-Event-Based-Sampling-PEBS/m-p/1198112#M7589</guid>
      <dc:creator>Jones__Brian</dc:creator>
      <dc:date>2020-08-06T21:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Which perf-list events support Precise Event Based Sampling (PEBS)</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Which-perf-list-events-support-Precise-Event-Based-Sampling-PEBS/m-p/1198117#M7590</link>
      <description>&lt;P&gt;The p event modifier is document at &lt;A title="perf list" href="https://man7.org/linux/man-pages/man1/perf-list.1.html" target="_self"&gt;https://man7.org/linux/man-pages/man1/perf-list.1.html&lt;/A&gt;. It determines the precision level of the instruction pointer recorded in the samples. Usually, you want the maximum supported precision level. This depends on the microarchitecture, the event, and the perf version. If you specify a precision level that is not supported, no samples will be captured. In general, you can just use the P modifier (capital p) and let perf choose the maximum supported precision level. The P modifier only works on events that support precise sampling. Refer to the Intel SDM Volume 3 to determine which events support precise sampling. If the P modifier is appended to event that doesn't support precise sampling, no samples will be captured.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 21:51:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Which-perf-list-events-support-Precise-Event-Based-Sampling-PEBS/m-p/1198117#M7590</guid>
      <dc:creator>HadiBrais</dc:creator>
      <dc:date>2020-08-06T21:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Which perf-list events support Precise Event Based Sampling (PEBS)</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Which-perf-list-events-support-Precise-Event-Based-Sampling-PEBS/m-p/1198120#M7591</link>
      <description>&lt;P&gt;To follow up, when I run perf list -d -v --details &amp;gt; perf_list_detailed.txt I now get 50 events that are marked "Precise event" and 12 events that are marked "Must be precise."&amp;nbsp; Those appear to be the events I need.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 22:17:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Which-perf-list-events-support-Precise-Event-Based-Sampling-PEBS/m-p/1198120#M7591</guid>
      <dc:creator>Jones__Brian</dc:creator>
      <dc:date>2020-08-06T22:17:52Z</dc:date>
    </item>
  </channel>
</rss>

