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:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__trace_mmiotrace_map

Proto:static void __trace_mmiotrace_map(struct trace_array *tr, struct trace_array_cpu *data, struct mmiotrace_map *map)

Type:void

Parameter:

TypeParameterName
struct trace_array *tr
struct trace_array_cpu *data
struct mmiotrace_map *map
329  call = event_mmiotrace_map
330  buffer = buffer
333  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.
335  event = trace_buffer_lock_reserve(buffer, TRACE_MMIO_MAP, size of entry , 0, pc)
337  If Not event Then
338  atomic_inc( & dropped_count)
339  Return
341  entry = g_buffer_event_data - return the data of the event*@event: the event to get the data from
342  map = map
344  If Not call_filter_check_discard(call, entry, buffer, event) Then trace_buffer_unlock_commit(tr, buffer, event, 0, pc)
Caller
NameDescribe
mmio_trace_mapping