Re: [perf tool] record failure with 3.14-rc4

2014-02-24 Thread Jiri Olsa
On Mon, Feb 24, 2014 at 05:24:41PM +, Will Deacon wrote: > Hi guys, > > If I try to run perf record as a non-root user, I end up with the following > (unhelpful) error: > > $ perf record -e cycles ls > [...] > Not enough memory for reading perf file header > > This is because the addre

[perf tool] record failure with 3.14-rc4

2014-02-24 Thread Will Deacon
Hi guys, If I try to run perf record as a non-root user, I end up with the following (unhelpful) error: $ perf record -e cycles ls [...] Not enough memory for reading perf file header This is because the addresses in /proc/kallsyms always read as 0x0 when viewed by a non-privileged user, c