Skip to content

Commit

Permalink
Merge branches 'tracing/blktrace', 'tracing/kmemtrace' and 'tracing/u…
Browse files Browse the repository at this point in the history
…rgent' into tracing/core
  • Loading branch information
Ingo Molnar committed Jan 27, 2009
3 parents 32c0bd9 + cc2f6d9 + ba2607f commit 4a66a82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions kernel/trace/kmemtrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ kmemtrace_print_alloc_compress(struct trace_iterator *iter,
return TRACE_TYPE_PARTIAL_LINE;

/* Requested */
ret = trace_seq_printf(s, "%4ld ", entry->bytes_req);
ret = trace_seq_printf(s, "%4zd ", entry->bytes_req);
if (!ret)
return TRACE_TYPE_PARTIAL_LINE;

/* Allocated */
ret = trace_seq_printf(s, "%4ld ", entry->bytes_alloc);
ret = trace_seq_printf(s, "%4zd ", entry->bytes_alloc);
if (!ret)
return TRACE_TYPE_PARTIAL_LINE;

Expand Down
2 changes: 1 addition & 1 deletion kernel/trace/ring_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4a66a82

Please sign in to comment.