|
| 1 | +//===- WinEtwAdapter.h - Windows ETW Adapter, stub -*- C++ -*-===// |
| 2 | +// |
| 3 | +// The LLVM Compiler Infrastructure |
| 4 | +// |
| 5 | +// This file is distributed under the University of Illinois Open Source |
| 6 | +// License. See LICENSE.TXT for details. |
| 7 | +// |
| 8 | +//===----------------------------------------------------------------------===// |
| 9 | + |
| 10 | +#ifndef LLVM_SUPPORT_WIN_ETW_ADAPTER_H |
| 11 | +#define LLVM_SUPPORT_WIN_ETW_ADAPTER_H |
| 12 | + |
| 13 | +// Event Tracing for Windows (ETW) provides application programmers the ability |
| 14 | +// to start and stop event tracing sessions, instrument an application to |
| 15 | +// provide trace events, and consume trace events. |
| 16 | +#define EventRegisterMicrosoft_Windows_DXCompiler_API() |
| 17 | +#define EventUnregisterMicrosoft_Windows_DXCompiler_API() |
| 18 | +#define DxcEtw_DXCompilerCreateInstance_Start() |
| 19 | +#define DxcEtw_DXCompilerCreateInstance_Stop(hr) |
| 20 | +#define DxcEtw_DXCompilerInitialization_Start() |
| 21 | +#define DxcEtw_DXCompilerInitialization_Stop(hr) |
| 22 | +#define DxcEtw_DXCompilerShutdown_Start() |
| 23 | +#define DxcEtw_DXCompilerShutdown_Stop(hr) |
| 24 | +#define DxcEtw_DXCompilerCompile_Start() |
| 25 | +#define DxcEtw_DXCompilerCompile_Stop(hr) |
| 26 | +#define DxcEtw_DXCompilerDisassemble_Start() |
| 27 | +#define DxcEtw_DXCompilerDisassemble_Stop(hr) |
| 28 | +#define DxcEtw_DXCompilerPreprocess_Start() |
| 29 | +#define DxcEtw_DXCompilerPreprocess_Stop(hr) |
| 30 | +#define DxcEtw_DxcValidation_Start() |
| 31 | +#define DxcEtw_DxcValidation_Stop(hr) |
| 32 | + |
| 33 | +#endif // LLVM_SUPPORT_WIN_ETW_ADAPTER_H |
0 commit comments