Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932703Ab0AGIaS (ORCPT ); Thu, 7 Jan 2010 03:30:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932631Ab0AGIaQ (ORCPT ); Thu, 7 Jan 2010 03:30:16 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:48294 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932525Ab0AGIaP (ORCPT ); Thu, 7 Jan 2010 03:30:15 -0500 Subject: Re: tools/perf: "perf record" restricted to root in latest kernel? From: Peter Zijlstra To: Mike Galbraith Cc: Miles Bader , Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org In-Reply-To: <1262839723.6303.5.camel@marge.simson.net> References: <20100106205911.GC18919@ghostprotocols.net> <1262839723.6303.5.camel@marge.simson.net> Content-Type: text/plain; charset="UTF-8" Date: Thu, 07 Jan 2010 09:29:35 +0100 Message-ID: <1262852975.4049.79.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 822 Lines: 18 On Thu, 2010-01-07 at 05:48 +0100, Mike Galbraith wrote: > On Thu, 2010-01-07 at 11:49 +0900, Miles Bader wrote: > > > Perhaps the newer version of perf works better with newer kernels > > Yup. Bisects back to 60ab271617cec607380099f3ed8e84916e48323b. If > running latest kernel, normal user can record fine. Running 31 or 32 > kernel with latest perf though, I see the same permission error. Not > immediately obvious to me why reverting this commit does indeed fix it. That commit will do something the old perf doesn't support and will fail to create the counters. -- 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/