summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAudra Mitchell <audra@redhat.com>2023-10-13 22:03:47 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-10-19 00:34:19 +0300
commit63a150623a2bf94c9ed503719a3423675a3aa0d3 (patch)
treefdb556ee655e75dc6f541c587e838d4fcf1ebece /tools/perf/scripts/python
parent0179c62839bdc49769a986e6eb1a6ca6fc7d274a (diff)
downloadlinux-63a150623a2bf94c9ed503719a3423675a3aa0d3.tar.xz
tools/mm: filter out timestamps for correct collation
With the introduction of allocation timestamps being included in page_owner output, each record becomes unique due to the timestamp nanosecond granularity. Remove the check in add_list that tries to collate each record during processing as the memcmp() is just additional overhead at this point. Also keep the allocation timestamps, but allow collation to occur without consideration of the allocation timestamp except in the case were allocation timestamps are requested by the user (the -a option). Link: https://lkml.kernel.org/r/20231013190350.579407-4-audra@redhat.com Signed-off-by: Audra Mitchell <audra@redhat.com> Acked-by: Rafael Aquini <aquini@redhat.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Cc: Georgi Djakov <djakov@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions