summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/Dxe/Image
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-23 03:01:59 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-23 03:01:59 +0000
commitbc6b5892b007447b1024d98004681aa7a3305ddf (patch)
tree03b2fb5d0a73fd240f43a2c334e97045e75105e5 /MdeModulePkg/Core/Dxe/Image
parent9105d2c338989da254b4c4e867c21e534afc4654 (diff)
downloadedk2-platforms-bc6b5892b007447b1024d98004681aa7a3305ddf.tar.xz
Update DxeCore for the performance infrastructure updates: Use Raw sting to replace XXX_TOKEN
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7567 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Dxe/Image')
-rw-r--r--MdeModulePkg/Core/Dxe/Image/Image.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/MdeModulePkg/Core/Dxe/Image/Image.c b/MdeModulePkg/Core/Dxe/Image/Image.c
index 1ee65ae024..15b474aea9 100644
--- a/MdeModulePkg/Core/Dxe/Image/Image.c
+++ b/MdeModulePkg/Core/Dxe/Image/Image.c
@@ -1024,8 +1024,8 @@ CoreLoadImage (
EFI_LOAD_PE_IMAGE_ATTRIBUTE_RUNTIME_REGISTRATION | EFI_LOAD_PE_IMAGE_ATTRIBUTE_DEBUG_IMAGE_INFO_TABLE_REGISTRATION
);
- PERF_START (*ImageHandle, LOAD_IMAGE_TOK, NULL, Tick);
- PERF_END (*ImageHandle, LOAD_IMAGE_TOK, NULL, 0);
+ PERF_START (*ImageHandle, "LoadImage:", NULL, Tick);
+ PERF_END (*ImageHandle, "LoadImage:", NULL, 0);
return Status;
}
@@ -1131,7 +1131,7 @@ CoreStartImage (
//
// Don't profile Objects or invalid start requests
//
- PERF_START (ImageHandle, START_IMAGE_TOK, NULL, 0);
+ PERF_START (ImageHandle, "StartImage:", NULL, 0);
//
@@ -1151,7 +1151,7 @@ CoreStartImage (
//
Image->JumpBuffer = AllocatePool (sizeof (BASE_LIBRARY_JUMP_BUFFER) + BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT);
if (Image->JumpBuffer == NULL) {
- PERF_END (ImageHandle, START_IMAGE_TOK, NULL, 0);
+ PERF_END (ImageHandle, "StartImage:", NULL, 0);
return EFI_OUT_OF_RESOURCES;
}
Image->JumpContext = ALIGN_POINTER (Image->JumpBuffer, BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT);
@@ -1247,7 +1247,7 @@ CoreStartImage (
//
// Done
//
- PERF_END (ImageHandle, START_IMAGE_TOK, NULL, 0);
+ PERF_END (ImageHandle, "StartImage:", NULL, 0);
return Status;
}