Query: trace_puts
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TRACE_PUTS(9) Driver Basics TRACE_PUTS(9)NAMEtrace_puts - write a string into the ftrace bufferSYNOPSIStrace_puts(str);ARGUMENTSstr the string to recordNOTE__trace_bputs is an internal function for trace_puts and the ip is passed in via the trace_puts macro. This is similar to trace_printk but is made for those really fast paths that a developer wants the least amount of "Heisenbug" affects, where the processing of the print format is still too much. 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_puts scattered around in your code. (Extra memory is used for special buffers that are allocated when trace_puts is used)RETURNS0 if nothing was written, positive # if string was. (1 when __trace_bputs is used, strlen(str) when __trace_puts is used)COPYRIGHTKernel Hackers Manual 3.10 June 2014 TRACE_PUTS(9)
Related Man Pages |
---|
trace-cmd.dat(5) - centos |
headerdoc2html(1) - opendarwin |
mb_strtolower(3) - php |
md5(3) - php |
text::micromason::debug(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Shopt -s histappend |
CentOS 6 ran out of space, need to reclaim it |
[TIP] Processing YAML files with yq |
Please Welcome Dave Munro to the Moderator Team! |