<?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:How to launch an application in vtune as a NON root user in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1295865#M20897</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;     Thanks for your confirmation. We no longer will be monitoring this thread. If you have any query you can post a new question.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 05 Jul 2021 05:35:31 GMT</pubDate>
    <dc:creator>RahulU_Intel</dc:creator>
    <dc:date>2021-07-05T05:35:31Z</dc:date>
    <item>
      <title>How to launch an application in vtune as a NON root user</title>
      <link>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1289629#M20660</link>
      <description>&lt;P&gt;-I am using vtune on windows machine and accessing a remote linux machine as a non root user.&lt;/P&gt;
&lt;P&gt;-I have to invoke my process with sudo access.&lt;/P&gt;
&lt;P&gt;-Tried to launch the application by giving "Application" as 'sudo' and 'Application parameters' as&amp;nbsp;/home/temp_run.sh(This is the script which invokes the application that needs analysis.&lt;/P&gt;
&lt;P&gt;-With this configuration I am getting error as could not instrument process. &lt;STRONG&gt;need execute and read access&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;env variable&amp;nbsp;/proc/sys/kernel/perf_event_paranoid is set to -1&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;- Kindly let me know how to run vtune analysis for the process that is running as a root level access and I am ssh'ed into the linux machine as a non root user.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/17490i67C55C2ADC58CD98/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="Capture2.JPG" alt="Capture2.JPG" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 13:16:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1289629#M20660</guid>
      <dc:creator>Tahir_S</dc:creator>
      <dc:date>2021-06-14T13:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch an application in vtune as a NON root user</title>
      <link>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1289968#M20666</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for posting in Intel Forums. Can you try running the application as process and you can use the "Attach to Process" as Analyze target option. You can start your application separately with root privileges and once your application is running Provide the process name or PID and try the analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For further details :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-project/analysis-target/analysis-target-options.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-project/analysis-target/analysis-target-options.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Analyze Target Option" style="width: 802px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/17525i31EC55B6FE25BB2C/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot (176).png" alt="Analyze Target Option" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Analyze Target Option&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Remote Linux (SSH)" style="width: 812px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/17526iF95188AAE4432211/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot (177).png" alt="Remote Linux (SSH)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Remote Linux (SSH)&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 11:54:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1289968#M20666</guid>
      <dc:creator>RahulU_Intel</dc:creator>
      <dc:date>2021-06-15T11:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch an application in vtune as a NON root user</title>
      <link>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1290013#M20668</link>
      <description>&lt;P&gt;Thank you very much for your reply!&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I did try attaching to a already running process before posting, even that does not work.&lt;/LI&gt;
&lt;LI&gt;If Process is running with root privilege, and vtune is non root. Collection fails.&lt;/LI&gt;
&lt;LI&gt;if I try to get vtune analysis on some other Non root privilege process. vtune collects samples and provides analysis.&lt;/LI&gt;
&lt;LI&gt;But in our case the process we are interested in always has to run with root privilege&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;/proc/sys/kernel/perf_event_paranoid is set to -1&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Collection_failed.JPG" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/17538i4D14A999BC79A637/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Collection_failed.JPG" alt="Collection_failed.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 13:36:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1290013#M20668</guid>
      <dc:creator>Tahir_S</dc:creator>
      <dc:date>2021-06-15T13:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch an application in vtune as a NON root user</title>
      <link>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1291527#M20771</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your patience.&lt;/P&gt;
&lt;P&gt;Could you please try the below steps :&lt;/P&gt;
&lt;P&gt;1) Start your application on linux system&lt;/P&gt;
&lt;P&gt;2) Try profiling the system where you are running the application using system wide profiling analysis type available with VTune profiler. Please find the below command :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;vtune -collect hotspots -knob sampling-mode=hw --duration 60&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Refer the link for more details: &lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/command-line-interface/running-command-line-analysis/configuring-analysis-options-from-the-command-line/collecting-system-wide-data-from-the-command-line.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/command-line-interface/running-command-line-analysis/configuring-analysis-options-from-the-command-line/collecting-system-wide-data-from-the-command-line.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) Open the system profile result in VTune GUI, find the process ID for your application and you will get the analysis result for the application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, we assume that you have sudo rights as the application needs root-permissions to run on the linux system and we would like to know why is it not possible to run VTune with root privileges or why you don't want to start VTune with root-privileges.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Hope this helps , let us know the updates.&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rahul&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 04:32:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1291527#M20771</guid>
      <dc:creator>RahulU_Intel</dc:creator>
      <dc:date>2021-06-21T04:32:48Z</dc:date>
    </item>
    <item>
      <title>Re:How to launch an application in vtune as a NON root user</title>
      <link>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1294175#M20839</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;    We haven't heard back from you. Could you please confirm if your issue is resolved. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jun 2021 04:12:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1294175#M20839</guid>
      <dc:creator>RahulU_Intel</dc:creator>
      <dc:date>2021-06-29T04:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch an application in vtune as a NON root user</title>
      <link>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1295029#M20873</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for checking back.&lt;/P&gt;
&lt;P&gt;I enabled root access to the machine on which the application was running and vtune is able to do analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tahir&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 12:01:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1295029#M20873</guid>
      <dc:creator>Tahir_S</dc:creator>
      <dc:date>2021-07-01T12:01:19Z</dc:date>
    </item>
    <item>
      <title>Re:How to launch an application in vtune as a NON root user</title>
      <link>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1295280#M20883</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 you issue is resolved. Could you please confirm whether we     can discontinue monitoring this thread?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2021 05:21:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1295280#M20883</guid>
      <dc:creator>RahulU_Intel</dc:creator>
      <dc:date>2021-07-02T05:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch an application in vtune as a NON root user</title>
      <link>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1295433#M20892</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Yes Sure, Thank you so much for all the support!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;
&lt;P&gt;Tahir&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 13:33:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1295433#M20892</guid>
      <dc:creator>Tahir_S</dc:creator>
      <dc:date>2021-07-02T13:33:05Z</dc:date>
    </item>
    <item>
      <title>Re:How to launch an application in vtune as a NON root user</title>
      <link>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1295865#M20897</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;     Thanks for your confirmation. We no longer will be monitoring this thread. If you have any query you can post a new question.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jul 2021 05:35:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/How-to-launch-an-application-in-vtune-as-a-NON-root-user/m-p/1295865#M20897</guid>
      <dc:creator>RahulU_Intel</dc:creator>
      <dc:date>2021-07-05T05:35:31Z</dc:date>
    </item>
  </channel>
</rss>

