DEBUG: Executing shell function do_compile
NOTE: make -j 16 -l 75 KERNEL_SRC=TOPDIR/tmp/work-shared/qemux86-64/kernel-source KERNELDIR=TOPDIR/tmp/work-shared/qemux86-64/kernel-source KERNEL_PATH=TOPDIR/tmp/work-shared/qemux86-64/kernel-source KERNEL_VERSION=6.16.4-yocto-standard CC=x86_64-poky-linux-gcc -fuse-ld=bfd -ffile-prefix-map=TOPDIR/tmp/work/qemux86_64-poky-linux/lttng-modules/2.14.0/sources/lttng-modules-2.14.0=/usr/src/debug/lttng-modules/2.14.0 -ffile-prefix-map=TOPDIR/tmp/work/qemux86_64-poky-linux/lttng-modules/2.14.0/sources/lttng-modules-2.14.0=/usr/src/debug/lttng-modules/2.14.0 -ffile-prefix-map=TOPDIR/tmp/work/qemux86_64-poky-linux/lttng-modules/2.14.0/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/qemux86_64-poky-linux/lttng-modules/2.14.0/recipe-sysroot-native= -ffile-prefix-map=TOPDIR/tmp/work-shared/qemux86-64/kernel-source=/usr/src/kernel -ffile-prefix-map=TOPDIR/tmp/work-shared/qemux86-64/kernel-build-artifacts=/usr/src/kernel LD=x86_64-poky-linux-ld.bfd AR=x86_64-poky-linux-ar OBJCOPY=x86_64-poky-linux-objcopy STRIP=x86_64-poky-linux-strip O=TOPDIR/tmp/work-shared/qemux86-64/kernel-build-artifacts KBUILD_EXTRA_SYMBOLS=
make -C TOPDIR/tmp/work-shared/qemux86-64/kernel-source M=TOPDIR/tmp/work/qemux86_64-poky-linux/lttng-modules/2.14.0/sources/lttng-modules-2.14.0/src \
CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m \
KCPPFLAGS='' \
modules
make[1]: Entering directory 'TOPDIR/tmp/work-shared/qemux86-64/kernel-source'
make[2]: Entering directory 'TOPDIR/tmp/work/qemux86_64-poky-linux/lttng-modules/2.14.0/sources/lttng-modules-2.14.0/src'
CC [M] lttng-ring-buffer-client-discard.o
CC [M] lttng-ring-buffer-client-overwrite.o
CC [M] lttng-ring-buffer-metadata-client.o
CC [M] lttng-ring-buffer-client-mmap-discard.o
CC [M] lttng-ring-buffer-client-mmap-overwrite.o
CC [M] lttng-ring-buffer-metadata-mmap-client.o
CC [M] lttng-ring-buffer-event-notifier-client.o
CC [M] lttng-counter-client-percpu-32-modular.o
CC [M] lttng-counter-client-percpu-64-modular.o
CC [M] lttng-clock.o
CC [M] lib/msgpack/msgpack.o
CC [M] lttng-events.o
CC [M] lttng-abi.o
CC [M] lttng-string-utils.o
CC [M] lttng-probes.o
CC [M] lttng-context.o
CC [M] lttng-context-pid.o
CC [M] lttng-context-procname.o
CC [M] lttng-context-prio.o
CC [M] lttng-context-nice.o
CC [M] lttng-context-vpid.o
CC [M] lttng-context-tid.o
CC [M] lttng-context-vtid.o
CC [M] lttng-context-ppid.o
CC [M] lttng-context-vppid.o
CC [M] lttng-context-cpu-id.o
CC [M] lttng-context-uid.o
CC [M] lttng-context-euid.o
CC [M] lttng-context-suid.o
CC [M] lttng-context-gid.o
CC [M] lttng-context-egid.o
CC [M] lttng-context-sgid.o
CC [M] lttng-context-vuid.o
CC [M] lttng-context-veuid.o
CC [M] lttng-context-vsuid.o
CC [M] lttng-context-vgid.o
CC [M] lttng-context-vegid.o
CC [M] lttng-context-vsgid.o
CC [M] lttng-context-interruptible.o
CC [M] lttng-context-need-reschedule.o
CC [M] lttng-calibrate.o
CC [M] lttng-context-hostname.o
CC [M] lttng-context-callstack.o
CC [M] probes/lttng.o
CC [M] lttng-tracker-id.o
CC [M] lttng-bytecode.o
CC [M] lttng-bytecode-interpreter.o
CC [M] lttng-bytecode-specialize.o
CC [M] lttng-bytecode-validator.o
CC [M] probes/lttng-probe-user.o
CC [M] lttng-tp-mempool.o
CC [M] lttng-event-notifier-notification.o
CC [M] lttng-kernel-mj-gen.o
CC [M] init-enum-desc-sorted-entries.o
CC [M] lttng-metadata-print.o
CC [M] metadata-ctf-1-8.o
CC [M] metadata-ctf-2.o
CC [M] lttng-syscalls.o
CC [M] lttng-syscalls-entry-table.o
CC [M] lttng-syscalls-entry-compat-table.o
CC [M] lttng-syscalls-exit-table.o
CC [M] lttng-syscalls-exit-compat-table.o
CC [M] lttng-syscalls-enum.o
CC [M] lttng-context-perf-counters.o
CC [M] lttng-context-preemptible.o
CC [M] lttng-tracepoint.o
CC [M] lttng-context-cgroup-ns.o
CC [M] lttng-context-ipc-ns.o
CC [M] lttng-context-mnt-ns.o
CC [M] lttng-context-net-ns.o
CC [M] lttng-context-pid-ns.o
CC [M] lttng-context-user-ns.o
CC [M] lttng-context-uts-ns.o
CC [M] lttng-context-time-ns.o
CC [M] lttng-kprobes.o
CC [M] lttng-uprobes.o
CC [M] lttng-kretprobes.o
CC [M] wrapper/page_alloc.o
CC [M] wrapper/random.o
CC [M] wrapper/trace-clock.o
CC [M] wrapper/kallsyms.o
CC [M] wrapper/irqdesc.o
CC [M] lttng-wrapper-impl.o
CC [M] lttng-statedump-impl.o
probes/Kbuild:236: CONFIG_KALLSYMS_ALL is disabled, therefore probe "writeback" is disabled. Rebuild your kernel with this configuration option enabled in order to trace this subsystem.
CC [M] tests/probes/lttng-test.o
CC [M] lib/ringbuffer/ring_buffer_backend.o
CC [M] lib/ringbuffer/ring_buffer_frontend.o
CC [M] lib/ringbuffer/ring_buffer_iterator.o
CC [M] probes/lttng-probe-sched.o
CC [M] lib/ringbuffer/ring_buffer_vfs.o
CC [M] lib/ringbuffer/ring_buffer_splice.o
CC [M] probes/lttng-probe-irq.o
CC [M] probes/lttng-probe-timer.o
CC [M] probes/lttng-probe-kmem.o
CC [M] lib/ringbuffer/ring_buffer_mmap.o
CC [M] lib/prio_heap/lttng_prio_heap.o
LD [M] lttng-wrapper.o
CC [M] probes/lttng-probe-module.o
CC [M] probes/lttng-probe-power.o
CC [M] probes/lttng-probe-statedump.o
CC [M] tests/clock-plugin/lttng-clock-plugin-test.o
CC [M] probes/lttng-probe-i2c.o
LD [M] tests/lttng-test.o
LD [M] lttng-statedump.o
CC [M] probes/lttng-probe-x86-irq-vectors.o
CC [M] lib/counter/counter.o
CC [M] probes/lttng-probe-signal.o
CC [M] probes/lttng-probe-dma-fence.o
CC [M] probes/lttng-probe-block.o
LD [M] tests/lttng-clock-plugin-test.o
CC [M] probes/lttng-probe-napi.o
LD [M] lib/lttng-lib-ring-buffer.o
CC [M] probes/lttng-probe-skb.o
CC [M] probes/lttng-probe-net.o
CC [M] probes/lttng-probe-sock.o
CC [M] probes/lttng-probe-udp.o
LD [M] lib/lttng-counter.o
CC [M] probes/lttng-probe-gpio.o
CC [M] probes/lttng-probe-jbd2.o
CC [M] probes/lttng-probe-scsi.o
CC [M] probes/lttng-probe-vmscan.o
CC [M] probes/lttng-probe-btrfs.o
CC [M] probes/lttng-probe-compaction.o
CC [M] probes/lttng-probe-ext4.o
CC [M] probes/lttng-probe-printk.o
CC [M] probes/lttng-probe-rcu.o
CC [M] probes/lttng-probe-regmap.o
In file included from probes/../../include/lttng/define_trace.h:87,
from probes/../../include/instrumentation/events/btrfs.h:2779,
from probes/lttng-probe-btrfs.c:36:
probes/../../include/instrumentation/events/btrfs.h: In function '__event_prepare_interpreter_stack__btrfs_cow_block':
probes/../../include/instrumentation/events/btrfs.h:1947:52: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Wincompatible-pointer-types]
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~
| |
| const refcount_t * {aka const struct refcount_struct *}
probes/../../include/lttng/tracepoint-event-impl.h:730:9: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE'
730 | _fields \
| ^~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:107:17: note: in expansion of macro 'PARAMS'
107 | PARAMS(_fields), )
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:41:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS'
41 | LTTNG_TRACEPOINT_EVENT_CLASS(map, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(fields)) \
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:87:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
87 | LTTNG_TRACEPOINT_EVENT_MAP(name, name, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:90:25: note: in expansion of macro 'PARAMS'
90 | PARAMS(fields))
| ^~~~~~
probes/../../include/instrumentation/events/btrfs.h:1937:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'
1937 | LTTNG_TRACEPOINT_EVENT(btrfs_cow_block,
| ^~~~~~~~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1944:9: note: in expansion of macro 'TP_FIELDS'
1944 | TP_FIELDS(
| ^~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:636:9: note: in expansion of macro '_ctf_integer_ext_fetched'
636 | _ctf_integer_ext_fetched(_type, _item, _src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:653:9: note: in expansion of macro '_ctf_integer_ext_isuser0'
653 | _ctf_integer_ext_isuser##_user(_type, _item, _user_src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/events-write.h:10:9: note: in expansion of macro '_ctf_integer_ext'
10 | _ctf_integer_ext(_type, _item, _src, __BYTE_ORDER, 10, 0, 0)
| ^~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1947:17: note: in expansion of macro 'ctf_integer'
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~~
In file included from TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/atomic.h:82,
from TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/jump_label.h:257,
from TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/static_key.h:1,
from TOPDIR/tmp/work-shared/qemux86-64/kernel-source/arch/x86/include/asm/nospec-branch.h:6,
from TOPDIR/tmp/work-shared/qemux86-64/kernel-source/arch/x86/include/asm/paravirt_types.h:12,
from TOPDIR/tmp/work-shared/qemux86-64/kernel-source/arch/x86/include/asm/ptrace.h:175,
from TOPDIR/tmp/work-shared/qemux86-64/kernel-source/arch/x86/include/asm/math_emu.h:5,
from TOPDIR/tmp/work-shared/qemux86-64/kernel-source/arch/x86/include/asm/processor.h:13,
from TOPDIR/tmp/work-shared/qemux86-64/kernel-source/arch/x86/include/asm/timex.h:5,
from TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/timex.h:67,
from TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/time32.h:13,
from TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/time.h:60,
from TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/stat.h:19,
from TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/module.h:13,
from probes/lttng-probe-btrfs.c:11:
TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/atomic/atomic-instrumented.h:30:29: note: expected 'const atomic_t *' but argument is of type 'const refcount_t *' {aka 'const struct refcount_struct *'}
30 | atomic_read(const atomic_t *v)
| ~~~~~~~~~~~~~~~~^
probes/../../include/instrumentation/events/btrfs.h:1947:52: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Wincompatible-pointer-types]
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~
| |
| const refcount_t * {aka const struct refcount_struct *}
probes/../../include/lttng/tracepoint-event-impl.h:730:9: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE'
730 | _fields \
| ^~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:107:17: note: in expansion of macro 'PARAMS'
107 | PARAMS(_fields), )
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:41:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS'
41 | LTTNG_TRACEPOINT_EVENT_CLASS(map, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(fields)) \
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:87:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
87 | LTTNG_TRACEPOINT_EVENT_MAP(name, name, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:90:25: note: in expansion of macro 'PARAMS'
90 | PARAMS(fields))
| ^~~~~~
probes/../../include/instrumentation/events/btrfs.h:1937:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'
1937 | LTTNG_TRACEPOINT_EVENT(btrfs_cow_block,
| ^~~~~~~~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1944:9: note: in expansion of macro 'TP_FIELDS'
1944 | TP_FIELDS(
| ^~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:636:9: note: in expansion of macro '_ctf_integer_ext_fetched'
636 | _ctf_integer_ext_fetched(_type, _item, _src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:653:9: note: in expansion of macro '_ctf_integer_ext_isuser0'
653 | _ctf_integer_ext_isuser##_user(_type, _item, _user_src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/events-write.h:10:9: note: in expansion of macro '_ctf_integer_ext'
10 | _ctf_integer_ext(_type, _item, _src, __BYTE_ORDER, 10, 0, 0)
| ^~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1947:17: note: in expansion of macro 'ctf_integer'
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~~
TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/atomic/atomic-instrumented.h:30:29: note: expected 'const atomic_t *' but argument is of type 'const refcount_t *' {aka 'const struct refcount_struct *'}
30 | atomic_read(const atomic_t *v)
| ~~~~~~~~~~~~~~~~^
CC [M] probes/lttng-probe-sunrpc.o
probes/../../include/instrumentation/events/btrfs.h:1947:52: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Wincompatible-pointer-types]
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~
| |
| const refcount_t * {aka const struct refcount_struct *}
probes/../../include/lttng/tracepoint-event-impl.h:730:9: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE'
730 | _fields \
| ^~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:107:17: note: in expansion of macro 'PARAMS'
107 | PARAMS(_fields), )
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:41:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS'
41 | LTTNG_TRACEPOINT_EVENT_CLASS(map, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(fields)) \
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:87:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
87 | LTTNG_TRACEPOINT_EVENT_MAP(name, name, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:90:25: note: in expansion of macro 'PARAMS'
90 | PARAMS(fields))
| ^~~~~~
probes/../../include/instrumentation/events/btrfs.h:1937:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'
1937 | LTTNG_TRACEPOINT_EVENT(btrfs_cow_block,
| ^~~~~~~~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1944:9: note: in expansion of macro 'TP_FIELDS'
1944 | TP_FIELDS(
| ^~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:636:9: note: in expansion of macro '_ctf_integer_ext_fetched'
636 | _ctf_integer_ext_fetched(_type, _item, _src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:653:9: note: in expansion of macro '_ctf_integer_ext_isuser0'
653 | _ctf_integer_ext_isuser##_user(_type, _item, _user_src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/events-write.h:10:9: note: in expansion of macro '_ctf_integer_ext'
10 | _ctf_integer_ext(_type, _item, _src, __BYTE_ORDER, 10, 0, 0)
| ^~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1947:17: note: in expansion of macro 'ctf_integer'
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~~
TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/atomic/atomic-instrumented.h:30:29: note: expected 'const atomic_t *' but argument is of type 'const refcount_t *' {aka 'const struct refcount_struct *'}
30 | atomic_read(const atomic_t *v)
| ~~~~~~~~~~~~~~~~^
probes/../../include/instrumentation/events/btrfs.h:1947:52: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Wincompatible-pointer-types]
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~
| |
| const refcount_t * {aka const struct refcount_struct *}
probes/../../include/lttng/tracepoint-event-impl.h:730:9: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE'
730 | _fields \
| ^~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:107:17: note: in expansion of macro 'PARAMS'
107 | PARAMS(_fields), )
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:41:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS'
41 | LTTNG_TRACEPOINT_EVENT_CLASS(map, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(fields)) \
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:87:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
87 | LTTNG_TRACEPOINT_EVENT_MAP(name, name, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:90:25: note: in expansion of macro 'PARAMS'
90 | PARAMS(fields))
| ^~~~~~
probes/../../include/instrumentation/events/btrfs.h:1937:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'
1937 | LTTNG_TRACEPOINT_EVENT(btrfs_cow_block,
| ^~~~~~~~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1944:9: note: in expansion of macro 'TP_FIELDS'
1944 | TP_FIELDS(
| ^~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:636:9: note: in expansion of macro '_ctf_integer_ext_fetched'
636 | _ctf_integer_ext_fetched(_type, _item, _src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:653:9: note: in expansion of macro '_ctf_integer_ext_isuser0'
653 | _ctf_integer_ext_isuser##_user(_type, _item, _user_src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/events-write.h:10:9: note: in expansion of macro '_ctf_integer_ext'
10 | _ctf_integer_ext(_type, _item, _src, __BYTE_ORDER, 10, 0, 0)
| ^~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1947:17: note: in expansion of macro 'ctf_integer'
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~~
TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/atomic/atomic-instrumented.h:30:29: note: expected 'const atomic_t *' but argument is of type 'const refcount_t *' {aka 'const struct refcount_struct *'}
30 | atomic_read(const atomic_t *v)
| ~~~~~~~~~~~~~~~~^
probes/../../include/instrumentation/events/btrfs.h:1947:52: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Wincompatible-pointer-types]
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~
| |
| const refcount_t * {aka const struct refcount_struct *}
probes/../../include/lttng/tracepoint-event-impl.h:730:9: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE'
730 | _fields \
| ^~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:107:17: note: in expansion of macro 'PARAMS'
107 | PARAMS(_fields), )
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:41:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS'
41 | LTTNG_TRACEPOINT_EVENT_CLASS(map, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(fields)) \
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:87:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
87 | LTTNG_TRACEPOINT_EVENT_MAP(name, name, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:90:25: note: in expansion of macro 'PARAMS'
90 | PARAMS(fields))
| ^~~~~~
probes/../../include/instrumentation/events/btrfs.h:1937:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'
1937 | LTTNG_TRACEPOINT_EVENT(btrfs_cow_block,
| ^~~~~~~~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1944:9: note: in expansion of macro 'TP_FIELDS'
1944 | TP_FIELDS(
| ^~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:636:9: note: in expansion of macro '_ctf_integer_ext_fetched'
636 | _ctf_integer_ext_fetched(_type, _item, _src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:653:9: note: in expansion of macro '_ctf_integer_ext_isuser0'
653 | _ctf_integer_ext_isuser##_user(_type, _item, _user_src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/events-write.h:10:9: note: in expansion of macro '_ctf_integer_ext'
10 | _ctf_integer_ext(_type, _item, _src, __BYTE_ORDER, 10, 0, 0)
| ^~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1947:17: note: in expansion of macro 'ctf_integer'
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~~
TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/atomic/atomic-instrumented.h:30:29: note: expected 'const atomic_t *' but argument is of type 'const refcount_t *' {aka 'const struct refcount_struct *'}
30 | atomic_read(const atomic_t *v)
| ~~~~~~~~~~~~~~~~^
probes/../../include/instrumentation/events/btrfs.h:1947:52: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Wincompatible-pointer-types]
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~
| |
| const refcount_t * {aka const struct refcount_struct *}
probes/../../include/lttng/tracepoint-event-impl.h:730:9: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE'
730 | _fields \
| ^~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:107:17: note: in expansion of macro 'PARAMS'
107 | PARAMS(_fields), )
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:41:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS'
41 | LTTNG_TRACEPOINT_EVENT_CLASS(map, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(fields)) \
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:87:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
87 | LTTNG_TRACEPOINT_EVENT_MAP(name, name, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:90:25: note: in expansion of macro 'PARAMS'
90 | PARAMS(fields))
| ^~~~~~
probes/../../include/instrumentation/events/btrfs.h:1937:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'
1937 | LTTNG_TRACEPOINT_EVENT(btrfs_cow_block,
| ^~~~~~~~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1944:9: note: in expansion of macro 'TP_FIELDS'
1944 | TP_FIELDS(
| ^~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:636:9: note: in expansion of macro '_ctf_integer_ext_fetched'
636 | _ctf_integer_ext_fetched(_type, _item, _src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:653:9: note: in expansion of macro '_ctf_integer_ext_isuser0'
653 | _ctf_integer_ext_isuser##_user(_type, _item, _user_src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/events-write.h:10:9: note: in expansion of macro '_ctf_integer_ext'
10 | _ctf_integer_ext(_type, _item, _src, __BYTE_ORDER, 10, 0, 0)
| ^~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1947:17: note: in expansion of macro 'ctf_integer'
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~~
TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/atomic/atomic-instrumented.h:30:29: note: expected 'const atomic_t *' but argument is of type 'const refcount_t *' {aka 'const struct refcount_struct *'}
30 | atomic_read(const atomic_t *v)
| ~~~~~~~~~~~~~~~~^
probes/../../include/instrumentation/events/btrfs.h:1947:52: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Wincompatible-pointer-types]
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~
| |
| const refcount_t * {aka const struct refcount_struct *}
probes/../../include/lttng/tracepoint-event-impl.h:730:9: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE'
730 | _fields \
| ^~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:107:17: note: in expansion of macro 'PARAMS'
107 | PARAMS(_fields), )
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:41:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS'
41 | LTTNG_TRACEPOINT_EVENT_CLASS(map, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(fields)) \
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:87:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
87 | LTTNG_TRACEPOINT_EVENT_MAP(name, name, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:90:25: note: in expansion of macro 'PARAMS'
90 | PARAMS(fields))
| ^~~~~~
probes/../../include/instrumentation/events/btrfs.h:1937:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'
1937 | LTTNG_TRACEPOINT_EVENT(btrfs_cow_block,
| ^~~~~~~~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1944:9: note: in expansion of macro 'TP_FIELDS'
1944 | TP_FIELDS(
| ^~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:636:9: note: in expansion of macro '_ctf_integer_ext_fetched'
636 | _ctf_integer_ext_fetched(_type, _item, _src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:653:9: note: in expansion of macro '_ctf_integer_ext_isuser0'
653 | _ctf_integer_ext_isuser##_user(_type, _item, _user_src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/events-write.h:10:9: note: in expansion of macro '_ctf_integer_ext'
10 | _ctf_integer_ext(_type, _item, _src, __BYTE_ORDER, 10, 0, 0)
| ^~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1947:17: note: in expansion of macro 'ctf_integer'
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~~
TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/atomic/atomic-instrumented.h:30:29: note: expected 'const atomic_t *' but argument is of type 'const refcount_t *' {aka 'const struct refcount_struct *'}
30 | atomic_read(const atomic_t *v)
| ~~~~~~~~~~~~~~~~^
probes/../../include/instrumentation/events/btrfs.h:1947:52: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Wincompatible-pointer-types]
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~
| |
| const refcount_t * {aka const struct refcount_struct *}
probes/../../include/lttng/tracepoint-event-impl.h:730:9: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE'
730 | _fields \
| ^~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:107:17: note: in expansion of macro 'PARAMS'
107 | PARAMS(_fields), )
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:41:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS'
41 | LTTNG_TRACEPOINT_EVENT_CLASS(map, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(fields)) \
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:87:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
87 | LTTNG_TRACEPOINT_EVENT_MAP(name, name, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:90:25: note: in expansion of macro 'PARAMS'
90 | PARAMS(fields))
| ^~~~~~
probes/../../include/instrumentation/events/btrfs.h:1937:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'
1937 | LTTNG_TRACEPOINT_EVENT(btrfs_cow_block,
| ^~~~~~~~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1944:9: note: in expansion of macro 'TP_FIELDS'
1944 | TP_FIELDS(
| ^~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:636:9: note: in expansion of macro '_ctf_integer_ext_fetched'
636 | _ctf_integer_ext_fetched(_type, _item, _src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:653:9: note: in expansion of macro '_ctf_integer_ext_isuser0'
653 | _ctf_integer_ext_isuser##_user(_type, _item, _user_src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/events-write.h:10:9: note: in expansion of macro '_ctf_integer_ext'
10 | _ctf_integer_ext(_type, _item, _src, __BYTE_ORDER, 10, 0, 0)
| ^~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1947:17: note: in expansion of macro 'ctf_integer'
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~~
TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/atomic/atomic-instrumented.h:30:29: note: expected 'const atomic_t *' but argument is of type 'const refcount_t *' {aka 'const struct refcount_struct *'}
30 | atomic_read(const atomic_t *v)
| ~~~~~~~~~~~~~~~~^
CC [M] probes/lttng-probe-workqueue.o
probes/../../include/instrumentation/events/btrfs.h: In function '__event_probe__btrfs_cow_block':
probes/../../include/instrumentation/events/btrfs.h:1947:52: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Wincompatible-pointer-types]
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~
| |
| const refcount_t * {aka const struct refcount_struct *}
probes/../../include/lttng/tracepoint-event-impl.h:1174:17: note: in definition of macro '_LTTNG_TRACEPOINT_EVENT_CLASS_CODE'
1174 | _fields \
| ^~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:1227:61: note: in expansion of macro 'PARAMS'
1227 | PARAMS(_locvar), PARAMS(_code_pre), PARAMS(_fields), PARAMS(_code_post))
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:106:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE'
106 | LTTNG_TRACEPOINT_EVENT_CLASS_CODE(_name, PARAMS(_proto), PARAMS(_args), , , \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:107:17: note: in expansion of macro 'PARAMS'
107 | PARAMS(_fields), )
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:41:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS'
41 | LTTNG_TRACEPOINT_EVENT_CLASS(map, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(fields)) \
| ^~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:87:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
87 | LTTNG_TRACEPOINT_EVENT_MAP(name, name, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:90:25: note: in expansion of macro 'PARAMS'
90 | PARAMS(fields))
| ^~~~~~
probes/../../include/instrumentation/events/btrfs.h:1937:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'
1937 | LTTNG_TRACEPOINT_EVENT(btrfs_cow_block,
| ^~~~~~~~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1944:9: note: in expansion of macro 'TP_FIELDS'
1944 | TP_FIELDS(
| ^~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:843:9: note: in expansion of macro '_ctf_integer_ext_fetched'
843 | _ctf_integer_ext_fetched(_type, _item, _src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/tracepoint-event-impl.h:860:9: note: in expansion of macro '_ctf_integer_ext_isuser0'
860 | _ctf_integer_ext_isuser##_user(_type, _item, _user_src, _byte_order, _base, _nowrite)
| ^~~~~~~~~~~~~~~~~~~~~~~
probes/../../include/lttng/events-write.h:10:9: note: in expansion of macro '_ctf_integer_ext'
10 | _ctf_integer_ext(_type, _item, _src, __BYTE_ORDER, 10, 0, 0)
| ^~~~~~~~~~~~~~~~
probes/../../include/instrumentation/events/btrfs.h:1947:17: note: in expansion of macro 'ctf_integer'
1947 | ctf_integer(int, refs, atomic_read(&buf->refs))
| ^~~~~~~~~~~
TOPDIR/tmp/work-shared/qemux86-64/kernel-source/include/linux/atomic/atomic-instrumented.h:30:29: note: expected 'const atomic_t *' but argument is of type 'const refcount_t *' {aka 'const struct refcount_struct *'}
30 | atomic_read(const atomic_t *v)
| ~~~~~~~~~~~~~~~~^
make[5]: *** [TOPDIR/tmp/work-shared/qemux86-64/kernel-source/scripts/Makefile.build:287: probes/lttng-probe-btrfs.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [TOPDIR/tmp/work-shared/qemux86-64/kernel-source/scripts/Makefile.build:555: probes] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [TOPDIR/tmp/work-shared/qemux86-64/kernel-source/Makefile:2003: .] Error 2
make[2]: Leaving directory 'TOPDIR/tmp/work/qemux86_64-poky-linux/lttng-modules/2.14.0/sources/lttng-modules-2.14.0/src'
make[2]: *** [TOPDIR/tmp/work-shared/qemux86-64/kernel-source/Makefile:248: __sub-make] Error 2
make[1]: Leaving directory 'TOPDIR/tmp/work-shared/qemux86-64/kernel-source'
make[1]: *** [Makefile:248: __sub-make] Error 2
make: *** [Makefile:44: modules] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/qemux86_64-poky-linux/lttng-modules/2.14.0/temp/run.do_compile.4014775:188 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TOPDIR/tmp/work/qemux86_64-poky-linux/lttng-modules/2.14.0/temp/run.do_compile.4014775, line 188
#2: die, TOPDIR/tmp/work/qemux86_64-poky-linux/lttng-modules/2.14.0/temp/run.do_compile.4014775, line 172
#3: oe_runmake, TOPDIR/tmp/work/qemux86_64-poky-linux/lttng-modules/2.14.0/temp/run.do_compile.4014775, line 167
#4: module_do_compile, TOPDIR/tmp/work/qemux86_64-poky-linux/lttng-modules/2.14.0/temp/run.do_compile.4014775, line 155
#5: do_compile, TOPDIR/tmp/work/qemux86_64-poky-linux/lttng-modules/2.14.0/temp/run.do_compile.4014775, line 149
#6: main, TOPDIR/tmp/work/qemux86_64-poky-linux/lttng-modules/2.14.0/temp/run.do_compile.4014775, line 201