Skip to content

Instantly share code, notes, and snippets.

@GlenTiki
Created May 22, 2015 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GlenTiki/4427d4297a30955328da to your computer and use it in GitHub Desktop.
Save GlenTiki/4427d4297a30955328da to your computer and use it in GitHub Desktop.
vagrant@vagrant-ubuntu-trusty-64:~/lttng-modules$ make
LTTNG_KERNELDIR=/lib/modules/3.13.0-52-generic/build make -C /lib/modules/3.13.0-52-generic/build M=/home/vagrant/lttng-modules modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-52-generic'
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-client-discard.o
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-client-overwrite.o
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-metadata-client.o
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-client-mmap-discard.o
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-client-mmap-overwrite.o
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-metadata-mmap-client.o
CC [M] /home/vagrant/lttng-modules/lttng-statedump-impl.o
CC [M] /home/vagrant/lttng-modules/wrapper/irqdesc.o
CC [M] /home/vagrant/lttng-modules/wrapper/fdtable.o
CC [M] /home/vagrant/lttng-modules/lttng-events.o
CC [M] /home/vagrant/lttng-modules/lttng-abi.o
CC [M] /home/vagrant/lttng-modules/lttng-probes.o
CC [M] /home/vagrant/lttng-modules/lttng-context.o
CC [M] /home/vagrant/lttng-modules/lttng-context-pid.o
CC [M] /home/vagrant/lttng-modules/lttng-context-procname.o
CC [M] /home/vagrant/lttng-modules/lttng-context-prio.o
CC [M] /home/vagrant/lttng-modules/lttng-context-nice.o
CC [M] /home/vagrant/lttng-modules/lttng-context-vpid.o
CC [M] /home/vagrant/lttng-modules/lttng-context-tid.o
CC [M] /home/vagrant/lttng-modules/lttng-context-vtid.o
CC [M] /home/vagrant/lttng-modules/lttng-context-ppid.o
CC [M] /home/vagrant/lttng-modules/lttng-context-vppid.o
CC [M] /home/vagrant/lttng-modules/lttng-calibrate.o
CC [M] /home/vagrant/lttng-modules/lttng-context-hostname.o
CC [M] /home/vagrant/lttng-modules/wrapper/random.o
CC [M] /home/vagrant/lttng-modules/probes/lttng.o
CC [M] /home/vagrant/lttng-modules/wrapper/trace-clock.o
CC [M] /home/vagrant/lttng-modules/wrapper/page_alloc.o
CC [M] /home/vagrant/lttng-modules/lttng-tracker-pid.o
CC [M] /home/vagrant/lttng-modules/lttng-filter.o
CC [M] /home/vagrant/lttng-modules/lttng-filter-interpreter.o
CC [M] /home/vagrant/lttng-modules/lttng-filter-specialize.o
CC [M] /home/vagrant/lttng-modules/lttng-filter-validator.o
CC [M] /home/vagrant/lttng-modules/probes/lttng-probe-user.o
CC [M] /home/vagrant/lttng-modules/lttng-syscalls.o
CC [M] /home/vagrant/lttng-modules/lttng-context-perf-counters.o
LD [M] /home/vagrant/lttng-modules/lttng-tracer.o
LD [M] /home/vagrant/lttng-modules/lttng-statedump.o
CC [M] /home/vagrant/lttng-modules/lib/ringbuffer/ring_buffer_backend.o
CC [M] /home/vagrant/lttng-modules/lib/ringbuffer/ring_buffer_frontend.o
CC [M] /home/vagrant/lttng-modules/lib/ringbuffer/ring_buffer_iterator.o
CC [M] /home/vagrant/lttng-modules/lib/ringbuffer/ring_buffer_vfs.o
CC [M] /home/vagrant/lttng-modules/lib/ringbuffer/ring_buffer_splice.o
CC [M] /home/vagrant/lttng-modules/lib/ringbuffer/ring_buffer_mmap.o
CC [M] /home/vagrant/lttng-modules/lib/prio_heap/lttng_prio_heap.o
CC [M] /home/vagrant/lttng-modules/lib/../wrapper/splice.o
LD [M] /home/vagrant/lttng-modules/lib/lttng-lib-ring-buffer.o
/home/vagrant/lttng-modules/probes/Makefile:40: File /usr/src/linux-headers-3.13.0-52-generic/virt/kvm/iodev.h /usr/src/linux-headers-3.13.0-52-generic/include/kvm/iodev.h not found. Probe "kvm" x86-specific is disabled. Use full kernel source tree to enable it.
/home/vagrant/lttng-modules/probes/Makefile:152: Files /usr/src/linux-headers-3.13.0-52-generic/fs/btrfs/*.h not found. Probe "btrfs" is disabled. Use full kernel source tree to enable it.
/home/vagrant/lttng-modules/probes/Makefile:168: Files /usr/src/linux-headers-3.13.0-52-generic/fs/ext4/*.h not found. Probe "ext4" is disabled. Use full kernel source tree to enable it.
CC [M] /home/vagrant/lttng-modules/probes/lttng-types.o
CC [M] /home/vagrant/lttng-modules/probes/lttng-probe-sched.o
CC [M] /home/vagrant/lttng-modules/probes/lttng-probe-irq.o
CC [M] /home/vagrant/lttng-modules/probes/lttng-probe-timer.o
CC [M] /home/vagrant/lttng-modules/probes/lttng-probe-kmem.o
In file included from /home/vagrant/lttng-modules/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:100:0,
from /home/vagrant/lttng-modules/probes/../instrumentation/events/lttng-module/kmem.h:310,
from /home/vagrant/lttng-modules/probes/lttng-probe-kmem.c:47:
/home/vagrant/lttng-modules/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:134:6: error: conflicting types for ‘trace_mm_page_alloc_extfrag’
void trace_##_name(_proto);
^
/home/vagrant/lttng-modules/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:48:2: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP’
LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), PARAMS(args))
^
/home/vagrant/lttng-modules/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/kmem.h:232:1: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_MAP’
LTTNG_TRACEPOINT_EVENT_MAP(mm_page_alloc_extfrag,
^
In file included from include/linux/module.h:18:0,
from /home/vagrant/lttng-modules/probes/lttng-probe-kmem.c:29:
include/linux/tracepoint.h:168:21: note: previous definition of ‘trace_mm_page_alloc_extfrag’ was here
static inline void trace_##name(proto) \
^
include/linux/tracepoint.h:265:3: note: in expansion of macro ‘__DECLARE_TRACE’
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), 1, \
^
include/linux/tracepoint.h:399:2: note: in expansion of macro ‘DECLARE_TRACE’
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/trace/events/kmem.h:267:1: note: in expansion of macro ‘TRACE_EVENT’
TRACE_EVENT(mm_page_alloc_extfrag,
^
make[3]: *** [/home/vagrant/lttng-modules/probes/lttng-probe-kmem.o] Error 1
make[2]: *** [/home/vagrant/lttng-modules/probes] Error 2
make[1]: *** [_module_/home/vagrant/lttng-modules] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-52-generic'
make: *** [default] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment