Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__trace_buffer_lock_reserve

Proto: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)

Type:struct ring_buffer_event

Parameter:

TypeParameterName
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  If (event != NULL) Then trace_event_setup(event, type, flags, pc)
794  Return event
Caller
NameDescribe
__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