File:  [DVB] / dvb-kernel / doc / README.valgrind
Revision 1.1: download - view: text, annotated - select for diffs
Wed Feb 4 17:09:10 2004 UTC (20 years, 4 months ago) by js
Branches: MAIN
CVS tags: twinhan-exp, twinhan, linux_2_4_branch, linux_2_4, OLD_11_HEAD_2004_10_28, LINUXTV-DVB-1_1_1, LINUXTV-DVB-1_1_0, HEAD, FE_REFACTORING
added docs from old DVB/ tree and an updated valgrind patch

valgrind-2.1.0-dvb.patch enables checking correct usage
of the the Linux DVB API ioctls with valgrind
(http://valgrind.kde.org/). Or, more to the point,
it allows you to check your DVB software with valgrind
without getting all those "unknown ioctl" warnings.

Notes:
- only frontend and demux ioctls are currently implemented
- some ioctls take structs as arguments; due to padding, valgrind
  will complain about uninitialized data passed to the ioctl unless
  you memset() the whole struct to some defined value
  (the valgrind patch could be improved to handle this better)

Johannes Stezenbach <js@convergence.de>

LinuxTV legacy CVS <linuxtv.org/cvs>