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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to