]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Scripts/MemoryProfileSymbolGen.py
BaseTools: Clean up source files
[mirror_edk2.git] / BaseTools / Scripts / MemoryProfileSymbolGen.py
index eaae0283c51d07e67075e897dbce626186b4f9ff..eb04f14545bf710cc9cd44426a25aa6654398968 100644 (file)
@@ -3,7 +3,7 @@
 #\r
 # This tool depends on DIA2Dump.exe (VS) or nm (gcc) to parse debug entry.\r
 #\r
-# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials are licensed and made available under\r
 # the terms and conditions of the BSD License that accompanies this distribution.\r
 # The full text of the license may be found at\r
@@ -21,7 +21,7 @@ import sys
 from optparse import OptionParser\r
 \r
 versionNumber = "1.1"\r
-__copyright__ = "Copyright (c) 2016, Intel Corporation. All rights reserved."\r
+__copyright__ = "Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved."\r
 \r
 class Symbols:\r
     def __init__(self):\r
@@ -72,7 +72,7 @@ class Symbols:
         reportLines = linefile.readlines()\r
         linefile.close()\r
 \r
-        # 000113ca T AllocatePool      c:\home\edk-ii\MdePkg\Library\UefiMemoryAllocationLib\MemoryAllocationLib.c:399\r
+        # 000113ca T AllocatePool  c:\home\edk-ii\MdePkg\Library\UefiMemoryAllocationLib\MemoryAllocationLib.c:399\r
         patchLineFileMatchString = "([0-9a-fA-F]*)\s+[T|D|t|d]\s+(\w+)\s*((?:[a-zA-Z]:)?[\w+\-./_a-zA-Z0-9\\\\]*):?([0-9]*)"\r
 \r
         for reportLine in reportLines:\r
@@ -127,9 +127,9 @@ class Symbols:
         linefile.close()\r
 \r
         #   ** GetDebugPrintErrorLevel\r
-        #      line 32 at [0000C790][0001:0000B790], len = 0x3 c:\home\edk-ii\mdepkg\library\basedebugprinterrorlevellib\basedebugprinterrorlevellib.c (MD5: 687C0AE564079D35D56ED5D84A6164CC)\r
-        #      line 36 at [0000C793][0001:0000B793], len = 0x5\r
-        #      line 37 at [0000C798][0001:0000B798], len = 0x2\r
+        #  line 32 at [0000C790][0001:0000B790], len = 0x3  c:\home\edk-ii\mdepkg\library\basedebugprinterrorlevellib\basedebugprinterrorlevellib.c (MD5: 687C0AE564079D35D56ED5D84A6164CC)\r
+        #  line 36 at [0000C793][0001:0000B793], len = 0x5\r
+        #  line 37 at [0000C798][0001:0000B798], len = 0x2\r
 \r
         patchLineFileMatchString = "\s+line ([0-9]+) at \[([0-9a-fA-F]{8})\]\[[0-9a-fA-F]{4}\:[0-9a-fA-F]{8}\], len = 0x[0-9a-fA-F]+\s*([\w+\-\:./_a-zA-Z0-9\\\\]*)\s*"\r
         patchLineFileMatchStringFunc = "\*\*\s+(\w+)\s*"\r