Merge branches 'tracing/blktrace', 'tracing/kmemtrace' and 'tracing/urgent' into tracing/core

This commit is contained in:
Ingo Molnar 2009-01-27 14:30:57 +01:00
Родитель 32c0bd9624 cc2f6d90e9 ba2607fe9c
Коммит 4a66a82be7
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -139,12 +139,12 @@ kmemtrace_print_alloc_compress(struct trace_iterator *iter,
return TRACE_TYPE_PARTIAL_LINE; return TRACE_TYPE_PARTIAL_LINE;
/* Requested */ /* Requested */
ret = trace_seq_printf(s, "%4ld ", entry->bytes_req); ret = trace_seq_printf(s, "%4zd ", entry->bytes_req);
if (!ret) if (!ret)
return TRACE_TYPE_PARTIAL_LINE; return TRACE_TYPE_PARTIAL_LINE;
/* Allocated */ /* Allocated */
ret = trace_seq_printf(s, "%4ld ", entry->bytes_alloc); ret = trace_seq_printf(s, "%4zd ", entry->bytes_alloc);
if (!ret) if (!ret)
return TRACE_TYPE_PARTIAL_LINE; return TRACE_TYPE_PARTIAL_LINE;

Просмотреть файл

@ -244,7 +244,7 @@ static inline int test_time_stamp(u64 delta)
return 0; 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. * head_page == tail_page && head == tail then buffer is empty.