函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace.c Create Date:2022-07-27 13:05:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static char *get_trace_buf(void)

返回类型:char

参数:

3090  buffer等于this_cpu_ptr(trace_percpu_buffer)
3092  如果非buffernesting大于等于4则返回:NULL
3095  nesting自加
3098  The "volatile" is due to gcc bugs ()
3099  返回:buffer[nesting][0]
调用者
名称描述
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