ShellPkg/Dp: Make the help info align with code
Currently in DP, the Trace mode is enabled by default. And the profile mode is not implemented. but the help info of DP tool doesn't match current implementation. Which will make user confused. So now remove the unused source code related to the profile mode and update the help information of DP tool. V2: Remove the unused code related to profile mode. Cc: Liming Gao <liming.gao@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Jaben Carsey <jaben.carsey@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>
This commit is contained in:
@ -72,7 +72,6 @@
|
||||
#string STR_DP_STATS_NUMPEIMS #language en-US "%,8d are PEIMs.\n"
|
||||
#string STR_DP_STATS_NUMGLOBALS #language en-US "%,8d are general measurements.\n"
|
||||
#string STR_DP_STATS_NUMPROFILE #language en-US "%,8d are profiling records.\n"
|
||||
#string STR_DP_SECTION_PROFILE #language en-US "Sequential Profile Records"
|
||||
#string STR_DP_SECTION_ALL #language en-US "Sequential Trace Records"
|
||||
#string STR_DP_ALL_HEADR #language en-US "\nIndex Handle Module Token Time(us)\n"
|
||||
#string STR_DP_ALL_VARS #language en-US "%5d:%3s0x%08p %36s %13s %L8d\n"
|
||||
@ -80,7 +79,6 @@
|
||||
#string STR_DP_ALL_HEADR2 #language en-US "\nIndex Handle Module Token Time(us) ID\n"
|
||||
#string STR_DP_ALL_VARS2 #language en-US "%5d:%3s0x%08p %36s %13s %L8d %5d\n"
|
||||
#string STR_DP_SECTION_RAWTRACE #language en-US "RAW Trace"
|
||||
#string STR_DP_SECTION_RAWPROFILE #language en-US "RAW Profile"
|
||||
#string STR_DP_RAW_DASHES #language en-US "---------------------------------------------------------------------------------------------------------------------------\n"
|
||||
#string STR_DP_RAW_VARS #language en-US "%5d: %16LX %16LX %16LX %31a %31a\n"
|
||||
#string STR_DP_RAW_HEADR #language en-US "\nIndex Handle Start Count End Count Token Module\n"
|
||||
@ -98,7 +96,7 @@
|
||||
".SH NAME\r\n"
|
||||
"Displays performance metrics that are stored in memory.\r\n"
|
||||
".SH SYNOPSIS\r\n"
|
||||
"DP [-b] [-v] [-x] [-s | -A | -R] [-T] [-P] [-t value] [-n count] [-c [token]][-i] [-h | -?]\r\n"
|
||||
"DP [-b] [-v] [-x] [-s | -A | -R] [-t value] [-n count] [-c [token]][-i] [-?]\r\n"
|
||||
".SH OPTIONS\r\n"
|
||||
" \r\n"
|
||||
" -b - Displays on multiple pages\r\n"
|
||||
@ -107,8 +105,6 @@
|
||||
" -s - Displays summary information only\r\n"
|
||||
" -A - Displays all measurements in a list\r\n"
|
||||
" -R - Displays all measurements in raw format\r\n"
|
||||
" -T - Displays trace measurements only\r\n"
|
||||
" -P - Displays profile measurements only\r\n"
|
||||
" -t VALUE - Sets display threshold to VALUE microseconds\r\n"
|
||||
" -n COUNT - Limits display to COUNT lines in All and Raw modes\r\n"
|
||||
" -i - Displays identifier\r\n"
|
||||
|
Reference in New Issue
Block a user