Messages in this thread | | | Subject | Re: tools/perf: "perf record" restricted to root in latest kernel? | From | Peter Zijlstra <> | Date | Thu, 07 Jan 2010 09:29:35 +0100 |
| |
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.
| |