]> Git Repo - linux.git/blobdiff - tools/perf/scripts/python/mem-phys-addr.py
Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux...
[linux.git] / tools / perf / scripts / python / mem-phys-addr.py
index fb0bbcbfa0f0ba3ebee2ad79535ef9121e2ac6ce..1f332e72b9b0f3435a352e3cc7d67d5ff33357d3 100644 (file)
@@ -44,12 +44,13 @@ def print_memory_type():
        print("%-40s  %10s  %10s\n" % ("Memory type", "count", "percentage"), end='')
        print("%-40s  %10s  %10s\n" % ("----------------------------------------",
                                        "-----------", "-----------"),
-                                        end='');
+                                       end='');
        total = sum(load_mem_type_cnt.values())
        for mem_type, count in sorted(load_mem_type_cnt.most_common(), \
                                        key = lambda kv: (kv[1], kv[0]), reverse = True):
-               print("%-40s  %10d  %10.1f%%\n" % (mem_type, count, 100 * count / total),
-                        end='')
+               print("%-40s  %10d  %10.1f%%\n" %
+                       (mem_type, count, 100 * count / total),
+                       end='')
 
 def trace_begin():
        parse_iomem()
This page took 0.032727 seconds and 4 git commands to generate.