I am running Linux 2.6.26 on an MPC8248 (which does not provide support to use the hardware performance counters ).  HZ=250.  Thus, I am getting samples every 4 ms. 

 

I would like finer resolution.  Can I use RTC mode with my 2.6 kernel?  If so, how?  When I try to force it, I get:

 

Eclipse #  /usr/bin/opcontrol --event=RTC_INTERRUPTS:4096

You cannot specify any performance counter events

because OProfile is in timer mode.


=