Re: about pr_debug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Varka Bhadram <varkabhadram@xxxxxxxxx> writes:

> refer this :https://www.kernel.org/doc/local/pr_debug.txt

That seems a little outdated since it doesn't mention the extremely
useful dynamic debug feature.  So please read
https://www.kernel.org/doc/Documentation/dynamic-debug-howto.txt
as well.

The ability to dynamically switch on and off debug messages per callsite
is extremely useful.  And it also enables you to switch on some extra
info you often want, like function names, without having to explictly
put them into every format string.

I recommend setting CONFIG_DYNAMIC_DEBUG and taking a look at
/sys/kernel/debug/dynamic_debug/control if you ever do any kernel
development.



Bjørn

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies





[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux