Offset Column Ask

Devin Rider 6 Reputation points Microsoft Employee
2026-09-03T20:34:11.1766667+00:00

Can we add an offset column to the "Available Columns" in the CPU Usage (Sampled) View Editor? When we capture XPerf traces from live SQL instances using the Address column helps us pinpoint the right instruction, however these are virtual addresses from the process space, and offline analysis doesn't work here. We can use the offset column to find the same address when we open the binary with windbg, so we can do further analysis on hot functions without having to have the process running.

Windows development | Windows Performance Toolkit
0 comments No comments

1 answer

Sort by: Most helpful
  1. Gary Nebbett 6,531 Reputation points
    2026-09-04T11:01:44.1933333+00:00

    Hello Devin,

    The view editor for "CPU Usage (Sampled)" can be used to add a column named "Image RVA"; "Image RVA" is what you probably mean by "offset" (RVA = Relative Virtual Address).

    User's image

    The .etl file needs to include Image Load/Unload/Rundown events in order to calculate the "Image RVA" value.

    Assuming that the .etl file contains Image Load/Unload/Rundown events, Process Create/Terminate/Rundown events and Sampled Profile events then there is no need that the "process of interest" should still be running; indeed, the trace could be analysed on another system and the RVA information would still be calculable. Including ImageId events in the trace would make converting "Image RVA" values into function (symbol) names plus offsets straightforward.

    Gary

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.