aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-10-19 13:23:25 -0400
committerSteven Rostedt <rostedt@goodmis.org>2010-10-20 15:17:58 -0400
commitb8b2663bd7c9da04ac804659b9f617c199d0252c (patch)
tree9612cc2a1215cd4e0d67d9a45bed528bbbb83f51 /kernel
parentd9abde2138e0a00a0d7e44676928efa0ef629d48 (diff)
downloadkernel_goldelico_gta04-b8b2663bd7c9da04ac804659b9f617c199d0252c.zip
kernel_goldelico_gta04-b8b2663bd7c9da04ac804659b9f617c199d0252c.tar.gz
kernel_goldelico_gta04-b8b2663bd7c9da04ac804659b9f617c199d0252c.tar.bz2
ring-buffer: Remove unused macro RB_TIMESTAMPS_PER_PAGE
With the binding of time extends to events we no longer need to use the macro RB_TIMESTAMPS_PER_PAGE. Remove it. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/trace/ring_buffer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index f5007d0..ad25490 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -441,9 +441,6 @@ static inline int test_time_stamp(u64 delta)
/* Max payload is BUF_PAGE_SIZE - header (8bytes) */
#define BUF_MAX_DATA_SIZE (BUF_PAGE_SIZE - (sizeof(u32) * 2))
-/* Max number of timestamps that can fit on a page */
-#define RB_TIMESTAMPS_PER_PAGE (BUF_PAGE_SIZE / RB_LEN_TIME_EXTEND)
-
int ring_buffer_print_page_header(struct trace_seq *s)
{
struct buffer_data_page field;