函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__trace_mmiotrace_map

函数原型:static void __trace_mmiotrace_map(struct trace_array *tr, struct trace_array_cpu *data, struct mmiotrace_map *map)

返回类型:void

参数:

类型参数名称
struct trace_array *tr
struct trace_array_cpu *data
struct mmiotrace_map *map
329  call等于event_mmiotrace_map
330  buffer等于buffer
333  pc等于抢占计数值
335  event等于trace_buffer_lock_reserve(buffer, TRACE_MMIO_MAP, entry的长度, 0, pc)
337  如果非event
338  atomic_inc( & dropped_count)
339  返回
341  entry等于g_buffer_event_data - return the data of the event*@event: the event to get the data from
342  map等于map
344  如果非call_filter_check_discard(call, entry, buffer, event)则trace_buffer_unlock_commit(tr, buffer, event, 0, pc)
调用者
名称描述
mmio_trace_mapping