函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__trace_mmiotrace_rw

函数原型:static void __trace_mmiotrace_rw(struct trace_array *tr, struct trace_array_cpu *data, struct mmiotrace_rw *rw)

返回类型:void

参数:

类型参数名称
struct trace_array *tr
struct trace_array_cpu *data
struct mmiotrace_rw *rw
299  call等于event_mmiotrace_rw
300  buffer等于buffer
303  pc等于抢占计数值
305  event等于trace_buffer_lock_reserve(buffer, TRACE_MMIO_RW, entry的长度, 0, pc)
307  如果非event
308  atomic_inc( & dropped_count)
309  返回
311  entry等于g_buffer_event_data - return the data of the event*@event: the event to get the data from
312  rw等于rw
314  如果非call_filter_check_discard(call, entry, buffer, event)则trace_buffer_unlock_commit(tr, buffer, event, 0, pc)
调用者
名称描述
mmio_trace_rw