[OE-core] [PATCH] lttng: Fix timer calculation error

Nathan Lynch Nathan_Lynch at mentor.com
Thu Sep 10 22:45:41 UTC 2015


On 07/10/2015 01:33 AM, jianchuan.wang at windriver.com wrote:
> --- /dev/null
> +++ b/meta/recipes-kernel/lttng/lttng-tools/lttng-tools-Fix-live-timer-calculation-error.patch
> @@ -0,0 +1,42 @@
> +From 161496fbe1465817a77a50a1172734dae81a13ef Mon Sep 17 00:00:00 2001
> +From: Mikael Beckius <mikael.beckius at windriver.com>
> +Date: Tue, 12 May 2015 11:11:48 +0200
> +Subject: [PATCH] lttng-tools: 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.
> +
> +Upstream-Status: Pending

[...]

> --- /dev/null
> +++ b/meta/recipes-kernel/lttng/lttng-ust/lttng-ust-Fix-live-timer-calculation-error.patch
> @@ -0,0 +1,42 @@
> +From 6d02a6c1aeb1d050ffe7c6624bab9acfa76fc05f Mon Sep 17 00:00:00 2001
> +From: Mikael Beckius <mikael.beckius at windriver.com>
> +Date: Tue, 12 May 2015 11:04:34 +0200
> +Subject: [PATCH] lttng-ust:Fix live timer calculation error
> +
> +There is an calculation error for live timer. Variable chan->switch_timer_interval is
> +based on microsecond, and it is not right to assign chan->switch_timer_interval mod
> +1000000 to var tv_nsec which is based on nanosecond.
> +
> +Upstream-Status: Pending

Have these patches been submitted to LTTng upstream? I'm not finding
them on lttng-dev.

They look like real fixes that aren't OE-specific.




More information about the Openembedded-core mailing list