Re: [PATCH v4 1/2] perf machine: Support arch's specific kernel start address

2019-08-12 Thread Leo Yan
On Mon, Aug 12, 2019 at 10:23:21AM +0300, Adrian Hunter wrote: > On 12/08/19 10:02 AM, Leo Yan wrote: > > On Mon, Aug 12, 2019 at 09:37:33AM +0300, Adrian Hunter wrote: > >> On 10/08/19 10:21 AM, Leo Yan wrote: > >>> machine__get_kernel_start() gives out the kernel start address; some > >>> archite

Re: [PATCH v4 1/2] perf machine: Support arch's specific kernel start address

2019-08-12 Thread Adrian Hunter
On 12/08/19 10:02 AM, Leo Yan wrote: > On Mon, Aug 12, 2019 at 09:37:33AM +0300, Adrian Hunter wrote: >> On 10/08/19 10:21 AM, Leo Yan wrote: >>> machine__get_kernel_start() gives out the kernel start address; some >>> architectures need to tweak the start address so that can reflect the >>> kernel

Re: [PATCH v4 1/2] perf machine: Support arch's specific kernel start address

2019-08-12 Thread Leo Yan
On Mon, Aug 12, 2019 at 09:37:33AM +0300, Adrian Hunter wrote: > On 10/08/19 10:21 AM, Leo Yan wrote: > > machine__get_kernel_start() gives out the kernel start address; some > > architectures need to tweak the start address so that can reflect the > > kernel start address correctly. This is not o

Re: [PATCH v4 1/2] perf machine: Support arch's specific kernel start address

2019-08-11 Thread Adrian Hunter
On 10/08/19 10:21 AM, Leo Yan wrote: > machine__get_kernel_start() gives out the kernel start address; some > architectures need to tweak the start address so that can reflect the > kernel start address correctly. This is not only for x86_64 arch, but > it is also required by other architectures,

[PATCH v4 1/2] perf machine: Support arch's specific kernel start address

2019-08-10 Thread Leo Yan
machine__get_kernel_start() gives out the kernel start address; some architectures need to tweak the start address so that can reflect the kernel start address correctly. This is not only for x86_64 arch, but it is also required by other architectures, e.g. arm/arm64 needs to tweak the kernel star