stop

Applies To: Windows 8, Windows 8.1

Displays trace stop options.

xperf [-stop [LoggerNames]|[ProfileFileName!ProfileName|SessionName merged.etl]]|[-stopall]|[-cancel rofileFileName!ProfileName|SessionName [NoDelete]] [-d merged.etl] [-heap|-critsec]

Parameters

  • -stopLoggerNames|ProfileFileName!ProfileName|SessionName merged.etl**
    Turns off loggers specified in LoggerNames, turns off loggers in profile ProfileName defined in the ProfileFileName file and merges the ETL files to merged.etl, or turns off logger SessionName defined in the ProfileFileName file and merges the ETL file to Merged.etl.
  • -stopall
    Turns off all logging sessions.
  • -cancelProfileFileName!ProfileName|SessionName [NoDelete]**
    Turns off loggers in profile ProfileName defined in the ProfileFileName file and deletes the trace files, or turns off logger SessionName defined in the ProfileFileName file, and merges the ETL file to Merged.etl. If NoDelete is specified, trace files are not deleted.
  • -dmerged.etl**
    Merges the ETL files of stopped logging sessions merged.etl. If no session is stopped explicitly, the NT kernel logger is stopped implicitly.
  • -boottraceoff**
    Turns off a boot trace.
  • -heap
    Stops heap tracing.
  • -critsec
    Stops critical section tracing.

Remarks

Currently, only one heap trace or critical section trace can be active at a time. Therefore, -heap and -critsec are mutually exclusive. If LoggerNames is not specified or -d is specified with neither -stop nor -stopall present, the kernel logger is stopped.

See Also

Other Resources

Xperf Options