From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vince Weaver Subject: Re: Event not supported Date: Thu, 13 Mar 2014 16:06:27 -0400 (EDT) Message-ID: References: <5303A4CF.3060200@gmail.com> <5303B986.2070801@gmail.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from mail-qa0-f48.google.com ([209.85.216.48]:41964 "EHLO mail-qa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752191AbaCMUD6 (ORCPT ); Thu, 13 Mar 2014 16:03:58 -0400 Received: by mail-qa0-f48.google.com with SMTP id m5so1559374qaj.7 for ; Thu, 13 Mar 2014 13:03:57 -0700 (PDT) In-Reply-To: Sender: linux-perf-users-owner@vger.kernel.org List-ID: To: Martin Ichilevici de Oliveira Cc: linux-perf-users@vger.kernel.org On Tue, 11 Mar 2014, Martin Ichilevici de Oliveira wrote: > On Fri, Feb 28, 2014 at 6:35 AM, Martin Ichilevici de Oliveira > wrote: > > On Wed, Feb 26, 2014 at 6:38 PM, Vince Weaver wrote: > >> On Wed, 26 Feb 2014, Martin Ichilevici de Oliveira wrote: > >> > >> > >> Linux 3.9 and Linux 3.10 have very different amd15h northbridge support. > >> If you're looking for long-term usability of your project/tool/research > >> you probably want to jump straight to 3.10 so you don't have to make > >> everything work on 3.9 and then change it all again when you move to newer > >> kernels. > >> > >> Vince > > > > I installed Linux 3.10 but it's still not clear to me how to profile > > amd15h northbridge events, as I keep getting unsupported event > > messages. Also, I tried using papi_component_avail and it says that > > perf_events_uncore is disabled (no uncore PMUs or or events found). > > Do I need to compile my kernel (3.10) with explicit support? I don't > understand why papi_component_avail keeps saying that > perf_events_uncore is disabled. If you're having issues with PAPI it might be better to bring your questions to one of the PAPI mailing lists. If you have a 3.10 x86_64 kernel it's not possible to disable perf_event or uncore support, so support is there. You will need to run as root (or set the perf_event paranoid setting away from the default) to access the NorthBridge counters though. PAPI at least is not well tested on amd fam15h hardware as we don't have acess to any test systems with the hardware. Vince