<?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 BTS not generating interrupt in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/BTS-not-generating-interrupt/m-p/1141911#M6649</link>
    <description>&lt;P&gt;I am working on BTS implementation in Linux driver.&lt;/P&gt;

&lt;P&gt;My BTS code is not generating any interrupt after crossing the threshold in debug store. Though the Counting method generates interrupt.&lt;/P&gt;

&lt;P&gt;So, I combined BTS and Counting methods. Inside the interrupt handler (interrupt generated when&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;IA32_PMC0 reaches 0),&lt;/SPAN&gt;&amp;nbsp;I can see the BTS Debug Store contents through ioctl.&lt;/P&gt;

&lt;P&gt;I was wondering if somebody could help me understand why is BTS not generating interrupts?&lt;/P&gt;

&lt;P&gt;Quick setup information:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;IA32_DS_AREA contains the debug store address.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;IA32_PMC0 contains the period value.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;PerfEvtSel0 contains the event&amp;nbsp; tracking in user mode, generating interrupt and is enabled.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;LBR_SELECT contains branch info I want to track.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;IA32_DEBUGCTL has BTINT, BTS, TR bits enabled.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Am I missing any step?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2018 00:20:48 GMT</pubDate>
    <dc:creator>Saraf__Richa</dc:creator>
    <dc:date>2018-02-21T00:20:48Z</dc:date>
    <item>
      <title>BTS not generating interrupt</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/BTS-not-generating-interrupt/m-p/1141911#M6649</link>
      <description>&lt;P&gt;I am working on BTS implementation in Linux driver.&lt;/P&gt;

&lt;P&gt;My BTS code is not generating any interrupt after crossing the threshold in debug store. Though the Counting method generates interrupt.&lt;/P&gt;

&lt;P&gt;So, I combined BTS and Counting methods. Inside the interrupt handler (interrupt generated when&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;IA32_PMC0 reaches 0),&lt;/SPAN&gt;&amp;nbsp;I can see the BTS Debug Store contents through ioctl.&lt;/P&gt;

&lt;P&gt;I was wondering if somebody could help me understand why is BTS not generating interrupts?&lt;/P&gt;

&lt;P&gt;Quick setup information:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;IA32_DS_AREA contains the debug store address.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;IA32_PMC0 contains the period value.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;PerfEvtSel0 contains the event&amp;nbsp; tracking in user mode, generating interrupt and is enabled.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;LBR_SELECT contains branch info I want to track.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;IA32_DEBUGCTL has BTINT, BTS, TR bits enabled.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Am I missing any step?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 00:20:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/BTS-not-generating-interrupt/m-p/1141911#M6649</guid>
      <dc:creator>Saraf__Richa</dc:creator>
      <dc:date>2018-02-21T00:20:48Z</dc:date>
    </item>
  </channel>
</rss>

