powerpc/perf: Support PERF_SAMPLE_DATA_PAGE_SIZE
authorKan Liang <kan.liang@linux.intel.com>
Thu, 1 Oct 2020 13:57:48 +0000 (06:57 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 29 Oct 2020 10:00:39 +0000 (11:00 +0100)
commit4cb6a42e4c4bc1902644eced67563e7405d4588e
tree5a8029e4adf759e0e5d9b7816a99df6ac1f9f994
parent76a5433f95f32d8a17c9f836be2084ed947c466b
powerpc/perf: Support PERF_SAMPLE_DATA_PAGE_SIZE

The new sample type, PERF_SAMPLE_DATA_PAGE_SIZE, requires the virtual
address. Update the data->addr if the sample type is set.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20201001135749.2804-4-kan.liang@linux.intel.com
arch/powerpc/perf/core-book3s.c