当我从 Windows 命令行运行时,我会因为说文件已经存在而log.cmd
收到错误消息。我知道其他进程也使用 Windows ETL,并且由于用于跟踪事件,它在某种意义上“冲突”。尽管如此,我还是得到了大量通过再次运行合并的 ETL 文件。xperf
*.etl
gpuview
xperf
log.cmd
我讨厌使用cmd
并尝试使用cygwin bash
. 我得到类似的错误,但除非DXCstate.etl
,我没有看到其他任何东西。
我正在以管理员权限运行终端,并log.cmd
拥有 755 权限。
$ ./log.cmd
Xperf: error: NT Kernel Logger: Cannot create a file when that file already exists. (0xb7).
Xperf: error: DxTest: Cannot create a file when that file already exists. (0xb7).
Xperf: error: DxLogger: Cannot create a file when that file already exists. (0xb7).
The trace you have just captured "C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\gpuview\DXCState.etl" may contain personally identifiable information, including but not necessarily limited to paths to files accessed, paths to registry accessed and process names. Exact information depends on the events that were logged. Please be aware of this when sharing out this trace with other people.
Xperf: error: DxcStackLogger: Cannot create a file when that file already exists. (0xb7).
Xperf: error: DxcLogger: Cannot create a file when that file already exists. (0xb7).
Xperf: error: UMDLogger: Cannot create a file when that file already exists. (0xb7).
Xperf: error: DXGILogger: Cannot create a file when that file already exists. (0xb7).
Xperf: error: Dx11Logger: Cannot create a file when that file already exists. (0xb7).
Xperf: error: D3D10Level9Logger: Cannot create a file when that file already exists. (0xb7).
Xperf: error: MFLogger: Cannot create a file when that file already exists. (0xb7).
Xperf: error: OLogger: Cannot create a file when that file already exists. (0xb7).
Xperf: error: XAMLLogger: Cannot create a file when that file already exists. (0xb7).
Xperf: error: D2DLogger: Cannot create a file when that file already exists. (0xb7).
Xperf: error: D2DScenariosLogger: Cannot create a file when that file already exists. (0xb7).
$ ls
DXCState.etl* DxEtw.dll* EventsForStackTrace.txt* dota2/ GPUView.chm* GPUView.exe*
LDDMCore.man* log.cmd* plugins/ README.TXT* tplugins/ UMDEtw.man*