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

Dumping select GPUView events

Is there a way to dump specific events, for example, only the NT events corresponding to a specific process + DX events, into a text file from GPUView or xperf?
Deepak
  • 50
  • 6
0
votes
0 answers

Why do Xperf and ProcMon show different number of events

Currently I'm profiling two Windows applications in order to understand why one is slower than another. First, I ran them with ProcMon tracing enabled and found that each application triggers "FlushBuffersFile" File System event with the same number…
Rom098
  • 2,445
  • 4
  • 35
  • 52
0
votes
0 answers

How to bring Xperf IDLE_STATES like providers in TraceEvent?

I'm working on TraceEvent, and I wanted to get data similar to the data received when we use Xperf IDLE_STATES like providers. Any suggestion what providers can I use in TraceEvent to get that data. If any documentation which might help, please give…
0
votes
0 answers

Identify subscribers(exe or processes) for winlogon

Hi I wanted to debug login delay I can see eventvwr event like following that took around 50-60 secs to complete. The winlogon notification subscriber finished handling the notification event (2). Not able to make out which is the…
user3664223
  • 305
  • 3
  • 19
0
votes
1 answer

How to interprete ETW graphs for sampled and precise CPU usage when they contradict

I'm having difficulties pinning down where our application is spending its time. Looking at the flame graphs of an ETW trace from the sampled and the precise CPU Usage, they contradict each other. Below are the graphs for a 1 second…
Lieven Keersmaekers
  • 57,207
  • 13
  • 112
  • 146
0
votes
1 answer

Windows Performance Analyzer cannot load symbols

I open .etl(produced by xperf) file with WPA, I can see the information about Analysis: I also want to see the process stack, and I think I should load symbols first. But the Load Symbols in Trace is grayed out: I want to ask how to load symbols…
Alfred
  • 71
  • 5
0
votes
1 answer

XPerf and Classic ETW Providers

Is it possible to collection traces from classic ETW providers? Or is XPerf limited to manifest-based ones? I have a custom classic provider and was wondering if I could collect its event using XPerf.
Adam Driscoll
  • 9,395
  • 9
  • 61
  • 104
0
votes
1 answer

xperf call stack functions: "System\Interrupts + DPCs"

While profiling Windows performance with xperf, I've collected a trace and have the call stack data. If if keep digging in to the call stack, the trace sometimes ends with System\Interrupts + DPCs or with System\ETW overhead. I've attached a stack…
tabs_over_spaces
  • 352
  • 1
  • 3
  • 14
0
votes
0 answers

Xperf through a Fast Boot cycle

I need to write a small program/script to run Xperf to collect certain ETW events (OS and drivers) through a Windows Fast Boot (aka Fast Startup) cycle. How would I be able to preserve my program and xperf processes, so they can collect events…
Andrew
  • 127
  • 9
0
votes
1 answer

How to change WPR trace files names?

I am new to Windows Performance Recorder (WPR) and want to know if there is a way to change the names of the trace files when I run a RebootCycle. The command I am using right now is: wpr -start GeneralProfile -filemode -onoffscenario RebootCycle…
rkk817
  • 117
  • 1
  • 13
0
votes
0 answers

Why do I get the error: "Gave up waiting for prefetcher after 300 seconds" when I do a reboot trace on Windows 10 (TH2) on an SSD Drive?

I am trying to measure reboot performance using Windows Performance Toolkit (WPT). The systems I am facing an error on have Windows 10 Threshold 2 on an SSD Drive. The command I use is: xbootmgr -trace rebootCycle -noPrepReboot -postBootDelay…
rkk817
  • 117
  • 1
  • 13
0
votes
1 answer

BiosInitTime from Hibernate Resume ETW trace

Looking at the "BiosInitTime" from ETW events parsed using "tracerpt.exe" and I noticed for hibernate/S4 resume it's always 0 (see example at the end). The same happened with etl traces collected directly using XPERF or via ADK Windows Assessment…
Andrew
  • 127
  • 9
0
votes
1 answer

xperf - CPU cycle consumed by Process for given pair of ETW events

Scenario: 1. Started Xperf. App is started. There are ETW events (E1, E2) in App. While running App, ETW(E1,E2) events are raised, the (T1,T2) are timestamps corresponding to (E1, E2) events. Stop Xperf. ETL file is generated. The (T1,T2)…
Arpit
  • 1
0
votes
3 answers

XPerfView slow to load symbols

I am attempting to perform a stackwalk with Xperf, using a batch file similar to the one listed at Getting the symbols with xperf. I launch XperfView, confirm the symbol path is correct, and then load the symbols. However, when I attempt to open…
sschilz
  • 81
  • 6
0
votes
1 answer

Graphing nr of threads in WPA

I want to graph the number of threads in a process, have found the ThreadID coloumn and set the Unique Count aggregation which is what I want to see over time. I have this field alone to the right of the blue bar, but no graph is shown (yes I have…
Kjell Gunnar
  • 3,017
  • 18
  • 24