Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-28 11:54:56
Last Modify:2020-03-17 19:30:04 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rb_iter_reset

Proto:static void rb_iter_reset(struct ring_buffer_iter *iter)

Type:void

Parameter:

TypeParameterName
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  If head Then read_stamp = read_stamp
3557  Else read_stamp = page time stamp
Caller
NameDescribe
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