函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:g_buffer_read_finish - finish reading the iterator of the buffer*@iter: The iterator retrieved by ring_buffer_start* This re-enables the recording to the buffer, and frees the* iterator.

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

返回类型:void

参数:

类型参数名称
struct ring_buffer_iter *iter
4281  cpu_buffer等于cpu_buffer
4290  raw_spin_lock_irqsave( & serialize readers , flags)
4291  _check_pages - integrity check of buffer pages*@cpu_buffer: CPU buffer with pages to test* As a safety measure we check to make sure the data pages have not* been corrupted.
4292  raw_spin_unlock_irqrestore( & serialize readers , flags)
4294  atomic_dec( & record_disabled)
4295  atomic_dec( & resize_disabled)
4296  kfree(iter)
调用者
名称描述
tracing_release
ftrace_dump_buf