From mboxrd@z Thu Jan 1 00:00:00 1970 From: jamie@jamieiles.com (Jamie Iles) Date: Tue, 2 Feb 2010 17:28:37 +0000 Subject: [PATCH 5/5] arm/perfevents: implement perf event support for ARMv6 In-Reply-To: <20100202171454.GA29701@n2100.arm.linux.org.uk> References: <1263471256-3739-1-git-send-email-jamie.iles@picochip.com> <201001261847.44774.jpihet@mvista.com> <201001271840.47714.jpihet@mvista.com> <20100128112606.GC4175@wear.picochip.com> <20100202171454.GA29701@n2100.arm.linux.org.uk> Message-ID: <20100202172837.GG4305@wear.picochip.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Feb 02, 2010 at 05:14:54PM +0000, Russell King - ARM Linux wrote: > On Thu, Jan 28, 2010 at 11:26:06AM +0000, Jamie Iles wrote: > > This was my mistake and I don't think we should continue - we'd _probably_ be > > ok for sampling counters, but for the counting counters we could hit problems > > if the counters weren't being scheduled in and out. For example if someone did > > 'perf stat -a -e cycles -- sleep 1m' then the cycle counter would not need to > > be scheduled out, the counter could wrap a few times and we wouldn't know > > because we didn't get an interrupt. > > Jamie, > > Please let me know when these patches have stabilised. I think they're good to go now. I sent the original patch as the update by accident as 5902/2 but 5902/3 includes the fix. Jamie