I'm trying to use perf tool in eclipse CDT(latest) for my application on Ubuntu 14.04.
I'm getting an error when I Right click on project->Profiling Tools-> Profile with Perf.
Error within Debug UI: java.lang.reflect.InvocationTargetException
None of the profiling tools are working.
Am I missing any specific configuration? Also If i try to simply profile as application it gives error like
invalid version "": invalid format
Any help is appreciated.
Type perf in a terminal and see the error prompt. It should advice you to install a specific version of linux-tools, for instance linux-tools-3.2-75 where “3.2-75” is the version number of your kernel. It solved the problem for me.
Moreover, on Ubuntu 14.04, linux-tools-generic-lts-trusty should do the job.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With