Re: [PATCH] perf: Get kernel start address by symbol name

2014-06-16 Thread Adrian Hunter
On 06/16/2014 11:09 AM, Jiri Olsa wrote: > On Mon, Jun 16, 2014 at 10:06:49AM +0200, Jiri Olsa wrote: >> On Fri, Jun 13, 2014 at 11:45:21AM -0700, Simon Que wrote: >>> The function machine__get_kernel_start_addr() was taking the first symbol >>> of kallsyms as the start address. This is incorrect i

Re: [PATCH] perf: Get kernel start address by symbol name

2014-06-16 Thread Jiri Olsa
On Mon, Jun 16, 2014 at 10:06:49AM +0200, Jiri Olsa wrote: > On Fri, Jun 13, 2014 at 11:45:21AM -0700, Simon Que wrote: > > The function machine__get_kernel_start_addr() was taking the first symbol > > of kallsyms as the start address. This is incorrect in certain cases > > where the first symbol i

Re: [PATCH] perf: Get kernel start address by symbol name

2014-06-16 Thread Jiri Olsa
On Fri, Jun 13, 2014 at 11:45:21AM -0700, Simon Que wrote: > The function machine__get_kernel_start_addr() was taking the first symbol > of kallsyms as the start address. This is incorrect in certain cases > where the first symbol is something at 0, while the actual kernel > functions begin at a la

[PATCH] perf: Get kernel start address by symbol name

2014-06-13 Thread Simon Que
The function machine__get_kernel_start_addr() was taking the first symbol of kallsyms as the start address. This is incorrect in certain cases where the first symbol is something at 0, while the actual kernel functions begin at a later point (e.g. 0x8020). This patch fixes machine__get_kernel_