Re: [PATCH v2] perf tools: allow map files to specify DSO

2018-05-07 Thread Andi Kleen
On Mon, May 07, 2018 at 02:30:32PM -0700, Josh Hunt wrote: > On 05/07/2018 11:40 AM, Andi Kleen wrote: > > On Mon, May 07, 2018 at 02:24:16PM -0400, Josh Hunt wrote: > > > Add the ability to specify a DSO in the /tmp/perf-.map file. > > > The DSO should be the first line in the file and readable by

Re: [PATCH v2] perf tools: allow map files to specify DSO

2018-05-07 Thread Josh Hunt
On 05/07/2018 11:40 AM, Andi Kleen wrote: On Mon, May 07, 2018 at 02:24:16PM -0400, Josh Hunt wrote: Add the ability to specify a DSO in the /tmp/perf-.map file. The DSO should be the first line in the file and readable by the running user. If a valid DSO is found all other contents of the file

[PATCH v2] perf tools: allow map files to specify DSO

2018-05-07 Thread Josh Hunt
Add the ability to specify a DSO in the /tmp/perf-.map file. The DSO should be the first line in the file and readable by the running user. If a valid DSO is found all other contents of the file will be ignored. This allows things like callchain unwinding with DWARF to work. Suggested-by: Wang Nan

Re: [PATCH v2] perf tools: allow map files to specify DSO

2018-05-07 Thread Andi Kleen
On Mon, May 07, 2018 at 02:24:16PM -0400, Josh Hunt wrote: > Add the ability to specify a DSO in the /tmp/perf-.map file. > The DSO should be the first line in the file and readable by the > running user. If a valid DSO is found all other contents of the > file will be ignored. This allows things l