|
From: Skindell, D. <dav...@hp...> - 2011-03-30 15:51:44
|
From: Skindell, David Sent: Wednesday, March 30, 2011 10:47 AM To: 'val...@li...' Subject: Valgrind Feature Query: Storage Driver Testing Just trying to find out if Valgrind can be used to monitor/test a storage device driver, or any device driver and/or Linux service. If anyone knows the yes/no answer or even direct me to an example, it'd be much appreciated. |
|
From: WAROQUIERS P. <phi...@eu...> - 2011-03-30 16:02:22
|
Try to do a web search using your favourite search engine on the words valgrind user mode linux. Apart of this, I have some doubts you can tell GRUB to start Valgrind on the kernel :). Philippe ________________________________ From: Skindell, David [mailto:dav...@hp...] Sent: Wednesday 30 March 2011 17:49 To: val...@li... Subject: [Valgrind-users] Valgrind Feature Query: Storage Driver Testing From: Skindell, David Sent: Wednesday, March 30, 2011 10:47 AM To: 'val...@li...' Subject: Valgrind Feature Query: Storage Driver Testing Just trying to find out if Valgrind can be used to monitor/test a storage device driver, or any device driver and/or Linux service. If anyone knows the yes/no answer or even direct me to an example, it'd be much appreciated. ____ This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy. Any views expressed in this message are those of the sender. |
|
From: John R. <jr...@bi...> - 2011-03-30 16:12:02
|
> Just trying to find out if Valgrind can be used to monitor/test a storage device driver, or any device driver and/or Linux service. If anyone knows the yes/no answer or even direct me to an example, it’d be much appreciated. Put the storage driver as part of a file system in user space (FUSE). Convert the process that implements that file system into an executable shell script that invokes valgrind on the binary compiled program. -- |
|
From: Bart V. A. <bva...@ac...> - 2011-03-30 16:13:38
|
On Wed, Mar 30, 2011 at 5:49 PM, Skindell, David <dav...@hp...>wrote: > > > *From:* Skindell, David > *Sent:* Wednesday, March 30, 2011 10:47 AM > *To:* 'val...@li...' > *Subject:* Valgrind Feature Query: Storage Driver Testing > > > > Just trying to find out if Valgrind can be used to monitor/test a storage > device driver, or any device driver and/or Linux service. If anyone knows > the yes/no answer or even direct me to an example, it’d be much appreciated. > > Hello David, If you want to develop a kernel-mode storage driver, the proper way to develop such a driver (just like any other driver) is to make its operation easily verifiable via source reading (a.k.a. cleanroom programming). If you are not familiar yet with kernel development then you are probably better off developing your driver in user space. Both the STGT<http://stgt.sourceforge.net/>and the SCST <http://scst.sourceforge.net/> projects support user-mode storage drivers. Bart. |