Lines Matching defs:op_ring_buffer
35 static struct trace_buffer *op_ring_buffer;
57 if (op_ring_buffer)
58 ring_buffer_free(op_ring_buffer);
59 op_ring_buffer = NULL;
72 op_ring_buffer = ring_buffer_alloc(byte_size, OP_BUFFER_FLAGS);
73 if (!op_ring_buffer)
147 (op_ring_buffer, sizeof(struct op_sample) +
160 return ring_buffer_unlock_commit(op_ring_buffer, entry->event);
166 e = ring_buffer_consume(op_ring_buffer, cpu, NULL, NULL);
180 return ring_buffer_entries_cpu(op_ring_buffer, cpu);