I use vtune to find out the hotspot of the program, but when I try to edit the code through double-click the hotspot code line it says that"
cannot open the external text editor for this file.Suggestion:make sure the text editor is set in the EDITOR or VISUAL enviroment variable
and supports a filename as an argument.”
Then I tried to write “export EDITOR=gedit” into the file ~/.bashrc. But it still failed.
Does anybody know how to address this issue?