aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/blktrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c
index 6fb274f5f34e..ee7a8bb8b1e8 100644
--- a/kernel/trace/blktrace.c
+++ b/kernel/trace/blktrace.c
@@ -1168,7 +1168,7 @@ static int blk_trace_synthesize_old_trace(struct trace_iterator *iter)
1168 const int offset = offsetof(struct blk_io_trace, sector); 1168 const int offset = offsetof(struct blk_io_trace, sector);
1169 struct blk_io_trace old = { 1169 struct blk_io_trace old = {
1170 .magic = BLK_IO_TRACE_MAGIC | BLK_IO_TRACE_VERSION, 1170 .magic = BLK_IO_TRACE_MAGIC | BLK_IO_TRACE_VERSION,
1171 .time = ns2usecs(iter->ts), 1171 .time = iter->ts,
1172 }; 1172 };
1173 1173
1174 if (!trace_seq_putmem(s, &old, offset)) 1174 if (!trace_seq_putmem(s, &old, offset))