Advertisement
MagicAndre1981

trace BackgroundTaskHost starts with xperf

Aug 15th, 2015
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Install the Windows Performance Toolkit (http://social.technet.microsoft.com/wiki/contents/articles/4847.install-the-windows-performance-toolkit-wpt.aspx) (but use the Windows 10 SDK: https://dev.windows.com/en-us/downloads/windows-10-sdk), open the command prompt with admin rights.
  2.  
  3. Now run this command to capture the stop/closing of the poceses:
  4.  
  5. xperf -on PROC_THREAD+LOADER+PROFILE -stackwalk PROFILE+ProcessCreate+ProcessDelete+ImageLoad+ImageUnLoad -buffersize 1024 -MaxFile 1024 -FileMode Circular && timeout 120 && xperf -d C:\BackgroundTaskHost.etl
  6.  
  7. Let the countdown tick down to zero to stop tracing.
  8.  
  9. Compress the BackgroundTaskHost.etl as 7z/RAR (to reduce the size), upload it (Onedrive, dropbox) and paste a link here.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement