[lttng-dev] [PATCH lttng-tools] Fix: use lttng_clock_gettime instead of clock_gettime
Jérémie Galarneau
jeremie.galarneau at efficios.com
Tue Nov 14 00:26:33 UTC 2017
Merged, thanks!
Jérémie
On 18 October 2017 at 11:39, Jonathan Rajotte
<jonathan.rajotte-julien at efficios.com> wrote:
> It appears that commit 389fbf04b41e2002be44a1e3392bfade2f1deeef missed
> it.
>
> Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
> ---
> tests/utils/utils.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/utils/utils.c b/tests/utils/utils.c
> index b85f027e..0b965524 100644
> --- a/tests/utils/utils.c
> +++ b/tests/utils/utils.c
> @@ -55,7 +55,7 @@ int usleep_safe(useconds_t usec)
> goto end;
> }
>
> - ret = clock_gettime(CLOCK_MONOTONIC, &t2);
> + ret = lttng_clock_gettime(CLOCK_MONOTONIC, &t2);
> if (ret) {
> perror("clock_gettime");
> goto end;
> --
> 2.11.0
>
--
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list