aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <[email protected]>2012-05-10 13:01:43 -0700
committerLinus Torvalds <[email protected]>2012-05-10 15:06:44 -0700
commit16fbdce62d9c89b794e303f4a232e4749b77e9ac (patch)
treeb0088af87f70ceeef0fbe55bc2200b4f1b9aa816 /tools/perf/util/scripting-engines/trace-event-perl.c
parentbc46f9375a286d05f84a9464efc2b7f1f5614ff4 (diff)
proc/pid/pagemap: correctly report non-present ptes and holes between vmas
Reset the current pagemap-entry if the current pte isn't present, or if current vma is over. Otherwise pagemap reports last entry again and again. Non-present pte reporting was broken in commit 092b50bacd1c ("pagemap: introduce data structure for pagemap entry") Reporting for holes was broken in commit 5aaabe831eb5 ("pagemap: avoid splitting thp when reading /proc/pid/pagemap") Signed-off-by: Konstantin Khlebnikov <[email protected]> Reported-by: Pavel Emelyanov <[email protected]> Cc: Naoya Horiguchi <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Cc: Andi Kleen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions