[lttng-dev] conflicting types for 'trace_signal_generate'

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Thu Jan 31 11:06:38 EST 2019


Hi,

Can you try with lttng-modules stable-2.10 branch HEAD ?

It contains fixes related to support of the 5.0-rc Linux kernel.

Thanks,

Mathieu

----- On Jan 31, 2019, at 1:49 AM, Dengke Du dengke.du at windriver.com wrote:

> Hi all
> 
> Yocto branch: master
> 
> lttng-modules: 2.10.8
> 
> kernel: 5.0-rc
> 
> ------------------------------------------------------------------------------------
> 
>  /buildarea1/ddu/wrp/1019/lttng/build/workspace/sources/lttng-modules/probes/../probes/lttng-tracepoint-event-impl.h:143:6:
>  error: conflicting types for 'trace_signal_genera     te'
>   void trace_##_name(_proto);
>        ^~~~~~
>  /buildarea1/ddu/wrp/1019/lttng/build/workspace/sources/lttng-modules/probes/../probes/lttng-tracepoint-event-impl.h:55:2:
>  note: in expansion of macro 'LTTNG_TRACEPOINT_EVEN T_INSTANCE_MAP'
>    LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto),
> PARAMS(args))
>    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  /buildarea1/ddu/wrp/1019/lttng/build/workspace/sources/lttng-modules/probes/../probes/lttng-tracepoint-event-impl.h:97:2:
>  note: in expansion of macro 'LTTNG_TRACEPOINT_EVEN     T_MAP'
>    LTTNG_TRACEPOINT_EVENT_MAP(name, name,    \
>    ^~~~~~~~~~~~~~~~~~~~~~~~~~
>  /buildarea1/ddu/wrp/1019/lttng/build/workspace/sources/lttng-modules/probes/../instrumentation/events/lttng-module/signal.h:53:1:
>  note: in expansion of macro 'LTTNG_TRACEPO     INT_EVENT'
>   LTTNG_TRACEPOINT_EVENT(signal_generate,
>   ^~~~~~~~~~~~~~~~~~~~~~
>  In file included from
> /buildarea1/ddu/wrp/1019/lttng/build/tmp-glibc/work-shared/qemux86-64/kernel-source/include/trace/events/signal.h:10,
>                   from
> /buildarea1/ddu/wrp/1019/lttng/build/workspace/sources/lttng-modules/probes/lttng-probe-signal.c:30:
>  /buildarea1/ddu/wrp/1019/lttng/build/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/tracepoint.h:235:21:
>  note: previous definition of 'trace_signal_generate'      was here
>    static inline void trace_##name(proto)    \
>                       ^~~~~~
>  /buildarea1/ddu/wrp/1019/lttng/build/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/tracepoint.h:398:2:
>  note: in expansion of macro '__DECLARE_TRACE'
>    __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),  \
>    ^~~~~~~~~~~~~~~
>  /buildarea1/ddu/wrp/1019/lttng/build/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/tracepoint.h:534:2:
>  note: in expansion of macro 'DECLARE_TRACE'
>    DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
>    ^~~~~~~~~~~~~
>  /buildarea1/ddu/wrp/1019/lttng/build/tmp-glibc/work-shared/qemux86-64/kernel-source/include/trace/events/signal.h:50:1:
>  note: in expansion of macro 'TRACE_EVENT'
>   TRACE_EVENT(signal_generate,
>   ^~~~~~~~~~~
> ------------------------------------------------------------------------------------
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list