Support minute and hour as time suffixes
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 14 Dec 2018 21:32:12 +0000 (16:32 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 11 Feb 2019 22:35:48 +0000 (17:35 -0500)
commitc275dec9aef30aba39bd80f5bb5d395b1d6a87fc
tree2e575f5bfff8d7bc6b3f233c61da5d269ce1f169
parent424d563a99442c223741fcb9f84725f429c140e8
Support minute and hour as time suffixes

utils_parse_time_suffix now support the following suffix:

    "us" for microsecond,
    "ms" for millisecond,
    "s"  for second,
    "m"  for minute,
    "h"  for hour

This removes the use of "m" for milliseconds and "u" for microseconds.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/thread-utils.c
src/common/time.h
src/common/utils.c
tests/unit/test_utils_parse_time_suffix.c
This page took 0.02578 seconds and 4 git commands to generate.