Re: How to enable debug statements in v4l2 framework

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

 



On 04/02/2014 07:27 PM, m silverstri wrote:
> Hi,
> 
> In drivers/media/v4l2-core/videobuf2-core.c, I see debug printfs ilke this.
> I want to know how can I enable debug statements in v42l framework?
> 
>  #define dprintk(level, fmt, arg...)                                    \
>         do {                                                            \
>                if (debug >= level)                                     \
>                        printk(KERN_DEBUG "vb2: " fmt, ## arg);         \
>         } while (0)

echo 1 >/sys/module/videobuf2_core/parameters/debug

Regards,

	Hans
--
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