Is there a way or tool I can monitor the driver access to the HBA memory registers on the fly?
Thanks.
Is there a way or tool I can monitor the driver access to the HBA memory registers on the fly?
Thanks.
xxxxx@gmail.com wrote:
Is there a way or tool I can monitor the driver access to the HBA memory registers on the fly?
No. Those are direct memory writes. There’s nothing to intercept.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Sure, you plug your HBA into a PCIe bus analyzer, and it will show you all
the register activity.
I’m not sure what the current pricing on renting a bus analyzer is (busses
get faster but test equipment sometimes get’s cheaper), but it used to be
$X,000/month, where X varies from like 2 to 7, depending on how fancy an
analyzer you get. Companies designing hardware will often own an analyzer,
and as a driver software engineer you just need to go track it down and
negotiate with the hardware folks on sharing it. Even though a bus
analyzer is expensive, it can save a LOT of time.
Jan
On 2/2/15, 6:23 PM, “xxxxx@gmail.com”
wrote:
>Is there a way or tool I can monitor the driver access to the HBA memory
>registers on the fly?
>
>Thanks.
>
Thanks, Tim and Jan. I was thinking about the software called PCIScope but not sure if that would achieve what I really need…
xxxxx@gmail.com wrote:
Thanks, Tim and Jan. I was thinking about the software called PCIScope but not sure if that would achieve what I really need…
That can provide a static snapshot of what resources are present, what
the configuration space looks like, what BARs are assigned, what
interrupts are present, what drivers are assigned, and so on. It can’t
provide any dynamic information. No software solution can every
intercept memory reads and writes.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.