Thanks for the reply. I have a 2.6.9 kernel: Linux stperf05 2.6.9-220.127.116.11.11.ELsmp. But I tried opcontrol -c=2, it gives an error message "Call-graph profiling unsupported on this kernel/hardware". BTW my cpu is Xeon, which should be supported.
On Fri, Jul 20, 2007 at 01:50:25PM -0700, Yeye H wrote:
> " This patch provides support for call-graph profiling, currently only on
> x86. At each interrupt, the stack is recorded into the profile buffer, if
> the information is available in the registers. The user-space support for
> this, new in the 0.8 release, is still experimental."
It's far easiest to just use a recent 2.6 kernel which already has these