<?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: Unexpected Error with VTune Command Line Interface in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644810#M25413</link>
    <description>&lt;P&gt;I have attached the files here. Let me know if any more files are needed.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 15:17:31 GMT</pubDate>
    <dc:creator>chintan221b</dc:creator>
    <dc:date>2024-11-21T15:17:31Z</dc:date>
    <item>
      <title>Unexpected Error with VTune Command Line Interface</title>
      <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644496#M25399</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Context:&lt;/STRONG&gt; I'm currently working on creating a Datadog integration that utilizes the VTune command line interface to generate CSV summary reports. The integration is running on a Windows environment, using the Datadog Agent as a service account to interact with VTune. The Datadog Agent is running under a service account, which is used to execute the VTune command line interface.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt; When running the VTune command line interface to generate a CSV summary report, the process stops unexpectedly and returns an error. The error message and logs are attached below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error Message:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;vtune: Using result path `C:\Users\admin\Documents\VTune\Projects\enhanced_intensive\r000hs'

vtune: Executing actions  0 %                                                  
vtune: Executing actions  0 % Finalizing results                               
vtune: Executing actions 50 % Finalizing results                               
vtune: Executing actions 50 % Generating a report                              
vtune: Executing actions 50 % Setting data model parameters                    
vtune: Executing actions 75 % Setting data model parameters                    
vtune: Executing actions 75 % Generating a report                              
vtune: Executing actions 100 % Generating a report                             
vtune: Executing actions 100 % done                                            

Exception: 0xe06d7363, EXCEPTION_UNKNOWN
Module: KERNELBASE.dll
Collecting modules information...
Collecting system information...

Copyright (C) 2009 Intel Corporation. All rights reserved.

Intel(R) VTune(TM) Profiler 2024.3.0; 628755 experienced an unexpected error.

Please send a problem report: 
amplxe-feedback --send-crash-report .....&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Command:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;The command being executed is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;vtune -report summary -result-dir &amp;lt;result_dir&amp;gt; -report-output &amp;lt;output_file&amp;gt; -format csv -csv-delimiter comma&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Windows: Windows 10, 64-bit&lt;/LI&gt;&lt;LI&gt;VTune: VTune 2024.3.0&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;STRONG&gt;Expected Behaviour:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;The VTune command line interface should generate a CSV summary report without errors.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Actual Behaviour:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;The process stops unexpectedly and returns an error.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;I have:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Verified that the Datadog Agent service account has the necessary permissions to access the required files and directories.&lt;/LI&gt;&lt;LI&gt;Reviewed the logs for any error messages related to the VTune command line interface.&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;STRONG&gt;Request:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;I would greatly appreciate any help in resolving this issue. If anyone has experienced similar issues or has any suggestions for troubleshooting, please let me know.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Additional Information:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;I am including the crash report information below, which may be helpful in diagnosing the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 13:09:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644496#M25399</guid>
      <dc:creator>chintan221b</dc:creator>
      <dc:date>2024-11-20T13:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error with VTune Command Line Interface</title>
      <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644629#M25403</link>
      <description>&lt;P&gt;Are the VTune profiling and report command lines all called by the&amp;nbsp;&lt;SPAN&gt;Datadog service? I mean the two command lines below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;vtune -collect hotspots xxx&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;vtune -report summary xxx&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Did you try executing 'vtune -report summary -result-dir &lt;SPAN class="token tag"&gt;&lt;SPAN class="token punctuation"&gt;&amp;lt;&lt;/SPAN&gt;result_dir&lt;SPAN class="token punctuation"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt; -report-output &lt;SPAN class="token tag"&gt;&lt;SPAN class="token punctuation"&gt;&amp;lt;&lt;/SPAN&gt;output_file&lt;SPAN class="token punctuation"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt; -format csv -csv-delimiter comma' separately instead of executed by the Datadog service? Can it work or not?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 01:38:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644629#M25403</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-11-21T01:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error with VTune Command Line Interface</title>
      <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644680#M25404</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You for the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Yes, the VTune report extraction command lines are called by the Datadog service. However, the report generation (i.e. collection) is done through an admin user, and the report extraction (i.e. creating a CSV file) is done through the Datadog service account.&lt;/P&gt;&lt;P class=""&gt;To answer your second question, I did try executing the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;vtune -report summary -result-dir &amp;lt;result_dir&amp;gt; -report-output &amp;lt;output_file&amp;gt; -format csv -csv-delimiter comma&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;command separately, but it did not work when run as the Datadog service user. The command only works when run as an admin user.&lt;/P&gt;&lt;P class=""&gt;It seems that the issue is related to the permissions or access control of the Datadog service account, which is preventing it from generating the report. I'm still investigating the root cause of the issue and would appreciate any suggestions or guidance on how to resolve it.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 05:43:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644680#M25404</guid>
      <dc:creator>chintan221b</dc:creator>
      <dc:date>2024-11-21T05:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error with VTune Command Line Interface</title>
      <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644684#M25405</link>
      <description>&lt;P&gt;Also, to add to the original query, Giving Admin rights to Datadog service account is not a viable solution as it can be security hazard and is not recommended.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 05:51:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644684#M25405</guid>
      <dc:creator>chintan221b</dc:creator>
      <dc:date>2024-11-21T05:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error with VTune Command Line Interface</title>
      <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644691#M25406</link>
      <description>&lt;P&gt;Can you check if the service can read/write the working directory and vtune data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The permissions for data collection and report generation should be the same. If the service has permission to collect data, it can generate the report.&amp;nbsp;&amp;nbsp;Maybe you can try to collect in the service. If it is the reason, we can consider granting minimum permission for vtune support in the service.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 06:18:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644691#M25406</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-11-21T06:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error with VTune Command Line Interface</title>
      <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644699#M25407</link>
      <description>&lt;P&gt;Yes, It has read, write and execute permissions on folder where Vtune reports are stored, the issue persist. I can not give collect permissions to datadog service account, It requires admin permissions to collect through vtune.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 06:41:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644699#M25407</guid>
      <dc:creator>chintan221b</dc:creator>
      <dc:date>2024-11-21T06:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error with VTune Command Line Interface</title>
      <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644705#M25408</link>
      <description>&lt;P&gt;Add the service account to Group 'vtune' and try again.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 07:05:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644705#M25408</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-11-21T07:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error with VTune Command Line Interface</title>
      <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644774#M25409</link>
      <description>There is no group named “vtune” in windows,&lt;BR /&gt;I even tried making service user owner of that folder still the issue persist.</description>
      <pubDate>Thu, 21 Nov 2024 12:10:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644774#M25409</guid>
      <dc:creator>chintan221b</dc:creator>
      <dc:date>2024-11-21T12:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error with VTune Command Line Interface</title>
      <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644781#M25410</link>
      <description>&lt;P&gt;The service has permission to access all the files in the vtune data folder, right?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 12:32:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644781#M25410</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-11-21T12:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error with VTune Command Line Interface</title>
      <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644783#M25411</link>
      <description>Yes, the service user has full access to the folder where reports are stored.&lt;BR /&gt;I also tried running the command&amp;nbsp;'vtune -report summary -result-dir &amp;lt;result_dir&amp;gt; -format csv -csv-delimiter comma'&amp;nbsp;i.e. without specifying the report output location, and it still failed with the same error:&lt;BR /&gt;Code&lt;BR /&gt;CopyInsert&lt;BR /&gt;Exception: 0xe06d7363, EXCEPTION_UNKNOWN&lt;BR /&gt;Module: KERNELBASE.dll&lt;BR /&gt;Collecting modules information...&lt;BR /&gt;Collecting system information...&lt;BR /&gt;However, what's interesting is that the entire CSV report was printed to the command prompt before the error occurred. This suggests that the report generation itself is working, but there's some issue with the way the report is being output or handled by the VTune tool.&lt;BR /&gt;I'm still unsure what the root cause of the issue is</description>
      <pubDate>Thu, 21 Nov 2024 12:45:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644783#M25411</guid>
      <dc:creator>chintan221b</dc:creator>
      <dc:date>2024-11-21T12:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error with VTune Command Line Interface</title>
      <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644787#M25412</link>
      <description>&lt;P&gt;Could you share the vtune data?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 12:57:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644787#M25412</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-11-21T12:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error with VTune Command Line Interface</title>
      <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644810#M25413</link>
      <description>&lt;P&gt;I have attached the files here. Let me know if any more files are needed.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 15:17:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644810#M25413</guid>
      <dc:creator>chintan221b</dc:creator>
      <dc:date>2024-11-21T15:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error with VTune Command Line Interface</title>
      <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644928#M25414</link>
      <description>&lt;P&gt;I can generate the csv based report from r000hs locally. We need further investigation.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 01:35:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1644928#M25414</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-11-22T01:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error with VTune Command Line Interface</title>
      <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1646177#M25431</link>
      <description>&lt;P&gt;&lt;SPAN data-olk-copy-source="MessageBody"&gt;I don’t see any issues, and I am able to finalize the VTune result you shared and get report without crash.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-olk-copy-source="MessageBody"&gt;Can it be the environment when collection and reporting are performed by different versions of VTune? E.g. collected with newer one, reported with older ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 01:03:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1646177#M25431</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-11-28T01:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error with VTune Command Line Interface</title>
      <link>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1646281#M25437</link>
      <description>Thanks for trying. Not sure what is causing issue. Will try my luck with different machines and environments.</description>
      <pubDate>Thu, 28 Nov 2024 12:32:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Unexpected-Error-with-VTune-Command-Line-Interface/m-p/1646281#M25437</guid>
      <dc:creator>chintan221b</dc:creator>
      <dc:date>2024-11-28T12:32:39Z</dc:date>
    </item>
  </channel>
</rss>

