函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 13:00:16 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:The total entries in the ring buffer is the running counter* of entries entered into the ring buffer, minus the sum of* the entries read from the ring buffer and the number of* entries that were overwritten.
函数原型:static inline unsigned long rb_num_of_entries(struct ring_buffer_per_cpu *cpu_buffer)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer |
3339 | 返回:local_read( & entries)减local_read( & overrun)加read |
名称 | 描述 |
---|---|
ring_buffer_entries_cpu | g_buffer_entries_cpu - get the number of entries in a cpu buffer*@buffer: The ring buffer*@cpu: The per CPU buffer to get the entries from. |
ring_buffer_entries | g_buffer_entries - get the number of entries in a buffer*@buffer: The ring buffer* Returns the total number of entries in the ring buffer* (all CPU entries) |
rb_get_reader_page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |