* tools to identify bugs in driver
@ 2011-05-12 4:34 Amit Nagal
2011-05-12 4:49 ` Greg KH
2011-05-12 7:58 ` Daniel Baluta
0 siblings, 2 replies; 3+ messages in thread
From: Amit Nagal @ 2011-05-12 4:34 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* tools to identify bugs in driver
2011-05-12 4:34 tools to identify bugs in driver Amit Nagal
@ 2011-05-12 4:49 ` Greg KH
2011-05-12 7:58 ` Daniel Baluta
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2011-05-12 4:49 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* tools to identify bugs in driver
2011-05-12 4:34 tools to identify bugs in driver Amit Nagal
2011-05-12 4:49 ` Greg KH
@ 2011-05-12 7:58 ` Daniel Baluta
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Baluta @ 2011-05-12 7:58 UTC (permalink / raw)
To: kernelnewbies
On Thu, May 12, 2011 at 7:34 AM, Amit Nagal <helloin.amit@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 under make menuconfig's
Kernel Hacking section.
thanks,
Daniel.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-12 7:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-12 4:34 tools to identify bugs in driver Amit Nagal
2011-05-12 4:49 ` Greg KH
2011-05-12 7:58 ` Daniel Baluta
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.