From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Tue, 7 Feb 2012 15:30:01 +0000 Subject: oprofile and ARM A9 hardware counter In-Reply-To: References: <1328578047.1724.17.camel@dave-Dell-System-XPS-L502X> Message-ID: <20120207153001.GA2367@mudshark.cambridge.arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Stephane, On Tue, Feb 07, 2012 at 11:59:21AM +0000, stephane eranian wrote: > An easier way to verify we're getting the right number of samples is > to use perf top: > > $ taskset -c 1 noploop 1000 & > $ sudo perf top > > You'll see around 850 irqs/sec, should be closer to 1000. > But if I drop the rate to 100Hz, then it works: > > $ sudo perf top -F 100 > > That leads me to believe there is too much overhead somewhere. > Could be in perf_event itself. > > Will, do you get 1000 irsq/sec running the same test on your systems? I'm away from my dev boards at the moment, but I'll give this a go next week and get back to you. Will