On Wednesday 07 June 2006 09:03, Martin Dauskardt wrote:
> > From: Hans Verkuil <[EMAIL PROTECTED]>
> >
> > > But why is there such a long delay with the recommended ioctl?
> > > What makes the difference? How can I improve it?
> >
> > No idea. Try to set from debug messages in
> > ivtv_stop_v4l2_decode_stream() to see what part takes so much time.
>
> Hi Hans,
> could you describe this a little more? Which debug level do you
> recommend for this?
No, I mean just add printk() messages at several places in the function.
You can see the timestamps of when the message was logged in
(usually) /var/log/messages. So if you see a sizeable gap in timestamps
between two printk's, then the code in between must be the culprit.
It's old-fashioned, but it works.
Hans
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel