Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trace to file does not work. #113

Closed
omnimose opened this issue Jan 22, 2018 · 6 comments
Closed

Trace to file does not work. #113

omnimose opened this issue Jan 22, 2018 · 6 comments

Comments

@omnimose
Copy link

Trace to file does not work.

My windows version is "Microsoft Windows [Version 10.0.16299.192]"

Select Trace to File, client Start Tracing, wait for a while, then click Stop Tracing, it shows below, but there is no trace file gets generated:

wevtutil.exe um "D:\docs\tools\etwpackage\bin\etwproviders.man"
wevtutil.exe im "D:\docs\tools\etwpackage\bin\etwproviders.man" /mf:"C:\Users\georgel\AppData\Local\Temp\ETWProviders.dll" /rf:"C:\Users\georgel\AppData\Local\Temp\ETWProviders.dll"

Starting tracing to disk...
xperf.exe -start "NT Kernel Logger" -on Latency+POWER+DISPATCHER+DISK_IO_INIT+FILE_IO+FILE_IO_INIT+VIRT_ALLOC+MEMINFO -stackwalk Profile+CSwitch+ReadyThread -buffersize 1024 -minbuffers 900 -maxbuffers 900 -f "C:\Users\georgel\AppData\Local\Temp\UIForETWkernel.etl" -start UIforETWSession -on Microsoft-Windows-Win32k:0xfdffffffefffffff+Multi-MAIN+Multi-FrameRate+Multi-Input+Multi-Worker+Microsoft-Windows-Kernel-Memory:0xE0+Microsoft-Windows-Kernel-Power -buffersize 1024 -minbuffers 150 -maxbuffers 150 -f "C:\Users\georgel\AppData\Local\Temp\UIForETWuser.etl"
Tracing is started.
xperf.exe -capturestate UIforETWSession Microsoft-Windows-Win32k:0xfdffffffefffffff+Multi-MAIN+Multi-FrameRate+Multi-Input+Multi-Worker+Microsoft-Windows-Kernel-Memory:0xE0+Microsoft-Windows-Kernel-Power

Stopping tracing...
xperf.exe -stop UIforETWSession -stop "NT Kernel Logger"
The trace you have just captured "C:\Users\georgel\AppData\Local\Temp\UIForETWkernel.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.
The trace you have just captured "C:\Users\georgel\AppData\Local\Temp\UIForETWuser.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.
Tracing stopped.

@randomascii
Copy link
Contributor

That behavior is by design. "Stop Tracing" is intended to mean "stop tracing without recording any data". "Save Trace Buffers" is what saves the trace. Sorry for the confusion. I'm open to ideas for how to improve the UI to avoid confusion.

@amaiorano
Copy link
Member

Perhaps "Cancel Tracing" would be more clear? I also accidentally hit Stop Tracing thinking it would stop and save the trace file :)

randomascii added a commit that referenced this issue Mar 22, 2018
This fixes issue #113, confusiong caused by that button. Now it will be
much clearer that the Cancel (nee Stop) Tracing button is not how you
save a trace.
@randomascii
Copy link
Contributor

Yep,

@randomascii randomascii reopened this Mar 22, 2018
@randomascii
Copy link
Contributor

Yep, I've heard multiple people be confused by this, and changing to Cancel Tracing is a good fix. Done. I'll push a new release at some point, and try to be less stubborn next time :-)

@randomascii
Copy link
Contributor

I updated the existing release, same version number.

@amaiorano
Copy link
Member

Thanks, Bruce! And thank you for making this wonderful tool :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants