capture WPP traces of PCI.sys

Hi All,

a)related to wdi driver …interface PCIE
b)issue device suddenly receive surprise remove after resume from d3 state.

want to fetch the traces of pci.sys to understand or dig deep into this issue

however cant get the wpp traces for the same …
tried so far …fetched the pci.pdb symbol files -->generated tmf files —> but cant get the .mof file and so cant find the GUID of the driver, but the same way i could get the mof file for usbhub3

if any further steps suggested in this regard( to fetch the trace logs of pci.sys) will help surely

thanks in advance

Not sure about regular WPP traces. However, pci.sys uses the WPP Recorder so you can use !rcdrkd.rcdrlogdump pci to dump the in memory log.

By default you get everything but you can filter to the bus level using !pcitree. Just find the bus you want and click the FDO Ext link in the output. For example:

1: kd> !pcitree
  ...
  Bus 0x3 (FDO Ext ffffa1847f1ee650)
    (d=0,  f=0) 10000054 devext 0xffffa1847f358270 devstack 0xffffa1847f358120 0107 Mass Storage Controller/Unknown Sub Class
  ...

1: kd> !devext ffffa1847f1ee650
FDO Extension, Bus 0x3, PDO 0xffffa1847f0b7360  Bus is a child of FDOX 0xffffa1847f2d61d0, Bus 0x0
...
  Bus PNP logs:   !rcdrkd.rcdrlogdump pci -a ffffa1847f20f000

  Bus Power logs: !rcdrkd.rcdrlogdump pci -a ffffa1847f35e000
2 Likes

hi Scott,

thanks a ton i will try this method