re-adding clocksource_get_next ?

From: Giuseppe CAVALLARO
Date: Fri Apr 09 2010 - 02:53:19 EST


This is a multi-part message in MIME format.Hello!
this function was removed in the past but I've not clear all the details.
While testing LLTng, I wrote the patch, in attachment, that re-adds it
again.
The clocksource_get_next returns the first clock source available
(without looking at the rating).
In my environment, a clock source is a TMU channel (e.g. TMU1) and,
indeed, clocksource_get_next works fine.

Let me know if it makes sense or if I'm missing something.

Best Regards,
Giuseppe