Just to make sure I understand what you're doing - this driver looks up
and reports on already open heads, right?

Is the 'q=' the queue * passed into the driver's open(), for the
stats stream itself, or is it what it looks up for itself via the head?

I'd assume the former, but I'm asking just to make sure.

-John

David Grothe wrote:
I run a utility program that opens minor 0 of this driver and uses it to interrogate status of other open streams. Minor 0 is the stats stream, the non-zero (cloned) minors are the data streams.

On Solaris I ran the command three times; on Linux twice.

-- Dave

At 11:52 AM 10/8/2003 Wednesday, John A. Boyd Jr. wrote:

Care to venture an interpretation as well?  I'm curious why there
are two lines in LiS, not one or three (I would have expected one
or three, but not two, but I don't know what your test is doing).

-John

David Grothe wrote:

At 11:02 AM 10/8/2003 Wednesday, John A. Boyd Jr. wrote:

I'm very curious now... 8^)


I happen to have a driver that does what you suggest:
Solaris --
Oct 8 11:33:05 suntst2 cdip_open: sflag=0x0 dev=0x0 minor=0 q=3000232ea80
Oct 8 11:33:07 suntst2 cdip_open: sflag=0x0 dev=0x0 minor=0 q=3000232ea80
Oct 8 11:33:08 suntst2 cdip_open: sflag=0x0 dev=0x0 minor=0 q=3000232ea80
LiS --
cdip_open: sflag=0x0 dev=0xf500 minor=0 q=cf5778f4
cdip_open: sflag=0x0 dev=0xf500 minor=0 q=cf5778f4




_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams



_______________________________________________ Linux-streams mailing list [EMAIL PROTECTED] http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams




_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to