canonical / etrace

Utility for tracing execution of apps
GNU General Public License v3.0
57 stars 12 forks source link

unable to trace intellij snap #65

Open popey opened 3 years ago

popey commented 3 years ago

Using etrace from edge channel.

alan@robot:~$ etrace analyze-snap intellij-idea-ultimate
unable to install snap intellij-idea-ultimate and analyze: exit status 1

I assume this is because it's a classic snap, because I can't analyze code or datagrip either, both classic.

anonymouse64 commented 3 years ago

Ah this is because the initial install code for analyze-snap doesn't take into account a snap might be classic, but to be clear, analyzing the snap once it's already installed works for both --hot and --cold:

$ etrace exec --no-trace --hot code
Total startup time: 1.033222007
$ etrace exec --no-trace --cold code
Total startup time: 2.570325473