RE: Prioritizing SBP2 daemon
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com At 15:43 +0530 on 9/26/05, priti.rathi@wipro.com wrote: Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5C282.F18D5E8C" How to do it? Can you give me some pointers. 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. --- 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:kelliott@mac.com> AIM/iChatAV: kelliott@mac.com (video chat available) ______________________________________________________ _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Kevin Elliott