Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932893Ab0AGFFQ (ORCPT ); Thu, 7 Jan 2010 00:05:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751248Ab0AGFFP (ORCPT ); Thu, 7 Jan 2010 00:05:15 -0500 Received: from mail.gmx.net ([213.165.64.20]:40788 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750869Ab0AGFFN (ORCPT ); Thu, 7 Jan 2010 00:05:13 -0500 X-Authenticated: #14349625 X-Provags-ID: V01U2FsdGVkX1/7ys1LUlL72qgTrG8L+gcGQJ2FrKWdVp5BNf/sHq qBD76X6gG5ia7Q Subject: Re: tools/perf: "perf record" restricted to root in latest kernel? From: Mike Galbraith To: Miles Bader Cc: Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, Peter Zijlstra 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 Date: Thu, 07 Jan 2010 06:05:10 +0100 Message-Id: <1262840710.6303.6.camel@marge.simson.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1.1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 788 Lines: 19 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. Heh. echo 0 > /proc/sys/kernel/perf_event_paranoid :) -Mike -- 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/