Re: [PATCH 1/1] perf tools: Check access permission when reading /proc/kcore file.

2015-06-14 Thread Li Zhang
On 2015年06月10日 22:44, Arnaldo Carvalho de Melo wrote: Em Wed, Jun 10, 2015 at 11:01:33AM +0800, Li Zhang escreveu: When using command perf report --kallsyms=/proc/kallsyms with a non-root user, symbols are resolved. Then select one symbol and annotate it, it reports the error as the following: C

Re: [PATCH 1/1] perf tools: Check access permission when reading /proc/kcore file.

2015-06-10 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 10, 2015 at 11:01:33AM +0800, Li Zhang escreveu: > When using command perf report --kallsyms=/proc/kallsyms with a non-root > user, symbols are resolved. Then select one symbol and annotate it, it > reports the error as the following: > Can't annotate __clear_user: No vmlinux file with