Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752905AbaBXPfI (ORCPT ); Mon, 24 Feb 2014 10:35:08 -0500 Received: from mail-qc0-f174.google.com ([209.85.216.174]:48157 "EHLO mail-qc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752442AbaBXPfG (ORCPT ); Mon, 24 Feb 2014 10:35:06 -0500 Date: Mon, 24 Feb 2014 10:37:11 -0500 (EST) From: Vince Weaver To: Will Deacon cc: Vince Weaver , Peter Zijlstra , Chad Paradis , "linux-kernel@vger.kernel.org" , Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo , Stephane Eranian Subject: Re: [patch/rfc] perf on raspberry-pi without overflow interrupt In-Reply-To: <20140224104634.GA2553@mudshark.cambridge.arm.com> Message-ID: References: <20140108225315.GG31570@twins.programming.kicks-ass.net> <20140109101921.GA26435@mudshark.cambridge.arm.com> <20140110094056.GK31570@twins.programming.kicks-ass.net> <20140114105721.GU7572@laptop.programming.kicks-ass.net> <20140116173110.GA9655@laptop.programming.kicks-ass.net> <20140224104634.GA2553@mudshark.cambridge.arm.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 24 Feb 2014, Will Deacon wrote: > On Fri, Jan 17, 2014 at 05:45:04AM +0000, Vince Weaver wrote: > > On Thu, 16 Jan 2014, Peter Zijlstra wrote: > > > > > Yeah I suppose we could do something like that. Maybe something like: > > > > > > # cat /sys/bus/event_source/devices/cpu/flags > > > int precise filter > > > > wouldn't that violate the "one value per file" rule? > > > > I guess we could also stick it in the mmap page somewhere, as tools like > > PAPI already have to check there for things like rdpmc support. > > > > > > Anyway, here's a first pass at a generic fix for this issue. I'm sure the > > code is pretty horrible, I don't usually mess with the perf code at this > > level. I haven't tested yet as it touched enough files that the rasp-pi > > is going to take a few hours to finish compiling. > > > > Am I on the right track, or totally off here? > > Where did we get to with this? If the generic changes are going to take some > time, I'm happy to take a temporary (non-invasive) fix in the ARM backend while > you sort out the core. OK, let me revisit the patches. The last set of generic ones I sent out actually was broken on ARM and I've been meaning to straighten things out and send a proper follow up patch set but got distracted by other perf related issues. Vince -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/