From: David Goulet Date: Fri, 14 Jan 2011 17:14:31 +0000 (+0100) Subject: Fix variable declaration of the clock source v2 X-Git-Tag: v1.9.1~493 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=08b070db024044d21779c63f721673e06032eff8;hp=08b070db024044d21779c63f721673e06032eff8;p=lttng-ust.git Fix variable declaration of the clock source v2 The ust_clock_source was static in clock.h header file. Thus, tracectl.c was not able to modify that variable for the trace clock read function. Bad timestamp was always returned if CLOCK_TRACE was not available. v2: Comment by Mathieu Desnoyers, set clock source variable to extern in clock.h Signed-off-by: David Goulet Acked-by: Mathieu Desnoyers Acked-by: Nils Carlson ---