Re: [PATCH RT] hwlat_detector: Check the outer side of the loop

From: Jon Masters
Date: Wed Sep 12 2012 - 10:57:28 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/