tools to identify bugs in driver

Greg KH greg at kroah.com
Thu May 12 00:49:16 EDT 2011


On Thu, May 12, 2011 at 10:04:04AM +0530, Amit Nagal wrote:
> Hi ,
> 
> What are the mandatory tools that must be run to identify potential
> bugs ( say memory , locking etc )
> in a linux device driver ?

Turn lockdep and the kernel memory leak detector and run your driver and
see what happens.

Have you tried that?

thanks,

greg k-h



More information about the Kernelnewbies mailing list