[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.1103202000500.2787@localhost6.localdomain6>
Date: Sun, 20 Mar 2011 20:08:10 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: David Ahern <daahern@...co.com>
cc: linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org,
acme@...stprotocols.net, mingo@...e.hu, peterz@...radead.org,
fweisbec@...il.com, paulus@...ba.org
Subject: Re: [PATCH 1/5] perf events: add support for realtime clock
attribute
On Sun, 20 Mar 2011, David Ahern wrote:
> +
> + if (sample_type & PERF_SAMPLE_REALTIME)
> + data->realtime = ktime_to_ns(ktime_get_real());
That's going to live lock on any sample which happens to hit in a
xtime_lock write locked section. I knew why I suggested adding
tracepoints to the timekeeping code :)
Thanks,
tglx
--
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