Robert Richter | 1 Nov 2011 14:56
Picon
Favicon

Re: No samples recorded on VIA C7 (interrupt timer mode)

On 31.10.11 18:52:14, JM wrote:
> I am trying to profile code on the VIA C7 processor [1]. This is a x86
> cpu with no hardware performance counters. I am using oprofile 0.9.7
> and kernel 3.0.4. I am setting oprofile as follows:

Since the rework of the NMI watchdog that bases now on perf, nmi timer
mode is brokten on x86. I posted a reimplementation for 3.3, see:

 http://lkml.org/lkml/2011/10/19/334

This is untested for via cpus, please give it a try.

Alternatively you can try hr timer mode using oprofile.timer=1 kernel
parameter.

Thanks,

-Robert

--

-- 
Advanced Micro Devices, Inc.
Operating System Research Center

------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1

Gmane