函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:g_buffer_iter_empty - check if an iterator has no more to read*@iter: The iterator to check

函数原型:int ring_buffer_iter_empty(struct ring_buffer_iter *iter)

返回类型:int

参数:

类型参数名称
struct ring_buffer_iter *iter
3596  cpu_buffer等于cpu_buffer
3599  reader等于reader_page
3600  head_page等于ad from head
3601  commit_page等于committed pages
3602  commit等于rb_page_commit(commit_page)
3604  返回:head_page恒等于commit_pagehead恒等于commithead_page恒等于readercommit_page恒等于head_pagedex for next read 恒等于commithead恒等于rb_page_commit(reader_page)
调用者
名称描述
rb_iter_peek
trace_empty