[lkml]   [2020]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH V6 02/16] perf/x86/intel: Support PERF_SAMPLE_DATA_PAGE_SIZE

On 8/10/2020 5:40 PM, Peter Zijlstra wrote:
> On Mon, Aug 10, 2020 at 02:24:22PM -0700, Kan Liang wrote:
>> The new sample type, PERF_SAMPLE_DATA_PAGE_SIZE, requires the virtual
>> address. Update the data->addr if the sample type is set.
>> The large PEBS is disabled with the sample type, because perf doesn't
>> support munmap tracking yet. The PEBS buffer for large PEBS cannot be
>> flushed for each munmap. Wrong page size may be calculated. The large
>> PEBS can be enabled later separately when munmap tracking is supported.
> You also get to fix up Power.
> arch/powerpc/perf/core-book3s.c: (PERF_SAMPLE_ADDR | PERF_SAMPLE_PHYS_ADDR))

Sure. I will add one patch for Power.


 \ /
  Last update: 2020-08-11 00:37    [W:0.107 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site