1TRACE_PRINTK(9)                  Driver Basics                 TRACE_PRINTK(9)
2
3
4

NAME

6       trace_printk - printf formatting in the ftrace buffer
7

SYNOPSIS

9       trace_printk(fmt, args...);
10

ARGUMENTS

12       fmt
13           the printf format for printing
14
15       args...
16           variable arguments
17

NOTE

19       __trace_printk is an internal function for trace_printk and the ip is
20       passed in via the trace_printk macro.
21
22       This function allows a kernel developer to debug fast path sections
23       that printk is not appropriate for. By scattering in various printk
24       like tracing in the code, a developer can quickly see where problems
25       are occurring.
26
27       This is intended as a debugging tool for the developer only. Please
28       refrain from leaving trace_printks scattered around in your code.
29
31Kernel Hackers Manual 2.6.         June 2019                   TRACE_PRINTK(9)
Impressum