lkml.org 
[lkml]   [2010]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: tools/perf: "perf record" restricted to root in latest kernel?
From
Date
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



\
 
 \ /
  Last update: 2010-01-07 06:07    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site