RE: [PATCH] DVB : add option to dump PDU exchanged with CAM in dvb_core

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: linux-media-owner@xxxxxxxxxxxxxxx [mailto:linux-media-
> owner@xxxxxxxxxxxxxxx] On Behalf Of Sébastien RAILLARD (COEXSI)
> Sent: lundi 28 février 2011 18:53
> To: Linux Media Mailing List
> Subject: [PATCH] DVB : add option to dump PDU exchanged with CAM in
> dvb_core
> 
> Dear all,
> 
> Here is a patch for the dvb_core module, you'll find it attached to this
> message.
> 
> It's adding a new module integer parameter called "cam_dump_pdu" that
> can have the following values:
> - 0 (by default): don't dump PDU (do nothing)
> - 1: Dump all PDU written and read on device through the syscall
> functions.
> The PDU are dumped in segments of 16 bytes maximum written in
> hexadecimal.
> - 2: like value 1 but remove the commonly used PDU for polling
> (generating a lot of "noise" in the logs)
> 
> The goal of dumping PDU exchanged with CAM is to help debugging userland
> applications and libraries.

I have to add that the PDU dumped are the "TPDU" (Transport Protocol Data
Units), the 2nd level of the stack.
The first level of PDU, the "LPDU" (Link Protocol Data Unit) fragments, are
reassembled by the dvb_core module and are not exposed to the applications.

Anyone interested by this option?

> 
> This is my first patch submission, so I may have made some errors
> regarding the submission rules.
> 
> Best regards,
> Sebastien.

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux