Am 04.11.2011 11:23, schrieb Laurent Pinchart:
Hi Alexey,
On Friday 04 November 2011 09:19:45 Alexey Fisher wrote:
Am 03.11.2011 17:27, schrieb Laurent Pinchart:
Create a debugfs entry per UVC stream. This will be used to export
stream statistics.
Signed-off-by: Laurent Pinchart<laurent.pinch...@ideasonboard.com>
Ok, i see you made it in mind more fore online statistic. I wonted to
make it more for postmortum trouble shooting. For example i added start
time and time of first frame because some apps make problems if cam
starting too slow. I also added time of first error_bit and so.
(probably not in the patch i send you before)
It's indeed not in the latest patch I've got.
The question is, do you wont to make separate files for verbose report
and for statistic?
My idea is, if some body has some problem with the cam, instead of
telling reload module with ...blabla... i can just tell: reproduce the
error and send me content of /sys/debug...bla ...
You know what i mean?
For example we can add firs usb error we got and time stamp of it, to
make it more computer forensic friendly :)
That sounds like a good idea to me. The real question will then be to pick
what information to report. Things like the selected alternate setting and the
bandwidth requested by the camera are very important for instance.
I'd like that to be exposed through a separate file, as that information isn't
really statistics. Are you OK with such an approach ?
OK :)
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel