]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/DxeCorePerfLib: Add status check instead of ASSERT
authorDandan Bi <dandan.bi@intel.com>
Thu, 1 Mar 2018 05:40:48 +0000 (13:40 +0800)
committerStar Zeng <star.zeng@intel.com>
Fri, 2 Mar 2018 08:16:32 +0000 (16:16 +0800)
commitc9f02a96d8a48844e7168e7572b8a1382c2bfd29
tree9cfc5d0a9fad8d02b350f5af1b71b434a2e1d68e
parenta7119c81528072b13e9664ce51f70b8f91f4d9e2
MdeModulePkg/DxeCorePerfLib: Add status check instead of ASSERT

Currently DxeCorePerformanceLib will get SMM performance data based
on SMM communication handler. If SMM communication handler returns error,
the library will ASSERT. In fact, if SMM perf data is not found.
DXE perf data can still be dumped. So using status check instead of
ASSERT is better.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c