[PATCH 0/5] perf/mm: Fix PERF_SAMPLE_*_PAGE_SIZE
Dave Hansen
dave.hansen at intel.com
Tue Nov 17 03:36:36 AEDT 2020
On 11/16/20 8:32 AM, Matthew Wilcox wrote:
>>
>> That's really the best we can do from software without digging into
>> microarchitecture-specific events.
> I mean this is perf. Digging into microarch specific events is what it
> does ;-)
Yeah, totally.
But, if we see a bunch of 4k TLB hit events, it's still handy to know
that those 4k TLB hits originated from a 2M page table entry. This
series just makes sure that perf has the data about the page table
mapping sizes regardless of what the microarchitecture does with it.
I'm just saying we need to make the descriptions in this perf feature
specifically about the page tables, not the TLB.
More information about the Linuxppc-dev
mailing list