Defrag Tools: #40 - WPT - WPR & WPA

Download this episode

Download Video

Description

In this episode of Defrag Tools, Andrew Richards, Chad Beeder and Larry Larsen continue walking you through the Windows Performance Toolkit (WPT).

Resources:
Defrag Tools: #23 - Windows 8 SDK
Defrag Tools: #29 - WinDbg - ETW Logging
Windows Performance Analysis Developer Center
Windows Performance Toolkit
Channel 9 Videos
NTDebugging Blog Article
PFE Blog Series

Timeline:
[00:40] - Windows Performance Recorder (UI)
[06:00] - Windows Performance Analyzer
[06:40] - Providers vs. Visualization
[08:00] - (CPU Usage) Sampled vs. Precise
[12:30] - Analysis Pane
[14:11] - * I was thinking of MDI (Multiple Document Interface]
[14:35] - Blue Bar
[15:27] - Gold/Yellow Bar - How to Aggregate
[19:18] - Symbols & SymCache
[28:40] - Column Customization
[31:50] - More next week... and many more weeks to come!

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Magic​Andre1981

      [00:40] - Windows Performance Recorder (UI)

      the subfolder is created for .net ngened symbols if you have .net processes running.

      [19:18] - Symbols & SymCache

      where you able to repro the slow PDB decoding I talked some time ago?

      Btw, this slide (http://media.ch9.ms/teched/na/2011/ppt/WCL316.pptx) mentions a program symcachegen.exe to convert PDBs to symcache fies from a command line. Why is this tool not part of the public WPT?

       

      The scroling issue is what I already told during the DP/CP and RP. The older xperfview is better to display such stacks. The new WPA only has scrollbars everywhere Crying

    • User profile image
      Steffen​Zeidler

      Is it possible to group the stack column in the WPA using multiple filter expressions? For example to the stack groups file IO, network, JIT, GC or XML processing.

    • User profile image
      windev

      @SteffenZeidler: Not sure what you are asking for.  You can filter to the callers of a function. And then do a filter for the next criteria. Is that what you need?

      Send us an email (defragtools@microsoft.com) if you have private info to describe.

    • User profile image
      Steffen​Zeidler

      @windev:I want a configurable criteria name of the stack in an extra column, so I can group the stacks like
      Stack group name, Filter
      File, kernel32.dll!*File
      Heap, ntdll.dll!*Heap
      TCP/IP, ws2_32.dll!*
      Xml Serialization, System.Xml.dll!System.Xml.Serialization.*
      GC, clr.dll!WKS::gc_heap::*
      JIT, clrjit.dll!*

    • User profile image
      Bruce Dawson

      I would also like symcachegen.exe -- it could be very handy and it seems cruel to mention it but not release it.

      MagicAndre1981 -- regarding your question about slow PDB decoding, there was a regression that caused symbol conversion to run up to 150x slower. The only fix I am aware of is to make sure that older versions of dbghelp.dll/symsrv.dll are in your WPT install directory. See this post for details:

      http://randomascii.wordpress.com/2012/10/04/xperf-symbol-loading-pitfalls/

    • User profile image
      Magic​Andre1981

      @Bruce Dawson

       

      yeah, we fixed it the same way. After using my workaround I did a google search and also found your blog.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.