trace_console function definition not found in Linux kernel v3.5
In file *kernel/printk.c *in Linux Kernel *3.5 *there is a function call *trace_console(text, 0, len, len); *@line 1219 . But I could not find the definition for same. Am I missing any concept ? -- Thanks and Regards, Siddharth Goel
siddharth goel <siddharth98391@gmail.com> writes:
In file kernel/printk.c in Linux Kernel 3.5 there is a function call trace_console(text, 0, len, len); @line 1219 . But I could not find the definition for same. Am I missing any concept ?
This is a call to a tracepoint. Its definition is synthesized from macros in <include/events/printk.h>. Calls to it may be monitored with perf or systemtap. - FChE
siddharth goel: defined in include/trace/event/printk.h refer to macro TRACE_EVENT_CONDITION(...) 2013-01-02 jiangtao.jit 发件人:siddharth goel 发送时间:2012-12-28 15:43 主题:trace_console function definition not found in Linux kernel v3.5 收件人:"kernelnewbies"<kernelnewbies@kernelnewbies.org> 抄送: In file kernel/printk.c in Linux Kernel 3.5 there is a function call trace_console(text, 0, len, len); @line 1219 . But I could not find the definition for same. Am I missing any concept ? -- Thanks and Regards, Siddharth Goel
participants (3)
-
fche@redhat.com -
jiangtao.jit -
siddharth goel