Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace.c Create Date:2022-07-28 11:59:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Thise allows for lockless recording. If we're nested too deeply, then* this returns NULL.

Proto:static char *get_trace_buf(void)

Type:char

Parameter:Nothing

3090  buffer = this_cpu_ptr(trace_percpu_buffer)
3092  If Not buffer || nesting >= 4 Then Return NULL
3095  nesting++
3098  The "volatile" is due to gcc bugs ()
3099  Return buffer[nesting][0]
Caller
NameDescribe
trace_vbprintkrace_vbprintk - write binary msg to tracing buffer*@ip: The address of the caller*@fmt: The string format to write to the buffer*@args: Arguments for @fmt
__trace_array_vprintk