On https://www.intel.com/content/www/us/en/develop/documentation/get-started-with-advisor/top/discover-... the instructions read:
"Build the sample application in release mode using the make baseline
command, which contains the following compiler options: -O2 -g."
But the following code block reads:
It should be "make baseline" to match the previous statement.
The same documentation has:
advisor --collect=survey --project-dir=./vec_samples -- ./vec_samples
It looks like it should be "--project-dir=." to use the current directory. As documented, the command fails.
Intel Support, please send this document back to the responsible group to have them go through it, run the commands, and make corrections as appropriate.
Thank you for posting in Intel Communities. We would like to thank you for sharing your observations with us. We will connect with the admin team and get this documentation corrected.
To profile your application with advisor, you can also give the below command so that the result directory gets stored in "vec_samples" folder.
advisor --collect=survey --project-dir=../vec_samples -- ./vec_samples
Thanks & Regards,