Re: [PATCH 2/2] tracing, sched: Add a new tracepoint for sleeptime

From: Arun Sharma
Date: Wed Dec 21 2011 - 19:18:26 EST


On 12/21/11 2:43 AM, Andrey Vagin wrote:

Arun, probably you have missed one of my comments.
block_start and sleep_start should be zeroized here.

tsk->se.statistics.block_start = 0;
tsk->se.statistics.sleep_start = 0;

The following program provokes this problem:

Yes - I overlooked the comment. Thanks for bringing it up (especially the test program). Fixed in v3.

-Arun
--
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/