Questions tagged [xperf]

xperf.exe is a tool from Windows SDK to control event tracing via designated Windows facility called ETW. The tool is often used for performance analysis and OS troubleshooting.

xperf.exe is a tool from Windows SDK Performance Kit to control event tracing via designated Windows facility called ETW (Event Tracing for Windows). Windows OS components are capable of emitting various ETW events corresponding to events in the Operating System. Examples are context switches and timer interrupts (for CPU profiling). xperf.exe can enable or disable emission of specific types of ETW events and save emitted events in log files for future analysis.

84 questions
1
vote
1 answer

Find CPU usage and Cores by per process and its threads

In linux we have ps and top command that can give very good detail about processes CPU utilization along with on which cores it is running. Do we have something like that in windows which can give Processes and its threads along with CPU usage and…
iCurious
  • 8,161
  • 7
  • 28
  • 46
1
vote
2 answers

Creating a printable report showing statistics from Windows Performance Analyzer Xperf

This is a very simple question. I run Xperf and get all statistics about execution of programs, applications, and so on... Well, I would like to find a tool that enables me to create a printable report of all data collected thank to Xperf. Xperf, in…
Andry
  • 16,172
  • 27
  • 138
  • 246
1
vote
0 answers

Desktop WPF application slowed by DWM operations

We have a WPF application, that sporadically (rarely) becomes very sluggish. We've managed to capture a WPA trace (aka xperf), and it distinctly shows lags in application activity - and at the same time a distinct rise in dwm.exe activity. I…
Ofek Shilon
  • 14,734
  • 5
  • 67
  • 101
1
vote
2 answers

how to view custom provider's events(collected without provider registered) by wpa

I try to use manifested base event to log event for debugging and analyzing. But I have a problem: when I record with my provider registered, everything is fine, when open .etl file in WPA, I can view as much info as I can. But if I collect events…
1
vote
1 answer

WPA "Press Alt + Space to show more detail"

Hovering over a data point in the graph view of Windows Performance Analyzer brings up a small pop-up windows that says "Press Alt + Space to show more detail". But when I do that I get the top level dialog common to all windows which is the dialog…
Marc Sherman
  • 2,303
  • 14
  • 22
1
vote
1 answer

How to export complete stack in text file using wpaexporter (Windows Performance Toolkit)

How to export complete stack in text file using "Windows Performance Toolkit" utility wpaexporter. I am using this command but this give only the root element not complete stack. C:\>wpaexporter.exe -i C:\data\test.etl -profile…
Ibrar Ahmed
  • 1,039
  • 1
  • 13
  • 25
1
vote
1 answer

Windows Performance Analyzer crashes

I have successfully used the WPRUI and WPA applications in the past, the last time a month ago, to identify performance problems in our C++ applications. But today I recorded a new trace of one of them, and open it just to see WPA crashing. It's…
LeCoc
  • 310
  • 2
  • 8
1
vote
3 answers

xperf can't load my DLL's symbols

I'm trying to use xperf to profile my DLL, but it refuses to use my DLL's PDB file. Running xperf on the .etl with -symbols, I get: DBGHELP: mydll- private symbols & lines C:\mydll\debugu\mydll.pdb - unmatched Which leads me to believe it…
Collin Dauphinee
  • 13,664
  • 1
  • 40
  • 71
1
vote
2 answers

Capture callstack and events in Xperf

Sorry about the dumb question. I am new to Xperf. I am on 64-bit Windows 8.1 and my application is also x64. I want to capture both the callstacks and my defined events in the application using Xperf. I registered the GUID…
stanleyli
  • 1,427
  • 1
  • 11
  • 28
1
vote
1 answer

How to stop Xperf / WPR automatic

Is it possible to define an performance counter and thresholds which can stop an ongoing circular trace? Other possibilities to unattended stop of a trace?
Kjell Gunnar
  • 3,017
  • 18
  • 24
1
vote
1 answer

Gpuview logging with cygwin doesn't work

When I run log.cmd from the windows command line, I get errors from xperf saying that the *.etl file already exists. I understand that other processes also use windows ETL and since gpuview uses xperf to trace events, it "collides" in some…
Raja
  • 2,846
  • 5
  • 19
  • 28
1
vote
2 answers

ETW provider for "Window in Focus" graph in Windows Performance Analyser

Windows Performance Analyser has a graph called "Window in Focus". What provider/trace flag should I specify in xperf command line to get such a graph?
hvintus
  • 2,547
  • 21
  • 18
1
vote
1 answer

Garbage Collection ETW Events. Where do I find 'event data'

In the following msdn link, there is 'event data' listed like Count, Depth, Reason .. http://msdn.microsoft.com/en-us/library/ff356162%28v=vs.100%29.aspx#gcstart_v1_event According to this link, I created a .etl…
sa.he
  • 1,391
  • 12
  • 25
1
vote
2 answers

Compare two ETL trace file in Windows

I have an application with custom ETW logging. I use XPERF to listen to these channels and open the ETL trace for analysis. Are there any tools out there which will help me compare 2 ETL files directly? I want to be able to measure the impact of a…
user82383
  • 879
  • 3
  • 11
  • 31
1
vote
2 answers

Symbol Resolution on .NET 4.0 NGEN x64 assembly not working

My symbol resolution on an x64 NGEN .NET 4.0 assembly it not working. Details: I have a .NET 4.0 command line assembly that I am compiling using Visual Studio with an x64 configuration. After I compile, I run NGEN (The 64 bit version) on it. Having…
Thomas Kejser
  • 1,264
  • 1
  • 10
  • 30