Last time I used XPerf it killed my SSD, too much disk activity.
Is there an easy way to make XPerf write its trace data to an alterna开发者_JAVA百科tive hard drive?
I am using the script HeapMonitor.cmd to start up XPerf, so I am guessing there are some command line options for XPerf that will do what I need?
I haven't tried this but maybe you can work it out with a combination of absolute paths for ProfileFileName in -start and MergedETL in -stop -d ?
Here's a link to the command line parameter help.
OK, so the answer is simply to move the HeapMonitor.cmd file to the other hard drive (non SSD) and it will just work.
There are command line options which look like this,
-f heap.etl
which could be changed to
-f f:\blah\heap.etl
I have done some of them, but not all of them, and it still seems to work.
精彩评论