<?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:Vtune driver vtss.sys breaks CPU Sampling with ETW in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Vtune-driver-vtss-sys-breaks-CPU-Sampling-with-ETW/m-p/1396344#M22333</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for posting in Intel Forum.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In order to try from our end, we need a sample reproducer. Could you share the reproducer with us?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For your information, we have four vtune drivers like socperf3, sep5,socwatch and vtsspp. To disable the vtune driver you can go to "/opt/intel/oneapi/vtune/2022.3.0/sepdk/src" path where you can find all four driver directories and give "./rmmod-" to remove the driver. For example, if you want remove socperf3 do the following.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;cd /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socperf/src&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;./rmmod-socperf&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Janani Chandran&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 29 Jun 2022 06:19:07 GMT</pubDate>
    <dc:creator>JananiC_Intel</dc:creator>
    <dc:date>2022-06-29T06:19:07Z</dc:date>
    <item>
      <title>Vtune driver vtss.sys breaks CPU Sampling with ETW</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-driver-vtss-sys-breaks-CPU-Sampling-with-ETW/m-p/1395568#M22325</link>
      <description>&lt;P&gt;Is this a known issue that VTune breaks CPU sample collection data once it becomes active?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;\SystemRoot\system32\drivers\vtss.sys&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See attached Screenshot of WPA and ETWAnalyzer which shows that the last sample was provided by driver vtss.sys which correlates with 0 CPU samples afterwards.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there an easy way to disable this driver without uninstalling vtune? Is this a known issue?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried to&amp;nbsp;change the key ImagePath in Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vtss&lt;/P&gt;
&lt;P&gt;but that did not prevent the driver from loading.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Siemens-Healthineers/ETWAnalyzer" target="_self"&gt;ETWAnalyzer&lt;/A&gt; is a tool to query ETW data which has some pretty powerful analysis capabilities.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The query sorts all methods shown in CPU sampling/CSwitch data by their first occurrence in profiling data for the system process. -fld s shows first last duration where additionally the first time in s since trace start is shown.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 06:26:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-driver-vtss-sys-breaks-CPU-Sampling-with-ETW/m-p/1395568#M22325</guid>
      <dc:creator>Alois</dc:creator>
      <dc:date>2022-06-27T06:26:00Z</dc:date>
    </item>
    <item>
      <title>Re:Vtune driver vtss.sys breaks CPU Sampling with ETW</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-driver-vtss-sys-breaks-CPU-Sampling-with-ETW/m-p/1396344#M22333</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for posting in Intel Forum.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In order to try from our end, we need a sample reproducer. Could you share the reproducer with us?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For your information, we have four vtune drivers like socperf3, sep5,socwatch and vtsspp. To disable the vtune driver you can go to "/opt/intel/oneapi/vtune/2022.3.0/sepdk/src" path where you can find all four driver directories and give "./rmmod-" to remove the driver. For example, if you want remove socperf3 do the following.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;cd /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socperf/src&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;./rmmod-socperf&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Janani Chandran&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jun 2022 06:19:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-driver-vtss-sys-breaks-CPU-Sampling-with-ETW/m-p/1396344#M22333</guid>
      <dc:creator>JananiC_Intel</dc:creator>
      <dc:date>2022-06-29T06:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Vtune driver vtss.sys breaks CPU Sampling with ETW</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-driver-vtss-sys-breaks-CPU-Sampling-with-ETW/m-p/1396513#M22339</link>
      <description>&lt;P&gt;I think you are giving hints how to remove the drivers on Linux. ETW (Event Tracing for Windows) is a Windows only thing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would need some hints how to prevent loading the driver on Windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To reproduce&lt;/P&gt;
&lt;P&gt;1. Install VTune on Windows&lt;/P&gt;
&lt;P&gt;2. Enable a boot recording with WPR (an older version is part of Windows) on an elevated cmd shell&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; wpr -addboot CPU -filemode&lt;/P&gt;
&lt;P&gt;3. Reboot&lt;/P&gt;
&lt;P&gt;4. Login again and execute on an elevated cmd shell&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;wpr -boottrace -stopboot c:\temp\VTuneBreaksETWProfiling.etl -skippdbgen&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5. Open generated ETL file in Windows Performance Analyzer which comes e.g. with Windows 11 SDK as part of the Windows Performance Toolkit.&amp;nbsp; Check&amp;nbsp;&lt;A href="https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/" target="_blank"&gt;https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/&lt;/A&gt;&amp;nbsp;to either use the installer and select in the installer only Windows Performance Toolkit.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you get an error while stopping: Cannot change thread mode after it has been set you need to use the newer wpr from the Windows 11 SDK. If you type where wpr you can see which one comes first and change the order in the PATH environment to ensure that the newer one is picked first, or you fully qualify the exe:&amp;nbsp;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\wpr.exe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 17:53:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-driver-vtss-sys-breaks-CPU-Sampling-with-ETW/m-p/1396513#M22339</guid>
      <dc:creator>Alois</dc:creator>
      <dc:date>2022-06-29T17:53:08Z</dc:date>
    </item>
    <item>
      <title>Re:Vtune driver vtss.sys breaks CPU Sampling with ETW</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-driver-vtss-sys-breaks-CPU-Sampling-with-ETW/m-p/1405904#M22424</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sorry for keeping you waiting.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We could see this vtss.sys file in “C:\Program Files (x86)\Intel\oneAPI\vtune\2022.2.0\bin64\sepdrv” path.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When we&amp;nbsp;run “amplxe-sepreg.exe -i” command ,after removing or moving vtss.sys from that particular path vtsspp is not loaded. Also after this when we run self-checker we found vtsspp driver disabled.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you try this above workaround and let us know?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Janani Chandran&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Aug 2022 06:09:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-driver-vtss-sys-breaks-CPU-Sampling-with-ETW/m-p/1405904#M22424</guid>
      <dc:creator>JananiC_Intel</dc:creator>
      <dc:date>2022-08-04T06:09:29Z</dc:date>
    </item>
    <item>
      <title>Re:Vtune driver vtss.sys breaks CPU Sampling with ETW</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-driver-vtss-sys-breaks-CPU-Sampling-with-ETW/m-p/1407560#M22452</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Is your issue resolved? Do you have any update?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Janani Chandran&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Aug 2022 09:20:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-driver-vtss-sys-breaks-CPU-Sampling-with-ETW/m-p/1407560#M22452</guid>
      <dc:creator>JananiC_Intel</dc:creator>
      <dc:date>2022-08-11T09:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Vtune driver vtss.sys breaks CPU Sampling with ETW</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-driver-vtss-sys-breaks-CPU-Sampling-with-ETW/m-p/1407866#M22455</link>
      <description>&lt;P&gt;I have renamed the driver in the Windows folder&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; C:\Windows\System32\drivers&amp;gt;move vtss.sys vtss.sys_orig&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That did work. I did not dare to do this initially since I did not want to get a blue screen when windows no longer boots due to a missing driver. ETW Boot Trace Profiling is then working with CPU sampling.&lt;/P&gt;
&lt;P&gt;To get the driver back to work again I can use your command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;"C:\Program Files (x86)\Intel\oneAPI\vtune\2022.2.0\bin64\amplxe-sepreg.exe" -i&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Warning, socperf3 driver is already installed and will be re-used... skipping&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Installing and starting sepdrv5...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OK&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Installing and starting sepdal...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OK&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Installing and starting VTSS++ driver...OK&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I get the driver back. That is a workable solution to get both profilers happy, also during boot trace.&amp;nbsp; Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 08:34:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-driver-vtss-sys-breaks-CPU-Sampling-with-ETW/m-p/1407866#M22455</guid>
      <dc:creator>Alois</dc:creator>
      <dc:date>2022-08-12T08:34:59Z</dc:date>
    </item>
    <item>
      <title>Re:Vtune driver vtss.sys breaks CPU Sampling with ETW</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-driver-vtss-sys-breaks-CPU-Sampling-with-ETW/m-p/1407890#M22460</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Glad to know that your issue is resolved. Thanks for sharing the solution with us. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Janani Chandran&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2022 09:27:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-driver-vtss-sys-breaks-CPU-Sampling-with-ETW/m-p/1407890#M22460</guid>
      <dc:creator>JananiC_Intel</dc:creator>
      <dc:date>2022-08-12T09:27:07Z</dc:date>
    </item>
  </channel>
</rss>

