<?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 CLI:  vtune does not accept the event-config modifiers in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205715#M19319</link>
    <description>&lt;P&gt;Hi Alexey,&lt;/P&gt;
&lt;P&gt;Thank you for your response.&lt;/P&gt;
&lt;P&gt;In regards to support of "sep" event modifiers (in the driverless mode) I came also to the same conclusion while seeing this perfcmd file:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bernard_0-1598946604179.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/12487i8121C1F27DE8F56A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Bernard_0-1598946604179.png" alt="Bernard_0-1598946604179.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Currently I'm not interested in mapping the events to their machine code instruction triggers, so I would like to skip over "pdir" modifier.&amp;nbsp; The real problem now is the way to enforce only user mode counting because kernel mode count pollutes the results (out code runs in user mode address space).&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;&amp;gt;However collection of events in user space only should work.&amp;gt;&amp;gt;&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Is there any possibility to enforce the "u" modifier in driverless mode? I can not use SEP driver now and our script calls vtune to profile the test module.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;--Bernard&lt;/P&gt;</description>
    <pubDate>Tue, 01 Sep 2020 08:01:58 GMT</pubDate>
    <dc:creator>Bernard</dc:creator>
    <dc:date>2020-09-01T08:01:58Z</dc:date>
    <item>
      <title>VTune CLI:  vtune does not accept the event-config modifiers</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205476#M19310</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm using VTune CLI to run custom 'runsa' analysis on our remote SkyLake server. The collector is a perf driverless. VTune seems to reject the custom event-config modifiers. By inspecting the contents of "perfcmd", "sep.events", "map.events" it is clear that default modifiers are used by the perf collector. It is not clear which program is responsible for that. There is no warning message.&lt;/P&gt;
&lt;P&gt;Secondly I'm interested only in user mode counting and by looking at the perfcmd file the "uk" modifier is appended to perf raw event, beside that&amp;nbsp; it is not clear if&amp;nbsp; sep "pdir" modifier is a directly translated to perf "ppp" highest level of skid reduction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The vtune cli is launched by the python script and here the arguments (copied from vtune log)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;/opt/intel/vtune_profiler/bin64/vtune -finalization-mode=none -target-pid=24851 -r /tmp/vtune_data -collect-with runsa -knob event-config=CPU_CLK_UNHALTED.THREAD:sa=1000000:OS=no CPU_CLK_UNHALTED.REF_TSC:sa=1000000:OS=no INST_RETIRED.ANY:sa=100000:OS=no INST_RETIRED.PREC_DIST:sa=100000:OS=no:pdir CPU_CLK_UNHALTED.REF_XCLK:sa=50000:OS=no CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE:sa=1000000:OS=no CPU_CLK_UNHALTED.THREAD_P:sa=1000000:OS=no UOPS_RETIRED.RETIRE_SLOTS:sa=1000000:OS=no:pdir FP_ARITH_INST_RETIRED.SCALAR_SINGLE:sa=100000:OS=no:pdir FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE:sa=100000:OS=no:pdir FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE:sa=100000:OS=no:pdir FP_ARITH_INST_RETIRED.SCALAR_DOUBLE:sa=100000:OS=no:pdir FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE:sa=100000:OS=no:pdir FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE:sa=100000:OS=no:pdir UOPS_EXECUTED.X87:sa=100000:OS=no:pdir UOPS_EXECUTED.THREAD:sa=100000:OS=no FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE:sa=100000:OS=no:pdir FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE:sa=100000:OS=no:pdir -knob enable-stack-collection=true -knob stack-size=0 -knob sampling-interval=0.01 -data-limit=5000&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the content of python script used to launch vtune.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bernard_0-1598880751261.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/12483i55D85DC5B5B5681C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Bernard_0-1598880751261.png" alt="Bernard_0-1598880751261.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I attached aforementioned sep,perfcmd and map files.&lt;/P&gt;
&lt;P&gt;Thank you for your help&lt;/P&gt;
&lt;P&gt;--Bernard&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 13:41:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205476#M19310</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2020-08-31T13:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: VTune CLI:  vtune does not accept the event-config modifiers</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205480#M19311</link>
      <description>&lt;P&gt;Hi, Bernard.&lt;/P&gt;
&lt;P&gt;there is mistake in your python script. You splitted events row but it must be as one line.&lt;/P&gt;
&lt;P&gt;'-knob event-config=EVENT1,EVENT2,....EVENTN'&lt;/P&gt;
&lt;P&gt;Kirill&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 13:58:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205480#M19311</guid>
      <dc:creator>Kirill_U_Intel</dc:creator>
      <dc:date>2020-08-31T13:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: VTune CLI:  vtune does not accept the event-config modifiers</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205482#M19312</link>
      <description>&lt;P&gt;Hi Kirill,&lt;/P&gt;
&lt;P&gt;The script was written by someone else, I only added the custom events.&lt;/P&gt;
&lt;P&gt;Will ordering the events in single line fix the issues described in my question?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;--Bernard&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 14:08:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205482#M19312</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2020-08-31T14:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: VTune CLI:  vtune does not accept the event-config modifiers</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205491#M19313</link>
      <description>&lt;P&gt;Hi Kirill,&lt;/P&gt;
&lt;P&gt;I quickly rearranged the events into the single line and got the same result as the previous one. Only two events are collected and their modifiers are the default one.&lt;/P&gt;
&lt;P&gt;I do not know if this is the issue of the script (I'm not a Python programmer).&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 14:36:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205491#M19313</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2020-08-31T14:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: VTune CLI:  vtune does not accept the event-config modifiers</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205492#M19314</link>
      <description>&lt;P&gt;Could you share how the scripts looks now? Full line must be in one pair quotes&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 14:38:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205492#M19314</guid>
      <dc:creator>Kirill_U_Intel</dc:creator>
      <dc:date>2020-08-31T14:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: VTune CLI:  vtune does not accept the event-config modifiers</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205529#M19315</link>
      <description>&lt;P&gt;I'm not in front of my development machine now.&lt;/P&gt;
&lt;P&gt;In regards to your question -- the full line was not inside of the single quotes pair. Tomorrow I will correct it and rerun the test. I hope, that correct modifiers will be passed to perf. I will keep you informed.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 16:49:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205529#M19315</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2020-08-31T16:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: VTune CLI:  vtune does not accept the event-config modifiers</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205556#M19316</link>
      <description>&lt;P&gt;Hi Bernard,&lt;/P&gt;
&lt;P&gt;Support of custom event modifiers for driverless Perf based collection is currently limited. However collection of events in user space only should work. pdir modifier is not yet supported.&lt;/P&gt;
&lt;P&gt;perfcmd file is generated just for the reference so a user could copy, paste, modify and then collect perf data using system Perf tool and then import collected data file into VTune GUI for further analysis.&lt;/P&gt;
&lt;P&gt;-Alexei&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 19:10:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205556#M19316</guid>
      <dc:creator>Alexey_B_Intel</dc:creator>
      <dc:date>2020-08-31T19:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: VTune CLI:  vtune does not accept the event-config modifiers</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205715#M19319</link>
      <description>&lt;P&gt;Hi Alexey,&lt;/P&gt;
&lt;P&gt;Thank you for your response.&lt;/P&gt;
&lt;P&gt;In regards to support of "sep" event modifiers (in the driverless mode) I came also to the same conclusion while seeing this perfcmd file:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bernard_0-1598946604179.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/12487i8121C1F27DE8F56A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Bernard_0-1598946604179.png" alt="Bernard_0-1598946604179.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Currently I'm not interested in mapping the events to their machine code instruction triggers, so I would like to skip over "pdir" modifier.&amp;nbsp; The real problem now is the way to enforce only user mode counting because kernel mode count pollutes the results (out code runs in user mode address space).&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;&amp;gt;However collection of events in user space only should work.&amp;gt;&amp;gt;&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Is there any possibility to enforce the "u" modifier in driverless mode? I can not use SEP driver now and our script calls vtune to profile the test module.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;--Bernard&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 08:01:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205715#M19319</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2020-09-01T08:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: VTune CLI:  vtune does not accept the event-config modifiers</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205732#M19320</link>
      <description>&lt;P&gt;You can adjust "Event mode" knob in the custom analysis configuration setting it to USER.&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;In the command line&amp;nbsp;-knob event-mode=user can be used to count events in user space only.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;-Alexei&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 08:56:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205732#M19320</guid>
      <dc:creator>Alexey_B_Intel</dc:creator>
      <dc:date>2020-09-01T08:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: VTune CLI:  vtune does not accept the event-config modifiers</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205763#M19323</link>
      <description>&lt;P&gt;Hi Alexey&lt;/P&gt;
&lt;P&gt;Thank you for the help&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;--Bernard&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 11:11:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1205763#M19323</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2020-09-01T11:11:51Z</dc:date>
    </item>
    <item>
      <title>Re:VTune CLI:  vtune does not accept the event-config modifiers</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1206101#M19330</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the confirmation. We would discontinue monitoring this issue.Please raise a new thread if you have further issues.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Sep 2020 12:56:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-CLI-vtune-does-not-accept-the-event-config-modifiers/m-p/1206101#M19330</guid>
      <dc:creator>JananiC_Intel</dc:creator>
      <dc:date>2020-09-02T12:56:05Z</dc:date>
    </item>
  </channel>
</rss>

