[lttng-dev] conflicting types for 'trace_signal_generate'
ddu
dengke.du at windriver.com
Thu Jan 31 01:49:45 EST 2019
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,
^~~~~~~~~~~
------------------------------------------------------------------------------------
More information about the lttng-dev
mailing list