[lttng-dev] [LTTNG-TOOLS PATCH 1/2] fix: missing cpuid kernel context in the ABI

Jérémie Galarneau jeremie.galarneau at efficios.com
Wed Nov 11 15:35:54 EST 2015


Merged in master with some changes. The second patch of this series
remains unmerged as the lttng-modules part is still under review.

Removed "fix" as this does not address a bug (CPU id remains unused).

On Tue, Nov 10, 2015 at 9:21 PM, Julien Desfossez
<jdesfossez at efficios.com> wrote:
> Signed-off-by: Julien Desfossez <jdesfossez at efficios.com>
> ---
>  src/common/lttng-kernel.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/common/lttng-kernel.h b/src/common/lttng-kernel.h
> index f1144de..f58108f 100644
> --- a/src/common/lttng-kernel.h
> +++ b/src/common/lttng-kernel.h
> @@ -53,6 +53,7 @@ enum lttng_kernel_context_type {
>         LTTNG_KERNEL_CONTEXT_PPID           = 8,
>         LTTNG_KERNEL_CONTEXT_VPPID          = 9,
>         LTTNG_KERNEL_CONTEXT_HOSTNAME       = 10,
> +       LTTNG_KERNEL_CONTEXT_CPUID          = 11,

Changed to LTTNG_KERNEL_CONTEXT_CPU_ID to match the name used by lttng-modules.

Jérémie

>  };
>
>  /* Perf counter attributes */
> --
> 1.9.1
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list