RE: Prioritizing SBP2 daemon
RE: Prioritizing SBP2 daemon
- Subject: RE: Prioritizing SBP2 daemon
- From: Kevin Elliott <email@hidden>
- Date: Mon, 26 Sep 2005 18:23:28 -0700
At 15:43 +0530 on 9/26/05, email@hidden wrote:
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C5C282.F18D5E8C"
Hi,
---
M>What "activities" are you most interested in? Do you want to see
disk I/O transactions,
M>or FireWire transactions?
----
I need to see both activities like bus reset, login happend on the
SBP2 device etc..
---
M>If you want to watch firewire transactions, then you need to match
to every firewire
M>SBP2 device more aggressively than the driver, and then publish
another identical
M>interface.
---
How to do it? Can you give me some pointers.
I think your only real choice is to subclass "IOFireWireSBP2Target".
From their you can monitor all SPB2 traffic for a given device. If
you don't need to see traffic as the machine is booting, then you can
use a simple user client and have the driver send the data to a user
land as it comes in. If you must see ALL traffic, then you'll need
to cache the traffic in the driver, then send it up when the user
land app connects. You can use a userclient to communicate between
the driver and userland.
--
______________________________________________________
Arguing with an engineer is like wrestling with a pig in mud.
After a while, you realize the pig is enjoying it.
______________________________________________________
Kevin Elliott <mailto:email@hidden>
AIM/iChatAV: email@hidden (video chat available)
______________________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden