[PATCH 06/10] posix-timers: Consolidate posix_cpu_clock_get()

2013-11-23 Thread Frederic Weisbecker
Consolidate the clock sampling common code used for both local and remote targets. Note that this introduces a tiny user ABI change: if a PID is passed to clock_gettime() along the clockid, we used to forbid a process wide clock sample when that PID doesn't belong to a group leader. Now after this

[RFC PATCH 06/10] posix-timers: Consolidate posix_cpu_clock_get()

2013-10-12 Thread Frederic Weisbecker
Consolidate the clock sampling common code used for both local and remote targets. Note that this introduces a tiny user ABI change: if a PID is passed to clock_gettime() along the clockid, we used to forbid a process wide clock sample when that PID doesn't belong to a group leader. Now after this