Searched refs:op_ring_buffer (Results 1 – 1 of 1) sorted by relevance
35 static struct trace_buffer *op_ring_buffer; variable57 if (op_ring_buffer) in free_cpu_buffers()58 ring_buffer_free(op_ring_buffer); in free_cpu_buffers()59 op_ring_buffer = NULL; in free_cpu_buffers()72 op_ring_buffer = ring_buffer_alloc(byte_size, OP_BUFFER_FLAGS); in alloc_cpu_buffers()73 if (!op_ring_buffer) in alloc_cpu_buffers()147 (op_ring_buffer, sizeof(struct op_sample) + in op_cpu_buffer_write_reserve()160 return ring_buffer_unlock_commit(op_ring_buffer, entry->event); in op_cpu_buffer_write_commit()166 e = ring_buffer_consume(op_ring_buffer, cpu, NULL, NULL); in op_cpu_buffer_read_entry()180 return ring_buffer_entries_cpu(op_ring_buffer, cpu); in op_cpu_buffer_entries()