[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200810214040.GK3982@worktop.programming.kicks-ass.net>
Date: Mon, 10 Aug 2020 23:40:40 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Kan Liang <kan.liang@...ux.intel.com>
Cc: acme@...nel.org, mingo@...hat.com, linux-kernel@...r.kernel.org,
mark.rutland@....com, alexander.shishkin@...ux.intel.com,
jolsa@...hat.com, eranian@...gle.com, ak@...ux.intel.com,
dave.hansen@...el.com, kirill.shutemov@...ux.intel.com
Subject: Re: [PATCH V6 02/16] perf/x86/intel: Support
PERF_SAMPLE_DATA_PAGE_SIZE
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))
Powered by blists - more mailing lists