函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rb_iter_reset

函数原型:static void rb_iter_reset(struct ring_buffer_iter *iter)

返回类型:void

参数:

类型参数名称
struct ring_buffer_iter *iter
3546  cpu_buffer等于cpu_buffer
3549  head_page等于reader_page
3550  head等于dex for next read
3552  cache_reader_page等于head_page
3553  cache_read等于read
3555  如果headread_stamp等于read_stamp
3557  否则read_stamp等于 page time stamp
调用者
名称描述
ring_buffer_iter_resetg_buffer_iter_reset - reset an iterator*@iter: The iterator to reset* Resets the iterator, so that it will start from the beginning* again.
rb_iter_peek
ring_buffer_read_startg_buffer_read_start - start a non consuming read of the buffer*@iter: The iterator returned by ring_buffer_read_prepare* This finalizes the startup of an iteration through the buffer