Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:54:52 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:g_buffer_overrun_cpu - get the number of overruns caused by the ring* buffer wrapping around (only if RB_FL_OVERWRITE is on).*@buffer: The ring buffer*@cpu: The per CPU buffer to get the number of overruns from
Proto:unsigned long ring_buffer_overrun_cpu(struct ring_buffer *buffer, int cpu)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer * | buffer | |
int | cpu |
3425 | If Not pumask_test_cpu - test for a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in @cpumask, else returns 0 Then Return 0 |
3428 | cpu_buffer = buffers[cpu] |
3429 | ret = local_read( & overrun) |
3431 | Return ret |
Name | Describe |
---|---|
get_total_entries_cpu | |
tracing_stats_read |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |