From: Mikael Beckius Date: Wed, 21 Oct 2015 19:48:29 +0000 (-0400) Subject: Fix live timer calculation error X-Git-Tag: v2.8.0-rc1~246 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=69f60d21c627ad2fcae6d25fecf91e639c6ded33;hp=69f60d21c627ad2fcae6d25fecf91e639c6ded33 Fix live timer calculation error There is an calculation error for live timer. Variable switch_timer_interval is based on microsecond, and it is not right to assign switch_timer_interval mod 1000000 to var tv_nsec which is based on nanosecond. Signed-off-by: Mikael Beckius Signed-off-by: Jianchuan Wang Signed-off-by: Jérémie Galarneau ---