Hi Mulyadi,<br><br> Finally after making some study on the dprintk source, i found that it can be enable by setting the config CONFIG_CPU_FREQ_DEBUG<br> <br> <a href="http://codemonkey.org.uk/projects/cpufreq/">http://codemonkey.org.uk/projects/cpufreq/</a><br>
<br>But the above link say that i need to boot the kernel with cpufreq.debug=7, am not getting how to do that.<br><br>for time being i have got it working by commenting the condition which checks for this variable in the kernel code.<br>
<br>Thanks for your help.<br><br><br><div class="gmail_quote">On Thu, Jan 20, 2011 at 11:11 AM, Mulyadi Santosa <span dir="ltr"><<a href="mailto:mulyadi.santosa@gmail.com">mulyadi.santosa@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Sugnan :)<br>
<div class="im"><br>
On Thu, Jan 20, 2011 at 12:35, sugnan prabhu <<a href="mailto:sugnan.prabhu@gmail.com">sugnan.prabhu@gmail.com</a>> wrote:<br>
><br>
> Sorry, what i meant is, am unable to find other logs which are being print<br>
> using dprint,(ex: in fs/nfs/proc.c) i just wanted to know should i enable<br>
> few flags in the kernel in order to enable those debug messages.<br>
<br>
</div>We follow "not doing top posting" rule here, so please make it as your<br>
habit too :)<br>
<br>
OK, about dprint, I absolutely have no idea. IMHO, you could find out<br>
what dprint() really is e.g whether it is similar to printk or using<br>
other mean such as netlink etc.<br>
<br>
Assuming it's using printk() or similar, find out which facility it<br>
uses...from there...combined with syslog.conf (or syslog alike such as<br>
rsyslog), you should easily parse the output. Enabling flag? maybe,<br>
but I think no need to think about the for now.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">regards,<br>
<br>
Mulyadi Santosa<br>
Freelance Linux trainer and consultant<br>
<br>
blog: <a href="http://the-hydra.blogspot.com" target="_blank">the-hydra.blogspot.com</a><br>
training: <a href="http://mulyaditraining.blogspot.com" target="_blank">mulyaditraining.blogspot.com</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div><br></div>Thanking You,<br>Sugnan Prabhu S<div><a href="http://sugnanprabhu.blogspot.com/" target="_blank">http://sugnanprabhu.blogspot.com/</a></div><br>