John is planning to test the performance of one of the Windows 7 clients in the office by using XPerf.exe. He starts a trace with BASE Kernel Group and cswitch Kernel Flag. He now wants to stop the trace and save it in a file called selftrace.etl. Which of the following commands should he use?
  1. xperf -i selftrace.etl
  2. xperf -merge selftrace.etl kernel.etl
  3. xperf -d selftrace.etl
  4. xperf -i selftrace.etl -a tracestats -detail
Explanation
Answer - C - John should use the xperf -d selftrace.etl command to stop the trace and save it in a file called selftrace.etl.

Key Takeaway: XPerf uses Event Tracing for Windows and is very low overhead, requiring only about 1500-2000 clock cycles per log. While the data collection is running, the XPerf tools are not loaded. The kernel collects the data.
Was this helpful? Upvote!
Login to contribute your own answer or details

Top questions

Related questions

Most popular on PracticeQuiz