Fix variable declaration of the clock source v2
authorDavid Goulet <david.goulet@polymtl.ca>
Fri, 14 Jan 2011 17:14:31 +0000 (18:14 +0100)
committerNils Carlson <nils.carlson@ericsson.com>
Fri, 14 Jan 2011 20:47:35 +0000 (21:47 +0100)
commit08b070db024044d21779c63f721673e06032eff8
treebad4bc6e88b425b1e6ebb02f5050a3f5c535a48b
parentf1ea986a95b7d60e436d04ff792c4a1be8d5b9d4
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 <david.goulet@polymtl.ca>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Acked-by: Nils Carlson <nils.carlson@ericsson.com>
include/ust/clock.h
libust/tracectl.c
This page took 0.036913 seconds and 4 git commands to generate.