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
Kirill Smelkov
linux
Commits
4a66a82b
Commit
4a66a82b
authored
Jan 27, 2009
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branches 'tracing/blktrace', 'tracing/kmemtrace' and 'tracing/urgent' into tracing/core
parents
32c0bd96
cc2f6d90
ba2607fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
kernel/trace/kmemtrace.c
kernel/trace/kmemtrace.c
+2
-2
kernel/trace/ring_buffer.c
kernel/trace/ring_buffer.c
+1
-1
No files found.
kernel/trace/kmemtrace.c
View file @
4a66a82b
...
...
@@ -139,12 +139,12 @@ kmemtrace_print_alloc_compress(struct trace_iterator *iter,
return
TRACE_TYPE_PARTIAL_LINE
;
/* Requested */
ret
=
trace_seq_printf
(
s
,
"%4
l
d "
,
entry
->
bytes_req
);
ret
=
trace_seq_printf
(
s
,
"%4
z
d "
,
entry
->
bytes_req
);
if
(
!
ret
)
return
TRACE_TYPE_PARTIAL_LINE
;
/* Allocated */
ret
=
trace_seq_printf
(
s
,
"%4
l
d "
,
entry
->
bytes_alloc
);
ret
=
trace_seq_printf
(
s
,
"%4
z
d "
,
entry
->
bytes_alloc
);
if
(
!
ret
)
return
TRACE_TYPE_PARTIAL_LINE
;
...
...
kernel/trace/ring_buffer.c
View file @
4a66a82b
...
...
@@ -244,7 +244,7 @@ static inline int test_time_stamp(u64 delta)
return
0
;
}
#define BUF_PAGE_SIZE (PAGE_SIZE -
sizeof(struct buffer_data_page
))
#define BUF_PAGE_SIZE (PAGE_SIZE -
offsetof(struct buffer_data_page, data
))
/*
* head_page == tail_page && head == tail then buffer is empty.
...
...
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