I am looking a system-wide sampling profilers for Linux. Both perf and OPrfile work off the same hardware counters so I am not sure what the difference between the two are.
So what are the differences between perf and OProfile and when will you use one or the other?
Perf seems to be easier to install and run - going by my limited experience.
Here's a link that might be useful: http://rhaas.blogspot.co.uk/2012/06/perf-good-bad-ugly.html
Both can produce call graphs, annotated assembly/source code, kernel level event sampling, etc. I don't see a big difference between them (not that I have used either of them much as of yet).
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