函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-27 12:59:24
Last Modify:2020-03-17 19:30:04 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:rb_reader_event

函数原型:static __always_inline struct ring_buffer_event *rb_reader_event(struct ring_buffer_per_cpu *cpu_buffer)

返回类型:struct ring_buffer_event

参数:

类型参数名称
struct ring_buffer_per_cpu *cpu_buffer
1913  返回:__rb_page_index(reader_page, dex for next read )
调用者
名称描述
rb_advance_reader
rb_buffer_peek
ring_buffer_read_pageg_buffer_read_page - extract a page from the ring buffer*@buffer: buffer to extract from*@data_page: the page to use allocated from ring_buffer_alloc_read_page*@len: amount to extract*@cpu: the cpu of the buffer to extract