Name

trace_printk — printf formatting in the ftrace buffer

Synopsis

trace_printk ( fmt,
  args...);
 

Arguments

fmt

the printf format for printing

args...

variable arguments

Note

__trace_printk is an internal function for trace_printk and the ip is passed in via the trace_printk macro.

This function allows a kernel developer to debug fast path sections that printk is not appropriate for. By scattering in various printk like tracing in the code, a developer can quickly see where problems are occurring.

This is intended as a debugging tool for the developer only. Please refrain from leaving trace_printks scattered around in your code.