Re: [PATCH RFC 1/7] perf/core, x86: Add PERF_SAMPLE_PAGE_SIZE

2018-08-10 Thread Stephane Eranian
On Fri, Aug 10, 2018 at 6:37 AM wrote: > > From: Kan Liang > > Current perf can report both virtual address and physical address, but > it doesn't report page size. Users have no idea how large the utilized > page is. They cannot promote/demote large pages to optimize memory use. > > Add a new

Re: [PATCH RFC 1/7] perf/core, x86: Add PERF_SAMPLE_PAGE_SIZE

2018-08-10 Thread Stephane Eranian
On Fri, Aug 10, 2018 at 6:37 AM wrote: > > From: Kan Liang > > Current perf can report both virtual address and physical address, but > it doesn't report page size. Users have no idea how large the utilized > page is. They cannot promote/demote large pages to optimize memory use. > > Add a new

[PATCH RFC 1/7] perf/core, x86: Add PERF_SAMPLE_PAGE_SIZE

2018-08-10 Thread kan . liang
From: Kan Liang Current perf can report both virtual address and physical address, but it doesn't report page size. Users have no idea how large the utilized page is. They cannot promote/demote large pages to optimize memory use. Add a new sample type for page size. Current perf already has a

[PATCH RFC 1/7] perf/core, x86: Add PERF_SAMPLE_PAGE_SIZE

2018-08-10 Thread kan . liang
From: Kan Liang Current perf can report both virtual address and physical address, but it doesn't report page size. Users have no idea how large the utilized page is. They cannot promote/demote large pages to optimize memory use. Add a new sample type for page size. Current perf already has a