From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754262AbaCCSVu (ORCPT ); Mon, 3 Mar 2014 13:21:50 -0500 Received: from g4t3426.houston.hp.com ([15.201.208.54]:1680 "EHLO g4t3426.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753590AbaCCSVs (ORCPT ); Mon, 3 Mar 2014 13:21:48 -0500 Message-ID: <1393870905.2899.75.camel@buesod1.americas.hpqcorp.net> Subject: Re: [PATCH 08/19] perf c2c: Shared data analyser From: Davidlohr Bueso To: Don Zickus Cc: Andi Kleen , acme@ghostprotocols.net, LKML , jolsa@redhat.com, jmario@redhat.com, fowles@inreach.com, eranian@google.com, Arnaldo Carvalho de Melo , David Ahern , Frederic Weisbecker , Mike Galbraith , Paul Mackerras , Peter Zijlstra , Richard Fowles Date: Mon, 03 Mar 2014 10:21:45 -0800 In-Reply-To: <20140303150531.GZ25953@redhat.com> References: <1393609388-40489-1-git-send-email-dzickus@redhat.com> <1393609388-40489-9-git-send-email-dzickus@redhat.com> <87lhwvawc4.fsf@tassilo.jf.intel.com> <20140228194642.GM25953@redhat.com> <1393621411.2899.39.camel@buesod1.americas.hpqcorp.net> <20140303150531.GZ25953@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.4 (3.6.4-3.fc18) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2014-03-03 at 10:05 -0500, Don Zickus wrote: > On Fri, Feb 28, 2014 at 01:03:31PM -0800, Davidlohr Bueso wrote: > > On Fri, 2014-02-28 at 14:46 -0500, Don Zickus wrote: > > > On Fri, Feb 28, 2014 at 11:08:59AM -0800, Andi Kleen wrote: > > > > Don Zickus writes: > > > > > + > > > > > +static const struct perf_evsel_str_handler handlers[] = { > > > > > + { "cpu/mem-loads,ldlat=30/pp", perf_c2c__process_load, }, > > > > > + { "cpu/mem-stores/pp", perf_c2c__process_store, }, > > > > > > > > Hmm I'm getting this when running a simple record command. > > > > invalid or unsupported event: 'cpu/mem-loads/pp' > > > > This only occurs with c2c, other subcommands work normally. It's as if > > it were an old kernel, but it's Linus' latest. Is this an issue with the > > patch or something I'm missing? > > > > Furthermore, I see: > > ls /sys/bus/event_source/devices/cpu/events > > branch-instructions branch-misses cache-misses cache-references cpu-cycles instructions mem-loads > > Hmm, so based on Andi's reply, I am assuming you are running on a Westmere > (or Nehalem) due to the lack of mem-stores. Indeed, I had definitely overlooked this detail. Performance Events: PEBS fmt1+, 16-deep LBR, Westmere events, Broken BIOS detected, complain to your hardware vendor. Thanks, Davidlohr