How to add my driver's WPP provider to a Windows Performance Recorder profile?

940 Views Asked by At

I have a Driver configured with WPP tracing.

I'm interested in seeing my driver's WPP tracing messages appearing in the WPA timeline, alongside the rest of the system events.

I tried adding the driver's WPP provider GUID as an EventProvider to a custom profile, but it didn't work.

There's no documentation on how to add WPP (classic) providers to the profile, and its also unclear whether I should initiate the session myself, or will WPR do it for me.

1

There are 1 best solutions below

0
On

I had a similar problem adding WPP providers to WPR. It seems WPP uses an inverted logic for the keyword bitmask (1 is off, 0 is on), so you need to override the default for these providers with the following in the profile's file.

<EventProvider Name="0ec9af87-f800-477d-9eec-f69fd9056506" Id="MyWppProvider">
    <Keywords>
        <Keyword Value="0x0"/>
    </Keywords>
</EventProvider>