Q: standard method to output statistics from a driver? (Re: [v4l-dvb-maintainer] [cron job] ERRORS: armv5 armv5-ixp i686 m32r mips powerpc64 x86_64 v4l-dvb build) | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Sun, 2008-10-05 at 19:38 +0200, Hans Verkuil wrote: > Results of the daily build of v4l-dvb: > > date: Sun Oct 5 19:00:08 CEST 2008 > path: http://www.linuxtv.org/hg/v4l-dvb > changeset: 9113:979d14edeb2e > gcc version: gcc (GCC) 4.3.1 > hardware: x86_64 > host os: 2.6.26 > > sparse (linux-2.6.26): ERRORS > sparse (linux-2.6.27-rc8): ERRORS > > Detailed results are available here: > > http://www.xs4all.nl/~hverkuil/logs/Sunday.log To make the sparse build cx18 warnings go away, add "__iomem" to the third argument of these functions in cx18-io.h: void cx18_log_write_retries(struct cx18 *cx, int i, const void *addr) void cx18_log_read_retries(struct cx18 *cx, int i, const void *addr) They are just statistics gathering functions. But that leads me to this question: Is there a preferred or standard way to present gathered statistics to a user-space for v4l-dvb drivers? For example, I recall (circa 1997) the g_NCR5380 driver built /proc entries where one could view statistics for that SCSI driver. Right now, I have the cx18 module output collected statistics when the "debug" module param has "info" set and a) the module is unloaded (done for when init fails and I can't get a device node, but need statistics) and b) when using v4l2-ctl --log-status. Regards, Andy -- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list
[Home] [Older V4L] [Linux DVB] [Video Disk Recorder] [Video Technology] [Asterisk] [Photo] [DCCP] [Netdev] [Plasma TVs] [Video Projectors] [PDAs] [Xorg] [Util Linux NG] [Xfree86] [Devices] [Big List of Linux Books] [Free Photo Albums] [LCD TVs] [Fedora Users] [Webcams] [Fedora Women] [HDTV] [ALSA Users] [ALSA Devel] [Stuff] [SSH] [DVB Maintainers] [Linux USB]
![]() |
![]() |