[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5050A2D8.7080908@redhat.com>
Date: Wed, 12 Sep 2012 10:57:28 -0400
From: Jon Masters <jcm@...hat.com>
To: Steven Rostedt <rostedt@...dmis.org>
CC: LKML <linux-kernel@...r.kernel.org>,
RT <linux-rt-users@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Darren Hart <dvhart@...ux.intel.com>,
Clark Williams <clark@...hat.com>
Subject: Re: [PATCH RT] hwlat_detector: Check the outer side of the loop
On 09/12/2012 10:34 AM, Steven Rostedt wrote:
> The hwlat_detector performs the following test:
>
> t1 = ktime_get();
> t2 = ktime_get();
>
> [ do the checks of t2 - t1 ]
>
> It can detect things like SMIs if it occurs between the t1 and t2
> timestamps, as there will be a large difference between the two.
Oops. Good catch.
Jon.
--
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