Skip to contentSkip to conversation

conflicting types for 'trace_signal_generate'

DISCUSSION Mathieu Desnoyers 2 participants 2 messages Jan 31, 2019 – Feb 1, 2019 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

Quoted 53 lines · ----- On Jan 31, 2019, at 1:49 AM, Dengke Du [email protected] 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
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 7 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Thanks! Let me try it.

Quoted 4 lines · Mathieu Desnoyers

Hi,

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

Quoted 61 lines

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

Thanks,

Mathieu

Quoted 53 lines · ----- On Jan 31, 2019, at 1:49 AM, Dengke Du [email protected] 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
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev