stackwalk
顯示堆疊逐步執行選項。 堆疊逐步旗標可以直接在命令列或檔案中指定。
xperf -on base -stackwalk ThreadCreate+ProcessCreate
- 或-
xperf -on base -stackwalk ThreadCreate -stackwalk ProcessCreate
- 或-
xperf -on base -stackwalk @stack.txt
- 或-
xperf -on base -stackwalk 0x0501
備註
您可以以下列格式指定自訂堆疊逐步旗標:0xmmnn,其中 mm 是事件群組, nn 是事件種類。
檔案可以包含前面加上驚嘆號的空白行或批註 (!) 。
下列清單顯示辨識的堆疊逐步旗標:
AlpcClosePort
AlpcConnectFail
AlpcConnectRequest
AlpcConnectSuccess
AlpcReceiveMessage
AlpcSendMessage
AlpcUnwait
AlpcWaitForNewMessage
AlpcWaitForReply
CcCanIWriteFail
CcFlushCache
CcFlushSection
CcLazyWriteScan
CcReadAhead
CcWorkitemComplete
CcWorkitemDequeue
CcWorkitemEnqueue
CcWriteBehind
ContiguousMemoryGeneration
CritSecCollision
CSwitch
DiskFlushInit
DiskReadInit
DiskWriteInit
ExecutiveResource
FileCleanup
FileClose
FileCreate
FileDelete
FileDirEnum
FileDirNotify
FileFlush
FileFSCTL
FileOpEnd
FileQueryInformation
FileRead
FileRename
FileSetInformation
FileWrite
HardFault
HeapAlloc
HeapCreate
HeapDestroy
HeapFree
HeapRangeCreate
HeapRangeDestroy
HeapRangeRelease
HeapRangeReserve
HeapRealloc
ImageLoad
ImageUnload
KernelQueueDequeue
KernelQueueEnqueue
KernelSignal
KernelSignalInit
KernelSync
KernelSyncAll
KernelWaitSync
KernelWaitSyncAll
MapFile
標記
MiniFilterPostOpInit
MiniFilterPreOpInit
PagefaultAV
PagefaultCopyOnWrite
PagefaultDemandZero
PagefaultGuard
PagefaultHard
PagefaultTransition
PagefileBackedImageMapping
PageRangeAccess
PageRangeRelease
PoolAlloc
PoolAllocSession
PoolFree
PoolFreeSession
PowerDeviceNotify
PowerDeviceNotifyComplete
PowerIdleStateChange
PowerPerfStateChange
PowerPostSleep
PowerPreSleep
PowerSessionCallout
PowerSessionCalloutReturn
PowerSetDevicesState
PowerSetDevicesStateReturn
PowerSetPowerAction
PowerSetPowerActionReturn
PowerThermalConstraint
ProcessCreate
ProcessDelete
設定檔
ProfileSetInterval
ReadyThread
RegCloseKey
RegCreateKey
RegDeleteKey
RegDeleteValue
RegEnumerateKey
RegEnumerateValueKey
RegFlush
RegKcbCreate
RegKcbDelete
RegOpenKey
RegQueryKey
RegQueryMultipleValue
RegQueryValue
RegSetInformation
RegSetValue
RegVirtualize
SplitIO
SyscallEnter
SyscallExit
ThreadCreate
ThreadDelete
ThreadPoolCallbackCancel
ThreadPoolCallbackDequeue
ThreadPoolCallbackEnqueue
ThreadPoolCallbackStart
ThreadPoolCallbackStop
ThreadPoolClose
ThreadPoolCreate
ThreadPoolSetMaxThreads
ThreadPoolSetMinThreads
ThreadSetBasePriority
ThreadSetPriority
TimerSetOneShot
TimerSetPeriodic
UnMapFile
VirtualAlloc
VirtualFree
範例
堆疊導覽旗標檔案可以包含每一行任意數目的堆疊導覽旗標、以空格分隔、加上符號 (+) ,或在新的行上,如下列範例所示。
ThreadCreate ProcessCreate
DiskReadInit+DiskWriteInit+DiskFlushInit
CSwitch