Re: Debugging activated during runtime

2007-10-28 Thread Jan Engelhardt
On Oct 28 2007 17:07, Roel Kluin wrote: >Jan Engelhardt wrote: >> On Oct 28 2007 16:15, Roel Kluin wrote: >>> Wouldn't it be nice to be able to specify upon loading, or during runtime >>> to modules whether debug messages should be printed? >> >> modprobe ark3116 debug=1 >> >> Nothing new. >

Re: Debugging activated during runtime

2007-10-28 Thread Roel Kluin
Jan Engelhardt wrote: > On Oct 28 2007 16:15, Roel Kluin wrote: >> Wouldn't it be nice to be able to specify upon loading, or during runtime >> to modules whether debug messages should be printed? > > modprobe ark3116 debug=1 > > Nothing new. Ok, thanks and sorry, I didn't know that. >> - A

Re: Debugging activated during runtime

2007-10-28 Thread Jan Engelhardt
On Oct 28 2007 16:15, Roel Kluin wrote: > >Wouldn't it be nice to be able to specify upon loading, or during runtime >to modules whether debug messages should be printed? modprobe ark3116 debug=1 Nothing new. >- No kernel recompile needed for debugging. >- Less *_DEBUG options required in

Debugging activated during runtime

2007-10-28 Thread Roel Kluin
Wouldn't it be nice to be able to specify upon loading, or during runtime to modules whether debug messages should be printed? - No kernel recompile needed for debugging. - Less *_DEBUG options required in menuconfig. How I think this could work: Add to the module struct a bool to denote

Debugging activated during runtime

2007-10-28 Thread Roel Kluin
Wouldn't it be nice to be able to specify upon loading, or during runtime to modules whether debug messages should be printed? - No kernel recompile needed for debugging. - Less *_DEBUG options required in menuconfig. How I think this could work: Add to the module struct a bool to denote

Re: Debugging activated during runtime

2007-10-28 Thread Jan Engelhardt
On Oct 28 2007 16:15, Roel Kluin wrote: Wouldn't it be nice to be able to specify upon loading, or during runtime to modules whether debug messages should be printed? modprobe ark3116 debug=1 Nothing new. - No kernel recompile needed for debugging. - Less *_DEBUG options required in

Re: Debugging activated during runtime

2007-10-28 Thread Roel Kluin
Jan Engelhardt wrote: On Oct 28 2007 16:15, Roel Kluin wrote: Wouldn't it be nice to be able to specify upon loading, or during runtime to modules whether debug messages should be printed? modprobe ark3116 debug=1 Nothing new. Ok, thanks and sorry, I didn't know that. - A module could

Re: Debugging activated during runtime

2007-10-28 Thread Jan Engelhardt
On Oct 28 2007 17:07, Roel Kluin wrote: Jan Engelhardt wrote: On Oct 28 2007 16:15, Roel Kluin wrote: Wouldn't it be nice to be able to specify upon loading, or during runtime to modules whether debug messages should be printed? modprobe ark3116 debug=1 Nothing new. Ok, thanks and