[lttng-dev] conflicting types for 'trace_signal_generate'

ddu dengke.du at windriver.com
Fri Feb 1 01:57:02 EST 2019


Thanks! Let me try it.

在 2019/2/1 上午12:06, Mathieu Desnoyers 写道:
> 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


More information about the lttng-dev mailing list