From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751863Ab0HSHyO (ORCPT ); Thu, 19 Aug 2010 03:54:14 -0400 Received: from arkanian.console-pimps.org ([212.110.184.194]:42015 "EHLO arkanian.console-pimps.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751716Ab0HSHyL (ORCPT ); Thu, 19 Aug 2010 03:54:11 -0400 Date: Thu, 19 Aug 2010 08:54:10 +0100 From: Matt Fleming To: Lin Ming Cc: Peter Zijlstra , "Zhang, Rui" , LKML , "mingo@elte.hu" , "robert.richter@amd.com" , "acme@redhat.com" , "paulus@samba.org" , "dzickus@redhat.com" , "gorcunov@gmail.com" , "fweisbec@gmail.com" , "Brown, Len" , Matthew Garrett Subject: Re: [RFC PATCH 0/3] perf: show package power consumption in perf Message-ID: <20100819075410.GA25755@console-pimps.org> References: <1282118350.5181.115.camel@rui> <1282134329.1926.3918.camel@laptop> <20100818124116.GA17957@console-pimps.org> <1282188497.11858.94.camel@minggr.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1282188497.11858.94.camel@minggr.sh.intel.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 19, 2010 at 11:28:17AM +0800, Lin Ming wrote: > On Wed, 2010-08-18 at 20:41 +0800, Matt Fleming wrote: > > > > I had a quick look over the patches and Peter is right - the group > > events stuff would probably fit quite well here. Unfortunately, due to > > holidays and things, I haven't been able to get them finished > > yet. I'll get on that ASAP. > > Hi, Matt > > What's the "group events stuff"? > Is there some discussion on LKML or elsewhere I can have a look at? > > Thanks, > Lin Ming The relevant information can be found here in this thread, http://lkml.org/lkml/2010/8/4/174. I'm working on some patches for this but they're not finished yet. I can probably get something to show by next week. The discussion started because the performance counters on SH do not generate an interrupt on overflow, so we need to periodically sample them. Am I correct in thinking that the energy counters also do not generate an interrupt on overflow and that's why you wrote the event as a software event?