Advertisement
MagicAndre1981

slow charmsbar tracing with xperf

Oct 31st, 2013
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. Install the Windows Performance Toolkit (http://social.technet.microsoft.com/wiki/contents/articles/4847.install-the-windows-performance-toolkit-wpt.aspx), open the command prompt with admin rights.
  2.  
  3. Copy this into a new txt file and rename it to CMD and run it from the cmd:
  4. //////////////////////////77
  5.  
  6. xperf -on latency+FILENAME+FILE_IO+FILE_IO_INIT -stackwalk profile+FileCreate+FileCleanup+FileClose+FileRead+FileWrite+FileSetInformation+FileDelete+FileRename -buffersize 1024 -MaxFile 512 -FileMode Circular -f kernel.etl
  7. xperf -start UserLogger -on Microsoft-Windows-Immersive-Shell:0xffffffffffffffff:0xff:'stack'+Microsoft-Windows-WindowsUIImmersive:0xffffffffffffffff:0xff:'stack'+Microsoft-Windows-Search-Core:0xffffffffffffffff:0xff:'stack'+Microsoft-Windows-Search:0xffffffffffffffff:0xff:'stack'+Microsoft-Windows-UI-Search:0xffffffffffffffff:0xff:'stack' -BufferSize 1024 -f USER.etl
  8.  
  9. echo At this point, the test pass should be performed.
  10.  
  11. pause
  12.  
  13.  
  14. Xperf -stop
  15. Xperf -stop USERLogger
  16. Xperf -merge USER.etl kernel.etl Result.etl
  17.  
  18. del USER.etl
  19. del kernel.etl
  20. //////////////
  21.  
  22. If you have enough data (30-60s), press a key to stop tracing.
  23.  
  24. zip the Result.etl as 7z/RAR (to reduce the size), upload it (Skydrive, dropbox) and paste a link here.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement