15

Is the oprofile project still alive and well?

I know it is still supported in the default linux kernel and that the user space utilities works (at least on the Arch linux I'm running), but the majority of the documentation for it seems to be outdated?

Are there other profilers that does the same job as oprofile on linux, or is it simply a case of everything working well for the last few years? Or does everyone have intel core iGezillion processors?

tothphu
  • 899
  • 12
  • 21
Dirk
  • 1,184
  • 6
  • 22

1 Answers1

16

Lately the momentum seems to be with the "perf" tool, distributed as part of the kernel source package since 2.6.30 or thereabouts. In some sense it's a bit more convenient than oprofile in that you don't need root access to use it, but unfortunately documentation is lacking. See https://perf.wiki.kernel.org/

Shayan Pooya
  • 1,049
  • 1
  • 13
  • 22
janneb
  • 36,249
  • 2
  • 81
  • 97
  • 1
    A very cool but still very simple example of using perf is: perf top -p shows a sorted list of what functions is spending all its time in. – dicroce Oct 15 '13 at 22:03