Re: tools to identify bugs in driver

2011-05-12 Thread Daniel Baluta
On Thu, May 12, 2011 at 7:34 AM, Amit Nagal helloin.a...@gmail.com wrote: Hi , What are the mandatory tools that must be run to identify potential bugs ( say memory , locking etc ) in a linux device driver ? Turning on DEBUG_SLAB might be a good option. Have a look for all available options

tools to identify bugs in driver

2011-05-11 Thread Amit Nagal
Hi , What are the mandatory tools that must be run to identify potential bugs ( say memory , locking etc ) in a linux device driver ? Regards Amit Nagal ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: tools to identify bugs in driver

2011-05-11 Thread Greg KH
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