Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f3134de6
Commit
f3134de6
authored
Dec 12, 2008
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branches 'tracing/function-graph-tracer' and 'tracing/ring-buffer' into tracing/core
parents
e726f5f9
361b73d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
include/linux/ring_buffer.h
include/linux/ring_buffer.h
+6
-4
No files found.
include/linux/ring_buffer.h
View file @
f3134de6
...
@@ -29,16 +29,18 @@ struct ring_buffer_event {
...
@@ -29,16 +29,18 @@ struct ring_buffer_event {
*
*
* @RINGBUF_TYPE_TIME_STAMP: Sync time stamp with external clock
* @RINGBUF_TYPE_TIME_STAMP: Sync time stamp with external clock
* array[0] = tv_nsec
* array[0] = tv_nsec
* array[1] = tv_sec
* array[1
..2
] = tv_sec
* size = 16 bytes
* size = 16 bytes
*
*
* @RINGBUF_TYPE_DATA: Data record
* @RINGBUF_TYPE_DATA: Data record
* If len is zero:
* If len is zero:
* array[0] holds the actual length
* 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
* else
* length = len << 2
* 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
{
enum
ring_buffer_type
{
RINGBUF_TYPE_PADDING
,
RINGBUF_TYPE_PADDING
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment