- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Could you re-attach a snapshot? Source files and symbols files should be located on the OSX host system, their directories should be added to Source and Binary/Symbol search paths in VTune as described in https://software.intel.com/en-us/vtune-amplifier-help-search-directories-for-remote-linux-targets.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the reply.
below the image we are talking about.
In fact, that's what I do. I wanted to be sure it was the right procedure. I use the GUI, as in the previous photo.
Going by steps:
1) Identify the possible function to optimize ->ok
2) I double-click on the function under analysis and open the source -> ok
Now, I think that by setting environment variables and double-clicking on the code (selected on photo)
should open the file with the editor that I set in the environment variables.
I'm on macOsx, so:
"launchctl setenv VISUAL /Applications/TextEdit.app/Contents/MacOS/TextEdit"
or
"launchctl setenv EDITOR /Applications/TextEdit.app/Contents/MacOS/TextEdit"
But it does not allow me to modify the source code.
My question is:
This is why it is the version for mac, so it is expected that the code will be modified directly on the remote machine ?
or
Is this feature badly set up on my machine?
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Setting VISUAL or EDITOR allows automatically open 3rd party editor from Vtune GUI source view to edit source code. This is some kind of helper but you may open any editor by hands and load source code there to edit…
So, Are there any changes in behavior when you set environment variable VISUAL or EDITOR? Do you still see popup tells you that the EDITOR or VISUAL environment variables are not set?If you still see the popup then it means the variables are not set for Vtune GUI. You may try to open a terminal window, set environment variable(s) via
>export EDITOR=/Applications/TextEdit.app/Contents/MacOS/TextEdit
or
>export VISUAL=/Applications/TextEdit.app/Contents/MacOS/TextEdit
After that you may start Vtune from the opened terminal window via
>open /Applications/Intel_VTune_Amplifier_2018.app
Next you may try to repeat actions to open set 3rd party editor from VTune source view.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dimitry, thanks for your time.
I did the procedure that you suggest and have the same result of my procedure expose in a before post.
I don't see the popup but also the editor is not opened.
I don't receive other kind of error or popup.
After double-click only see the "clock" in the mouse pointer for few milliseconds, but nothing else happens.
Thanks in advanced.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page