Re: function name in printk

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

 



Yes, and you can also try
__FUNCTION__ (for function name),
__LINE__ (line no),
__FILE__ (file name).



Onkar wrote:
How can I print logs with function name  with printk ?
does __func__ work with printk ?

Regards,
Onkar


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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