Skip to content

Commit

Permalink
Merge branches 'tracing/function-graph-tracer' and 'tracing/ring-buff…
Browse files Browse the repository at this point in the history
…er' into tracing/core
  • Loading branch information
Ingo Molnar committed Dec 12, 2008
2 parents e726f5f + 361b73d commit f3134de
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions include/linux/ring_buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,19 @@ struct ring_buffer_event {
* size = 8 bytes
*
* @RINGBUF_TYPE_TIME_STAMP: Sync time stamp with external clock
* array[0] = tv_nsec
* array[1] = tv_sec
* array[0] = tv_nsec
* array[1..2] = tv_sec
* size = 16 bytes
*
* @RINGBUF_TYPE_DATA: Data record
* If len is zero:
* array[0] holds the actual length
* array[1..(length+3)/4-1] holds data
* array[1..(length+3)/4] holds data
* size = 4 + 4 + length (bytes)
* else
* length = len << 2
* array[0..(length+3)/4] holds data
* array[0..(length+3)/4-1] holds data
* size = 4 + length (bytes)
*/
enum ring_buffer_type {
RINGBUF_TYPE_PADDING,
Expand Down

0 comments on commit f3134de

Please sign in to comment.