次の方法で共有


Tracelog

Tracelog (Tracelog.exe) は、コマンド プロンプト ウィンドウで実行されるイベント トレース コントローラーです。 このセクションでは、Tracelog について説明し、そのコマンド構文について説明し、その使用例を示します。

Tracelog (Tracelog.exe) は、WDK、Visual Studio、デスクトップ アプリ用 Windows SDK をインストールするときに含まれます。 キットのダウンロードについては、「 Windows ハードウェアのダウンロード」を参照してください。

インストール後 TraceLog.exe は、そのバージョンのキットの bin ディレクトリに配置されます。 必要なプロセッサを選択します。 たとえば、x64 バージョンの場合: C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64>

Tracelog でできること

Tracelog は、コマンド プロンプト ウィンドウでイベント トレース コントローラーとして使用できます。

Note To control a trace session you must be a member of the Performance Log Users group or the Administrators group on the computer (Run as administrator).

Tracelog の機能は次のとおりです。

Tracelog は、トレース セッション中にプロバイダーによって生成されたトレース メッセージを含むイベント トレース ログ (.etl) ファイルを生成します。 メッセージはバイナリ形式でファイルに格納されます。 To display the trace messages in a readable format, use TraceView or Tracefmt.

Tracelog は、カーネル モードとプライベート (ユーザー モード) トレース セッション、および NT カーネル ロガー トレース セッショングローバル ロガー トレース セッションなどの特別なセッションを制御します。

Tracelog は Windows 7 以降のバージョンの Windows で実行されます。

Many of the features of Tracelog are also available in TraceView, a tool included in the Windows Driver Kit (WDK) that has a graphical user interface in addition to a command-line interface.

このセクションでは...