Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757338Ab2FGUxX (ORCPT ); Thu, 7 Jun 2012 16:53:23 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]:63346 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756718Ab2FGUxV convert rfc822-to-8bit (ORCPT ); Thu, 7 Jun 2012 16:53:21 -0400 MIME-Version: 1.0 In-Reply-To: <20120607202355.GQ27374@one.firstfloor.org> References: <20120607202355.GQ27374@one.firstfloor.org> Date: Thu, 7 Jun 2012 22:53:19 +0200 Message-ID: Subject: Re: perf user tool precise attribute broken in 3.5rc1+ From: Stephane Eranian To: Andi Kleen Cc: acme@redhat.com, jolsa@redhat.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1077 Lines: 31 On Thu, Jun 7, 2012 at 10:23 PM, Andi Kleen wrote: > > With a perf user tool compiled from a 3.5rc1+ kernel I cannot > use the 'p' attribute anymore. Always get > > ak@petrock:~> ./perf record -e cycles:p ./t > >  Error: sys_perf_event_open() syscall returned with 22 (Invalid argument).  /bin/dmesg may provide additional information. > >  Fatal: No CONFIG_PERF_EVENTS=y kernel support configured? > Remember that PEBS is disabled on SNB unless you have the new ucode + my patch. > ./t: Terminated > > With an older perf it works, so the kernel is ok. > > ak@petrock:~> ./perf record -e cycles:p ./t > [ perf record: Woken up 1 times to write data ] > [ perf record: Captured and wrote 0.005 MB perf.data (~217 samples) ] > ak@petrock:~> > > > -Andi > -- > ak@linux.intel.com -- Speaking for myself only. -- 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/