Hi Srikanth, We were able to reproduce the problem. We are still not sure why our CI did not catch this. We will investigate and fix it.
In the mean time, please try this patch [1]. Also for more details regarding our current analysis of what happened please read this thread from the RT mailing list [2]. I also read the thread you started on the RT mailing list. I'm not sure why and how adding CONFIG_MODULES to the check helps here. [3] Could you please test the patch. I did compile test and link test it but it would be even better if you could run it. Cheers [1] https://lists.lttng.org/pipermail/lttng-dev/2018-September/028225.html [2] https://marc.info/?l=linux-rt-users&m=153730414126984&w=2 [3] https://marc.info/?l=linux-rt-users&m=153729444223779&w=2 On Tue, Sep 18, 2018 at 12:03:18AM +0530, srikanth krishnakar wrote: > Hi All, > > Sub: Lttng-modules-2.10.x builds with warning of undefined > "__migrate_disabled" with RT Kernels >= 4.14 > Kernel: Linux-4.14.59-rt37 (Upstream) > Arch: x86_64 > Build and runtime environment: Debian-9 > > ------------------- > Runtime Impact: Lttng modules arent loading and throws error during runtime > as shown below > ------------------- > debian@debian:~$ lsmod | grep -i lttng > lttng_statedump 65536 0 > lttng_kprobes 16384 0 > lttng_clock 16384 0 > lttng_lib_ring_buffer 69632 0 > lttng_kretprobes 16384 0 > debian@debian:~$ > debian@debian:~$ sudo dmesg | grep -i migrate > [ 10.721478] lttng_tracer: Unknown symbol __migrate_disabled (err 0) > debian@debian:~$ > ------------------- > > The since Linux-4.9 there seems to be upstream modifications in LTTng > dependencies like headers and other needed files. I have been trying to > build the latest Lttng-modules-2.10.7 with a RT kernel as out-of-tree > modules and been seeing the issue of undefined reference of > "__migrate_disabled" which is defined in kernel source > "include/linux/preempt.h" and yes the kernel has already enabled all needed > dependencies that are seen below: > > ------------------------------------- > Kernel config options: > -------------------------------------- > CONFIG_PREEMPT_RCU=y > CONFIG_PREEMPT_NOTIFIERS=y > CONFIG_PREEMPT=y > CONFIG_PREEMPT_RT_BASE=y > CONFIG_HAVE_PREEMPT_LAZY=y > CONFIG_PREEMPT_LAZY=y > CONFIG_PREEMPT_RT_FULL=y > CONFIG_PREEMPT_COUNT=y > CONFIG_DEBUG_PREEMPT=y > CONFIG_TRACEPOINTS=y > CONFIG_HAVE_SYSCALL_TRACEPOINTS=y > CONFIG_KALLSYMS=y > CONFIG_KALLSYMS_ALL=y > CONFIG_KALLSYMS_ABSOLUTE_PERCPU=y > CONFIG_KALLSYMS_BASE_RELATIVE=y > -------------------------------------- > > The build completes successfully without warning and lttng runs fine only > when the LTTng-modules are made as built-in meaning when they are built via > "built-in.sh" script and embedded into kernel. > > Another scenario where the issue is reproduced is: > > The Error behaviour is seen in the "linux-yocto-4.14-59-rt37" when > meta-intel is built with rocko release. > > --------------------------------------- > Build log in debian environment: > ------------------------------------------------------------ > --------------------------------------- > dpkg-source: warning: no source format specified in debian/source/format, > see dpkg-source(1) > dpkg-source: info: using source format '1.0' > dpkg-source: info: building lttng-modules in lttng-modules_2.10.7.tar.gz > dpkg-source: info: building lttng-modules in lttng-modules_2.10.7.dsc > debian/rules build > dh build -- KERNELDIR="/usr/src/linux-headers-4.14.59-rt37+" > dh_testdir -O--=KERNELDIR=/usr/src/linux-headers-4.14.59-rt37\+ > dh_update_autotools_config -O--=KERNELDIR=/usr/src/linux- > headers-4.14.59-rt37\+ > dh_auto_configure -O--=KERNELDIR=/usr/src/linux-headers-4.14.59-rt37\+ > debian/rules override_dh_auto_build > make[1]: Entering directory '/home/builder/lttng-modules/ > lttng-modules-2.10.7' > /usr/bin/make KERNELDIR="/usr/src/linux-headers-4.14.59-rt37+" > make[2]: Entering directory '/home/builder/lttng-modules/ > lttng-modules-2.10.7' > /usr/bin/make -C /usr/src/linux-headers-4.14.59-rt37+ > M=/home/builder/lttng-modules/lttng-modules-2.10.7 CONFIG_LTTNG=m > CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m modules > make[3]: Entering directory '/usr/src/linux-headers-4.14.59-rt37+' > find: > '/home/builder/lttng-modules/lttng-modules-2.10.7/extra_version/patches/': > No such file or directory > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-discard.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-overwrite.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-metadata-client.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-mmap-discard.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-mmap-overwrite.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-metadata-mmap-client.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-clock.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-events.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-abi.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > string-utils.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-probes.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-context.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-pid.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-procname.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-prio.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-nice.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-vpid.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-tid.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-vtid.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-ppid.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-vppid.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-cpu-id.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-interruptible.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-need-reschedule.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-calibrate.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-hostname.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/wrapper/random.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/lttng.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/wrapper/ > trace-clock.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/wrapper/ > page_alloc.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > tracker-pid.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-filter.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > filter-interpreter.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > filter-specialize.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > filter-validator.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-user.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-tp- > mempool.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-syscalls.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-perf-counters.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-migratable.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > context-preemptible.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > tracepoint.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-tracer.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > statedump-impl.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/wrapper/irqdesc.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/wrapper/fdtable.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-statedump.o > find: > '/home/builder/lttng-modules/lttng-modules-2.10.7/lib/../extra_version/patches/': > No such file or directory > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lib/ > ringbuffer/ring_buffer_backend.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lib/ > ringbuffer/ring_buffer_frontend.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lib/ > ringbuffer/ring_buffer_iterator.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lib/ > ringbuffer/ring_buffer_vfs.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lib/ > ringbuffer/ring_buffer_splice.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lib/ > ringbuffer/ring_buffer_mmap.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lib/prio_ > heap/lttng_prio_heap.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lib/../ > wrapper/splice.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lib/ > lttng-lib-ring-buffer.o > find: > '/home/builder/lttng-modules/lttng-modules-2.10.7/probes/../extra_version/patches/': > No such file or directory > /home/builder/lttng-modules/lttng-modules-2.10.7/probes/Kbuild:41: File > ./arch/x86/kvm/lapic.h not found. Probe "kvm" x86-specific is disabled. Use > full kernel source tree to enable it. > /home/builder/lttng-modules/lttng-modules-2.10.7/probes/Kbuild:166: Files > ./fs/btrfs/*.h not found. Probe "btrfs" is disabled. Use full kernel source > tree to enable it. > /home/builder/lttng-modules/lttng-modules-2.10.7/probes/Kbuild:182: Files > ./fs/ext4/*.h not found. Probe "ext4" is disabled. Use full kernel source > tree to enable it. > /home/builder/lttng-modules/lttng-modules-2.10.7/probes/Kbuild:215: File > ./drivers/base/regmap/trace.h not found. Probe "regmap" is disabled. Need > Linux 4.1+ kernel source tree to enable it. > /home/builder/lttng-modules/lttng-modules-2.10.7/probes/Kbuild:265: Files > ./kernel/trace/trace.h not found. Probe "ftrace" is disabled. Use full > kernel source tree to enable it. > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-sched.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-irq.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-timer.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-kmem.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-module.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-power.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-statedump.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-i2c.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-kvm.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-x86-irq-vectors.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-x86-exceptions.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-signal.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-block.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-napi.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-skb.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-net.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-sock.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-udp.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-asoc.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-gpio.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-jbd2.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-regulator.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-scsi.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-vmscan.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-compaction.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-printk.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-random.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-rcu.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-sunrpc.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-v4l2.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-workqueue.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-writeback.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-kprobes.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-kretprobes.o > find: > '/home/builder/lttng-modules/lttng-modules-2.10.7/tests/../extra_version/patches/': > No such file or directory > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/tests/ > probes/lttng-test.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/tests/ > lttng-test.o > CC [M] /home/builder/lttng-modules/lttng-modules-2.10.7/tests/ > clock-plugin/lttng-clock-plugin-test.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/tests/ > lttng-clock-plugin-test.o > Building modules, stage 2. > find: > '/home/builder/lttng-modules/lttng-modules-2.10.7/extra_version/patches/': > No such file or directory > MODPOST 46 modules > WARNING: "__migrate_disabled" [/home/builder/lttng-modules/ > lttng-modules-2.10.7/lttng-tracer.ko] undefined! > CC /home/builder/lttng-modules/lttng-modules-2.10.7/lib/ > lttng-lib-ring-buffer.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lib/ > lttng-lib-ring-buffer.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-clock.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-clock.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-discard.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-discard.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-mmap-discard.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-mmap-discard.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-mmap-overwrite.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-mmap-overwrite.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-overwrite.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-overwrite.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-metadata-client.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-metadata-client.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-metadata-mmap-client.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-metadata-mmap-client.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > statedump.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > statedump.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > tracer.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-tracer.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-kprobes.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-kprobes.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-kretprobes.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-kretprobes.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-asoc.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-asoc.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-block.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-block.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-compaction.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-compaction.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-gpio.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-gpio.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-i2c.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-i2c.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-irq.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-irq.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-jbd2.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-jbd2.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-kmem.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-kmem.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-kvm.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-kvm.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-module.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-module.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-napi.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-napi.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-net.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-net.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-power.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-power.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-printk.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-printk.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-random.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-random.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-rcu.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-rcu.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-regulator.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-regulator.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-sched.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-sched.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-scsi.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-scsi.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-signal.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-signal.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-skb.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-skb.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-sock.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-sock.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-statedump.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-statedump.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-sunrpc.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-sunrpc.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-timer.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-timer.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-udp.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-udp.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-v4l2.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-v4l2.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-vmscan.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-vmscan.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-workqueue.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-workqueue.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-writeback.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-writeback.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-x86-exceptions.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-x86-exceptions.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-x86-irq-vectors.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-x86-irq-vectors.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/tests/ > lttng-clock-plugin-test.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/tests/ > lttng-clock-plugin-test.ko > CC /home/builder/lttng-modules/lttng-modules-2.10.7/tests/ > lttng-test.mod.o > LD [M] /home/builder/lttng-modules/lttng-modules-2.10.7/tests/ > lttng-test.ko > make[3]: Leaving directory '/usr/src/linux-headers-4.14.59-rt37+' > make[2]: Leaving directory '/home/builder/lttng-modules/ > lttng-modules-2.10.7' > make[1]: Leaving directory '/home/builder/lttng-modules/ > lttng-modules-2.10.7' > dh_auto_test -O--=KERNELDIR=/usr/src/linux-headers-4.14.59-rt37\+ > create-stamp debian/debhelper-build-stamp > debian/rules binary > dh binary -- KERNELDIR="/usr/src/linux-headers-4.14.59-rt37+" > create-stamp debian/debhelper-build-stamp > dh_testroot -O--=KERNELDIR=/usr/src/linux-headers-4.14.59-rt37\+ > dh_prep -O--=KERNELDIR=/usr/src/linux-headers-4.14.59-rt37\+ > dh_installdirs -O--=KERNELDIR=/usr/src/linux-headers-4.14.59-rt37\+ > debian/rules override_dh_auto_install > make[1]: Entering directory '/home/builder/lttng-modules/ > lttng-modules-2.10.7' > mkdir installed-modules > /usr/bin/make KERNELDIR="/usr/src/linux-headers-4.14.59-rt37+" > modules_install && cp -a /lib/modules/*/extra/* /home/builder/lttng-modules/ > lttng-modules-2.10.7/installed-modules > make[2]: Entering directory '/home/builder/lttng-modules/ > lttng-modules-2.10.7' > /usr/bin/make -C /usr/src/linux-headers-4.14.59-rt37+ > M=/home/builder/lttng-modules/lttng-modules-2.10.7 CONFIG_LTTNG=m > CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m modules_install > make[3]: Entering directory '/usr/src/linux-headers-4.14.59-rt37+' > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/lib/ > lttng-lib-ring-buffer.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-clock.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-discard.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-mmap-discard.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-mmap-overwrite.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-client-overwrite.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-metadata-client.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > ring-buffer-metadata-mmap-client.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/lttng- > statedump.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/lttng-tracer.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-kprobes.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-kretprobes.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-asoc.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-block.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-compaction.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-gpio.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-i2c.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-irq.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-jbd2.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-kmem.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-kvm.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-module.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-napi.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-net.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-power.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-printk.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-random.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-rcu.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-regulator.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-sched.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-scsi.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-signal.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-skb.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-sock.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-statedump.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-sunrpc.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-timer.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-udp.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-v4l2.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-vmscan.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-workqueue.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-writeback.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-x86-exceptions.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/probes/ > lttng-probe-x86-irq-vectors.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/tests/ > lttng-clock-plugin-test.ko > INSTALL /home/builder/lttng-modules/lttng-modules-2.10.7/tests/ > lttng-test.ko > DEPMOD 4.14.59-rt37+ > ------------------------------------------------------------ > ------------------------------------- > > The same version of modules builds fine with "Linux-4.9.x-rt". Also the > kconfig of lttng is designed as "Tristate" and the build error is seen when > we build with "built-in.sh <KERNEL_SRC>" and CONFIG_LTTNG=m in kernel > menuconfig. > > Anyone has seen the issue with the RT kernels >= 4.14 ? Appreciate your > inputs. > > Thanks, > Srikanth > _______________________________________________ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte-Julien EfficiOS _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev