函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 13:00:45 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:rb_reader_lock
函数原型:static inline bool rb_reader_lock(struct ring_buffer_per_cpu *cpu_buffer)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer |
4039 | 如果此条件成立可能性大(为编译器优化)(!in_nmi())则 |
4040 | raw_spin_lock( & serialize readers ) |
4041 | 返回:true |
4057 | atomic_inc( & record_disabled) |
4058 | 返回:false |
名称 | 描述 |
---|---|
ring_buffer_peek | g_buffer_peek - peek at the next event to be read*@buffer: The ring buffer to read*@cpu: The cpu to peak at*@ts: The timestamp counter of this event |
ring_buffer_consume | g_buffer_consume - return an event and consume it*@buffer: The ring buffer to get the next event from*@cpu: the cpu to read the buffer from*@ts: a variable to store the timestamp (may be NULL)*@lost_events: a variable to store if events were lost (may be |
ring_buffer_empty | d_buffer_empty - is the ring buffer empty?*@buffer: The ring buffer to test |
ring_buffer_empty_cpu | g_buffer_empty_cpu - is a cpu buffer of a ring buffer empty?*@buffer: The ring buffer*@cpu: The CPU buffer to test |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |