DKMS make.log for lttng-modules-2.9.0 for kernel 4.11.0-8-generic (x86_64)
Fri 23 Jun 11:40:59 BST 2017
make: Entering directory '/usr/src/linux-headers-4.11.0-8-generic'
  CC [M]  
/var/lib/dkms/lttng-modules/2.9.0/build/lttng-ring-buffer-client-discard.o
  CC [M]  
/var/lib/dkms/lttng-modules/2.9.0/build/lttng-ring-buffer-metadata-client.o
  CC [M]  
/var/lib/dkms/lttng-modules/2.9.0/build/lttng-ring-buffer-client-overwrite.o
  CC [M]  
/var/lib/dkms/lttng-modules/2.9.0/build/lttng-ring-buffer-client-mmap-discard.o
  CC [M]  
/var/lib/dkms/lttng-modules/2.9.0/build/lttng-ring-buffer-client-mmap-overwrite.o
  CC [M]  
/var/lib/dkms/lttng-modules/2.9.0/build/lttng-ring-buffer-metadata-mmap-client.o
  CC [M]  /var/lib/dkms/lttng-modules/2.9.0/build/lttng-clock.o
  CC [M]  /var/lib/dkms/lttng-modules/2.9.0/build/lttng-events.o
  CC [M]  /var/lib/dkms/lttng-modules/2.9.0/build/lttng-abi.o
  CC [M]  /var/lib/dkms/lttng-modules/2.9.0/build/lttng-probes.o
  CC [M]  /var/lib/dkms/lttng-modules/2.9.0/build/lttng-context.o
In file included from /var/lib/dkms/lttng-modules/2.9.0/build/lttng-abi.c:53:0:
/var/lib/dkms/lttng-modules/2.9.0/build/wrapper/kref.h: In function 
‘lttng_kref_get’:
/var/lib/dkms/lttng-modules/2.9.0/build/wrapper/kref.h:39:24: error: passing 
argument 1 of ‘atomic_add_unless’ from incompatible pointer type 
[-Werror=incompatible-pointer-types]
  if (atomic_add_unless(&kref->refcount, 1, INT_MAX) != INT_MAX) {
                        ^
In file included from ./include/linux/tracepoint-defs.h:10:0,
                 from ./arch/x86/include/asm/msr.h:67,
                 from ./arch/x86/include/asm/processor.h:20,
                 from ./arch/x86/include/asm/cpufeature.h:4,
                 from ./arch/x86/include/asm/thread_info.h:52,
                 from ./include/linux/thread_info.h:25,
                 from ./arch/x86/include/asm/preempt.h:6,
                 from ./include/linux/preempt.h:80,
                 from ./include/linux/spinlock.h:50,
                 from ./include/linux/seqlock.h:35,
                 from ./include/linux/time.h:5,
                 from ./include/linux/stat.h:18,
                 from ./include/linux/module.h:10,
                 from /var/lib/dkms/lttng-modules/2.9.0/build/lttng-abi.c:40:
./include/linux/atomic.h:504:19: note: expected ‘atomic_t * {aka struct 
<anonymous> *}’ but argument is of type ‘refcount_t * {aka struct 
refcount_struct *}’
 static inline int atomic_add_unless(atomic_t *v, int a, int u)
                   ^~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/lttng-modules/2.9.0/build/lttng-context-pid.o
  CC [M]  /var/lib/dkms/lttng-modules/2.9.0/build/lttng-context-procname.o
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target 
'/var/lib/dkms/lttng-modules/2.9.0/build/lttng-abi.o' failed
make[1]: *** [/var/lib/dkms/lttng-modules/2.9.0/build/lttng-abi.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:1526: recipe for target 
'_module_/var/lib/dkms/lttng-modules/2.9.0/build' failed
make: *** [_module_/var/lib/dkms/lttng-modules/2.9.0/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.11.0-8-generic'

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1699755

Title:
  ubuntu_lttng_smoke_test failed on Artful: Kernel tracer not available

Status in linux package in Ubuntu:
  In Progress

Bug description:
  Similar to bug 1677126, ubuntu_lttng_smoke_test failed on Artful too.

   == lttng smoke test list kernel events ==
   Error: Unable to list kernel events: Kernel tracer not available
   Error: Command error
   FAILED (lttng list --kernel)
   FAILED (lttng list --kernel more output expected)

   == lttng smoke test trace open/close system calls ==
   Session test-kernel-session created.
   Traces will be written in /tmp/lttng-kernel-trace-2107-session
   PASSED (lttng create)
   Error: Event open: Kernel tracer not available (channel channel0, session 
test-kernel-session)
   Error: Event openat: Kernel tracer not available (channel channel0, session 
test-kernel-session)
   Error: Event close: Kernel tracer not available (channel channel0, session 
test-kernel-session)
   FAILED (lttng enable-event)
   Session test-kernel-session destroyed

   == lttng smoke test trace context switches ==
   Session test-kernel-session created.
   Traces will be written in /tmp/lttng-kernel-trace-2107-session
   PASSED (lttng create)
   Error: Event sched_switch: Kernel tracer not available (channel channel0, 
session test-kernel-session)
   FAILED (lttng enable-event)

  
  Complete test result: http://pastebin.ubuntu.com/24924042/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1699755/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to