[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49CC4866.5050604@cn.fujitsu.com>
Date: Fri, 27 Mar 2009 11:30:46 +0800
From: Li Zefan <lizf@...fujitsu.com>
To: Ingo Molnar <mingo@...e.hu>
CC: Jens Axboe <jens.axboe@...cle.com>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Steven Rostedt <rostedt@...dmis.org>,
Frederic Weisbecker <fweisbec@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/6] blktrace: make classic output more classic
> @@ -995,7 +995,7 @@ static int blk_log_action_iter(struct trace_iterator *iter, const char *act)
> {
> char rwbs[6];
> unsigned long long ts = ns2usecs(iter->ts);
This should be changed to "ts = iter->ts".
I'll fix it and resend the patchset, since this affects a later patch.
> - unsigned long usec_rem = do_div(ts, USEC_PER_SEC);
> + unsigned long nsec_rem = do_div(ts, NSEC_PER_SEC);
> unsigned secs = (unsigned long)ts;
> const struct trace_entry *ent = iter->ent;
> const struct blk_io_trace *t = (const struct blk_io_trace *)ent;
> @@ -1003,9 +1003,9 @@ static int blk_log_action_iter(struct trace_iterator *iter, const char *act)
> fill_rwbs(rwbs, t);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists