<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in mem-phys-addr-report</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>41013f0c - perf script python: Add script to profile and resolve physical mem type</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/scripts/python/bin/mem-phys-addr-report#41013f0c</link>
        <description>perf script python: Add script to profile and resolve physical mem typeThere could be different types of memory in the system. E.g normalSystem Memory, Persistent Memory. To understand how the workload maps tothose memories, it&apos;s important to know the I/O statistics of them.  Perfcan collect physical addresses, but those are raw data.  It still needsextra work to resolve the physical addresses.  Provide a script tofacilitate the physical addresses resolving and I/O statistics.Profile with MEM_INST_RETIRED.ALL_LOADS or MEM_UOPS_RETIRED.ALL_LOADSevent if any of them is available.Look up the /proc/iomem and resolve the physical address.  Providememory type summary.Here is an example output:  # perf script report mem-phys-addr  Event: mem_inst_retired.all_loads:P  Memory type                                    count   percentage  ----------------------------------------  -----------  -----------  System RAM                                        74        53.2%  Persistent Memory                                 55        39.6%  N/A  ---Changes since V2: - Apply the new license rules. - Add comments for globalsChanges since V1: - Do not mix DLA and Load Latency. Do not compare the loads and stores.   Only profile the loads. - Use event name to replace the RAW eventSigned-off-by: Kan Liang &lt;Kan.liang@intel.com&gt;Reviewed-by: Andi Kleen &lt;ak@linux.intel.com&gt;Cc: Dan Williams &lt;dan.j.williams@intel.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Philippe Ombredanne &lt;pombredanne@nexb.com&gt;Cc: Stephane Eranian &lt;eranian@google.com&gt;Link: https://lkml.kernel.org/r/1515099595-34770-1-git-send-email-kan.liang@intel.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/scripts/python/bin/mem-phys-addr-report</description>
        <pubDate>Thu, 04 Jan 2018 20:59:55 +0000</pubDate>
        <dc:creator>Kan Liang &lt;Kan.liang@intel.com&gt;</dc:creator>
    </item>
</channel>
</rss>
