函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__trace_buffer_lock_reserve

函数原型:static __always_inline struct ring_buffer_event *__trace_buffer_lock_reserve(struct ring_buffer *buffer, int type, unsigned long len, unsigned long flags, int pc)

返回类型:struct ring_buffer_event

参数:

类型参数名称
struct ring_buffer *buffer
inttype
unsigned longlen
unsigned longflags
intpc
790  event等于g_buffer_lock_reserve - reserve a part of the buffer*@buffer: the ring buffer to reserve from*@length: the length of the data to reserve (excluding event header)* Returns a reserved event on the ring buffer to copy directly to
791  如果(event != NULL)则trace_event_setup(event, type, flags, pc)
794  返回:event
调用者
名称描述
__trace_puts__trace_puts - write a constant string into the trace buffer.*@ip: The address of the caller*@str: The constant string to write*@size: The size of the string.
__trace_bputs__trace_bputs - write the pointer to a constant string into trace buffer*@ip: The address of the caller*@str: The constant string to write to the buffer to
trace_buffer_lock_reserve
trace_event_buffer_lock_reserve
trace_function
__ftrace_trace_stack
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
tracing_mark_write
tracing_mark_raw_write