Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__trace_mmiotrace_rw

Proto:static void __trace_mmiotrace_rw(struct trace_array *tr, struct trace_array_cpu *data, struct mmiotrace_rw *rw)

Type:void

Parameter:

TypeParameterName
struct trace_array *tr
struct trace_array_cpu *data
struct mmiotrace_rw *rw
299  call = event_mmiotrace_rw
300  buffer = buffer
303  pc = We mask the PREEMPT_NEED_RESCHED bit so as not to confuse all current users* that think a non-zero value indicates we cannot preempt.
305  event = trace_buffer_lock_reserve(buffer, TRACE_MMIO_RW, size of entry , 0, pc)
307  If Not event Then
308  atomic_inc( & dropped_count)
309  Return
311  entry = g_buffer_event_data - return the data of the event*@event: the event to get the data from
312  rw = rw
314  If Not call_filter_check_discard(call, entry, buffer, event) Then trace_buffer_unlock_commit(tr, buffer, event, 0, pc)
Caller
NameDescribe
mmio_trace_rw