函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 13:00:53 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:g_buffer_read_prepare - Prepare for a non consuming read of the buffer*@buffer: The ring buffer to read from*@cpu: The cpu buffer to iterate over*@flags: gfp flags to use for memory allocation* This performs the initial preparations necessary to iterate
函数原型:struct ring_buffer_iter *ring_buffer_read_prepare(struct ring_buffer *buffer, int cpu, gfp_t flags)
返回类型:struct ring_buffer_iter
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer * | buffer | |
int | cpu | |
gfp_t | flags |
4209 | 如果非测试CPU信息则返回:NULL |
4213 | 如果非iter则返回:NULL |
4216 | cpu_buffer等于buffers[cpu] |
4218 | cpu_buffer等于cpu_buffer |
4220 | atomic_inc( & resize_disabled) |
4221 | atomic_inc( & record_disabled) |
4223 | 返回:iter |
名称 | 描述 |
---|---|
__tracing_open | |
ftrace_dump_buf |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |