Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5063 Discussions

vtune: Error: Option 'platform-type' received value from the next argument

Allen_Long
Beginner
497 Views

I clicked Start collection on the UI, and the collection process ended immediately, with the error shown in the screenshot.

Allen_Long_0-1719800229868.png

 

 

 

Allen_Long_1-1719800229892.png

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

this is log in generated file: perfrun-2024.06.25-16h19m43s.21012.log

 

62 [8288] INFO perfrun.launcher <> - Launcher main begin
68 [8288] INFO perfrun.launcher <> - MessageCatalogInit finished
68 [8288] INFO perfrun.launcher <> - Launcher instance created
68 [8288] INFO perfrun.launcher <> - argc = 7; cmdline = C:\Program Files (x86)\Intel\oneAPI\vtune\2024.2\bin64\amplxe-runss.exe --ui-output-format xml --ui-output-fd 1484 --option-file E:\Allen\data-VTuneProj\VTuneClient\r001hs\config\runss.options
128 [8288] INFO perfrun.launcher <> - New signal handler callback was added
237 [8288] INFO perfrun.perfcollector <> - SEP tool path: C:\Program Files (x86)\Intel\oneAPI\vtune\2024.2\bin64\sep.exe
255 [8288] WARN perfrun.launcher <> - IParser::parseStream method returned an error: Option 'platform-type' received value from the next argument: '--target-process', but it seems to be an option. Use '-option=value' declaration form or make sure that value is not missed, at file: vcs\perfrun1\launcher\src\cmdline_parser.cpp:804
255 [8288] ERROR perfrun.launcher <> - Messenger::say: Option 'platform-type' received value from the next argument: '--target-process', but it seems to be an option. Use '-option=value' declaration form or make sure that value is not missed

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

I tried to use the command line and failed, as shown below

 

C:\Windows\system32>"C:\Program Files (x86)\Intel\oneAPI\vtune\2024.2\bin64\vtune" -collect hotspots --target-process *********.exe
vtune: Error: Option 'platform-type' received value from the next argument: '--target-process', but it seems to be an option. Use '-option=value' declaration form or make sure that value is not missed
vtune: Warning: Microarchitecture performance insights will not be available. Make sure the sampling driver is installed and enabled on your system.

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 
The "runss.options'' file seems to have a syntax that appears to be malformed.This file will affect the next phase of data collection.
 
Allen_Long_4-1719800401800.png

 

I try 'runsa.cfg' and 'runss.cfg' file to affect the generation of 'runss.options' file, the result can be used normally, but this is certainly not the right solution. I want to ask the correct solution should be done?

Allen_Long_5-1719800667182.png
Allen_Long_6-1719800842269.png

 

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is my infomation.

 

vtune version:

Intel(R) VTune(TM) Profiler 2024.2.0 (build 628218)

windows version:

10.0.19045.4529

cpu:

12th Gen Intel(R) Core(TM) i5-12400 2.50 GHz

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please tell me how to configure VTune to collect data normally.

Thank you all!

0 Kudos
8 Replies
yuzhang3_intel
Moderator
486 Views

Please provide the Windows version and OS build, thanks.

0 Kudos
Allen_Long
Beginner
476 Views
0 Kudos
yuzhang3_intel
Moderator
438 Views

Provide detailed information like the below:

 

Edition Windows 11 Enterprise
Version 23H2
Installed on ‎8/‎30/‎2023
OS build 22631.3737
Experience Windows Feature Experience Pack 1000.22700.1009.0

0 Kudos
Allen_Long
Beginner
427 Views

This is the detailed version:

 

Windows 10 Pro
Version 22H2
Installed on ‎2024/‎1/‎24
OS build 19045.4529
Experience Windows Feature Experience Pack 1000.19058.1000.0

0 Kudos
yuzhang3_intel
Moderator
421 Views

It is probably because the processor can't be recognized, so the platform-type is not specified. You can run the self-check utility to double-check if there are some 'processor not recognized' errors reported in the output?

0 Kudos
Allen_Long
Beginner
410 Views

I ran the vtune-self-checker.bat tool and it did output 'processor not recognized'.

 

 

This is part of the output log:

 

C:\Program Files (x86)\Intel\oneAPI\vtune\2024.2\bin64>vtune-self-checker.bat
Intel(R) VTune(TM) Profiler Self Check Utility
Copyright (C) 2009 Intel Corporation. All rights reserved.
Build Number: 628218

HW event-based analysis (counting mode)
Example of analysis types: Performance Snapshot
Collection: Fail
vtune: Error: This analysis type is not applicable to the system because VTune Profiler cannot recognize the processor. If this is an old Intel processor, please refer to the minimum hardware requirements in the release note. If this is a new Intel processor, please check for an updated version of VTune Profiler. If this is an unreleased Intel processor, please contact Online Service Center for an NDA product package.
vtune: Error: This analysis type is not applicable to the current machine microarchitecture.

0 Kudos
yuzhang3_intel
Moderator
406 Views

This is one known issue, which will be fixed in the coming 2024.2.1 release.

0 Kudos
Allen_Long
Beginner
399 Views
0 Kudos
Reply