Re: [PATCH V5] perf: Add PERF_SAMPLE_PHYS_ADDR

From: Andi Kleen
Date: Tue Aug 22 2017 - 13:31:10 EST


> Is this in any way x86 specific? AFAICT this should work in generic code
> as long as data->addr is provided.

It won't work on architectures that split the address space for user/kernel
(if TASK_SIZE is meaningless). But perhaps some generic config for that would
work.

-Andi