[lttng-dev] Linux kernel 3.0.27-rt46 + LTTng

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Wed May 16 11:57:20 EDT 2012


Use git flone with the git:// URL.

Please CC lttng-dev at lists.lttng.org for those question.

Thanks,

Mathieu

* Vanni Genua (vannigenua at gmail.com) wrote:
> How do I access it? I found this link (http://git.lttng.org/?p=lttng-ust.git),
> but how and what do I have to download? No .tar.bz2 file?
> thanks.
> Vanni
> 
> On Wed, May 16, 2012 at 1:53 PM, Mathieu Desnoyers <
> mathieu.desnoyers at efficios.com> wrote:
> 
> > Please try working on the git tree stable-2.0 branch (or on the master
> > branch). 2.0.1 is not the latest.
> >
> > Please submit this information through the bugtracker on
> > htpp://bugs.lttng.org , or send it to lttng-dev at lists.lttng.org .
> >
> > Having many people looking into your various issues will be helpful,
> >
> > Thanks,
> >
> > Mathieu
> >
> > * Vanni Genua (vannigenua at gmail.com) wrote:
> > > here are the logs:
> > > after having installed userspare-rcu....
> > > *localhost #cd /usr/src/lttng-ust-2.0.1*
> > > *localhost #LDFLAGS=-L/usr/local/lib ./configure --build=armv5*
> > > ...
> > > checking whether the C compiler works... yes
> > > checking for C compiler default output file name... a.out
> > > checking for suffix of executables...
> > > checking whether we are cross compiling... no
> > > checking for suffix of object files... o
> > > checking whether we are using the GNU C compiler... yes
> > > checking whether gcc accepts -g... yes
> > > checking for gcc option to accept ISO C89... none needed
> > > checking for style of include used by make... GNU
> > > checking dependency style of gcc... gcc3
> > > checking for g++... g++
> > > checking whether we are using the GNU C++ compiler... yes
> > > checking whether g++ accepts -g... yes
> > > checking dependency style of g++... gcc3
> > > checking whether make sets $(MAKE)... (cached) yes
> > > checking how to print strings... printf
> > > checking for a sed that does not truncate output... (cached) /bin/sed
> > > checking for grep that handles long lines and -e... /bin/grep
> > > checking for egrep... /bin/grep -E
> > > checking for fgrep... /bin/grep -F
> > > checking for ld used by gcc... /usr/armv7a-unknown-linux-gnueabi/bin/ld
> > > checking if the linker (/usr/armv7a-unknown-linux-gnueabi/bin/ld) is GNU
> > > ld... s
> > > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
> > > checking the name lister (/usr/bin/nm -B) interface... BSD nm
> > > checking whether ln -s works... yes
> > > checking the maximum length of command line arguments... 1572864
> > > checking whether the shell understands some XSI constructs... yes
> > > checking whether the shell understands "+="... yes
> > > checking how to convert armv5-unknown-none file names to
> > armv5-unknown-none
> > > forp
> > > checking how to convert armv5-unknown-none file names to toolchain
> > > format... fup
> > > checking for /usr/armv7a-unknown-linux-gnueabi/bin/ld option to reload
> > > object fr
> > > checking for objdump... objdump
> > > checking how to recognize dependent libraries... unknown
> > > checking for dlltool... no
> > > checking how to associate runtime and link libraries... printf %s\n
> > > checking for ar... ar
> > > checking for archiver @FILE support... @
> > > checking for strip... strip
> > > checking for ranlib... ranlib
> > > checking command to parse /usr/bin/nm -B output from gcc object... ok
> > > checking for sysroot... no
> > > checking for mt... no
> > > checking if : is a manifest tool... no
> > > checking how to run the C preprocessor... gcc -E
> > > checking for ANSI C header files... yes
> > > checking for sys/types.h... yes
> > > checking for sys/stat.h... yes
> > > checking for stdlib.h... yes
> > > checking for string.h... yes
> > > checking for memory.h... yes
> > > checking for strings.h... yes
> > > checking for inttypes.h... yes
> > > checking for stdint.h... yes
> > > checking for unistd.h... yes
> > > checking for dlfcn.h... yes
> > > checking for objdir... .libs
> > > checking if gcc supports -fno-rtti -fno-exceptions... no
> > > checking for gcc option to produce PIC... -fPIC -DPIC
> > > checking if gcc PIC flag -fPIC -DPIC works... yes
> > > checking if gcc static flag -static works... yes
> > > checking if gcc supports -c -o file.o... yes
> > > checking if gcc supports -c -o file.o... (cached) yes
> > > checking whether the gcc linker
> > (/usr/armv7a-unknown-linux-gnueabi/bin/ld)
> > > supps
> > > checking whether -lc should be explicitly linked in... no
> > > checking dynamic linker characteristics... no
> > > checking how to hardcode library paths into programs... immediate
> > > checking whether stripping libraries is possible... yes
> > > checking if libtool supports shared libraries... no
> > > checking whether to build shared libraries... no
> > > checking whether to build static libraries... yes
> > > checking how to run the C++ preprocessor... g++ -E
> > > checking for ld used by g++... /usr/armv7a-unknown-linux-gnueabi/bin/ld
> > > checking if the linker (/usr/armv7a-unknown-linux-gnueabi/bin/ld) is GNU
> > > ld... s
> > > checking whether the g++ linker
> > (/usr/armv7a-unknown-linux-gnueabi/bin/ld)
> > > suppo
> > > checking for g++ option to produce PIC... -fPIC -DPIC
> > > checking if g++ PIC flag -fPIC -DPIC works... yes
> > > checking if g++ static flag -static works... yes
> > > checking if g++ supports -c -o file.o... yes
> > > checking if g++ supports -c -o file.o... (cached) yes
> > > checking whether the g++ linker
> > (/usr/armv7a-unknown-linux-gnueabi/bin/ld)
> > > suppo
> > > checking dynamic linker characteristics... no
> > > checking how to hardcode library paths into programs... immediate
> > > checking for dlopen in -ldl... yes
> > > checking for pthread_create in -lpthread... yes
> > > checking for uuid_generate in -luuid... yes
> > > checking for inline... inline
> > > checking for stdlib.h... (cached) yes
> > > checking for GNU libc compatible malloc... yes
> > > checking for gettimeofday... yes
> > > checking for munmap... yes
> > > checking for socket... yes
> > > checking for strerror... yes
> > > checking for strtol... yes
> > > checking for sched_getcpu... yes
> > > checking for sysconf... yes
> > > checking for makeinfo... yes
> > > checking urcu-bp.h usability... yes
> > > checking urcu-bp.h presence... yes
> > > checking for urcu-bp.h... yes
> > > checking caa_likely()... yes
> > > checking for synchronize_rcu_bp in -lurcu-bp... yes
> > > checking for call_rcu_bp in -lurcu-bp... yes
> > > checking library format for the host system... elf32-littlearm
> > > configure: creating ./config.status
> > > config.status: creating Makefile
> > > config.status: creating doc/Makefile
> > > config.status: creating doc/examples/Makefile
> > > config.status: creating include/Makefile
> > > config.status: creating include/lttng/ust-version.h
> > > config.status: creating snprintf/Makefile
> > > config.status: creating libringbuffer/Makefile
> > > config.status: creating liblttng-ust-comm/Makefile
> > > config.status: creating liblttng-ust/Makefile
> > > config.status: creating liblttng-ust-ctl/Makefile
> > > config.status: creating liblttng-ust-fork/Makefile
> > > config.status: creating liblttng-ust-java/Makefile
> > > config.status: creating liblttng-ust-libc-wrapper/Makefile
> > > config.status: creating tools/Makefile
> > > config.status: creating tests/Makefile
> > > config.status: creating tests/hello/Makefile
> > > config.status: creating tests/hello-static-lib/Makefile
> > > config.status: creating tests/hello.cxx/Makefile
> > > config.status: creating tests/demo/Makefile
> > > config.status: creating tests/fork/Makefile
> > > config.status: creating tests/ust-basic-tracing/Makefile
> > > config.status: creating tests/ust-multi-test/Makefile
> > > config.status: creating lttng-ust.pc
> > > config.status: creating config.h
> > > config.status: config.h is unchanged
> > > config.status: creating include/lttng/ust-config.h
> > > config.status: include/lttng/ust-config.h is unchanged
> > > config.status: executing depfiles commands
> > > config.status: executing libtool commands
> > >
> > > Version name: Annedd'ale
> > > New type of beer, 100% from Quebec, flavored with sapin beaumier needles,
> > > with .
> > >
> > > LTTng-UST will be built with the following options:
> > > Library format: elf32-littlearm
> > >
> > > Java support (JNI): Disabled
> > > sdt.h integration:  Disabled
> > > Type 'make' to compile.
> > >
> > > *localhost lttng-ust-2.0.1 # make clean
> > > *Making clean in doc
> > > make[1]: Entering directory `/usr/src/lttng-ust-2.0.1/doc'
> > > Making clean in examples
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/doc/examples'
> > > rm -rf .libs _libs
> > > rm -f *.lo
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/doc/examples'
> > > Making clean in .
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/doc'
> > > rm -rf .libs _libs
> > > rm -f *.lo
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/doc'
> > > make[1]: Leaving directory `/usr/src/lttng-ust-2.0.1/doc'
> > > Making clean in tests
> > > make[1]: Entering directory `/usr/src/lttng-ust-2.0.1/tests'
> > > Making clean in hello.cxx
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/tests/hello.cxx'
> > > rm -rf .libs _libs
> > >  rm -f hello
> > > rm -f *.o
> > > rm -f *.lo
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/tests/hello.cxx'
> > > Making clean in demo
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/tests/demo'
> > > rm -rf .libs _libs
> > > test -z
> > "liblttng-ust-provider-ust-tests-demo.laliblttng-ust-provider-ust-testa
> > > rm -f "./so_locations"
> > > rm -f "./so_locations"
> > >  rm -f demo
> > > rm -f *.o
> > > rm -f *.lo
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/tests/demo'
> > > Making clean in ust-multi-test
> > > make[2]: Entering directory
> > `/usr/src/lttng-ust-2.0.1/tests/ust-multi-test'
> > > rm -rf .libs _libs
> > >  rm -f ust-multi-test
> > > rm -f *.o
> > > rm -f *.lo
> > > make[2]: Leaving directory
> > `/usr/src/lttng-ust-2.0.1/tests/ust-multi-test'
> > > Making clean in ust-basic-tracing
> > > make[2]: Entering directory
> > > `/usr/src/lttng-ust-2.0.1/tests/ust-basic-tracing'
> > > rm -rf .libs _libs
> > >  rm -f ust-basic-tracing
> > > rm -f *.o
> > > rm -f *.lo
> > > make[2]: Leaving directory
> > > `/usr/src/lttng-ust-2.0.1/tests/ust-basic-tracing'
> > > Making clean in fork
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/tests/fork'
> > > rm -rf .libs _libs
> > >  rm -f fork fork2
> > > rm -f *.o
> > > rm -f *.lo
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/tests/fork'
> > > Making clean in hello-static-lib
> > > make[2]: Entering directory
> > > `/usr/src/lttng-ust-2.0.1/tests/hello-static-lib'
> > > rm -rf .libs _libs
> > > test -z "liblttng-ust-provider-ust-test-hello.la" || rm -f
> > > liblttng-ust-providea
> > > rm -f "./so_locations"
> > >  rm -f hello
> > > rm -f *.o
> > > rm -f *.lo
> > > make[2]: Leaving directory
> > `/usr/src/lttng-ust-2.0.1/tests/hello-static-lib'
> > > Making clean in hello
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/tests/hello'
> > > rm -rf .libs _libs
> > >  rm -f hello
> > > rm -f *.o
> > > rm -f *.lo
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/tests/hello'
> > > Making clean in .
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/tests'
> > > rm -rf .libs _libs
> > > test -z "libtap.a" || rm -f libtap.a
> > > rm -f *.o
> > > rm -f *.lo
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/tests'
> > > make[1]: Leaving directory `/usr/src/lttng-ust-2.0.1/tests'
> > > Making clean in tools
> > > make[1]: Entering directory `/usr/src/lttng-ust-2.0.1/tools'
> > > rm -rf .libs _libs
> > > rm -f *.lo
> > > make[1]: Leaving directory `/usr/src/lttng-ust-2.0.1/tools'
> > > Making clean in liblttng-ust-libc-wrapper
> > > make[1]: Entering directory
> > > `/usr/src/lttng-ust-2.0.1/liblttng-ust-libc-wrapper'
> > > test -z "liblttng-ust-libc-wrapper.la" || rm -f
> > liblttng-ust-libc-wrapper.la
> > > rm -f "./so_locations"
> > > rm -rf .libs _libs
> > > rm -f *.o
> > > rm -f *.lo
> > > make[1]: Leaving directory
> > > `/usr/src/lttng-ust-2.0.1/liblttng-ust-libc-wrapper'
> > > Making clean in liblttng-ust-fork
> > > make[1]: Entering directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-fork'
> > > test -z "liblttng-ust-fork.la" || rm -f liblttng-ust-fork.la
> > > rm -f "./so_locations"
> > > rm -rf .libs _libs
> > > rm -f *.o
> > > rm -f *.lo
> > > make[1]: Leaving directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-fork'
> > > Making clean in liblttng-ust-ctl
> > > make[1]: Entering directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-ctl'
> > > test -z "liblttng-ust-ctl.la" || rm -f liblttng-ust-ctl.la
> > > rm -f "./so_locations"
> > > rm -rf .libs _libs
> > > rm -f *.o
> > > rm -f *.lo
> > > make[1]: Leaving directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-ctl'
> > > Making clean in liblttng-ust
> > > make[1]: Entering directory `/usr/src/lttng-ust-2.0.1/liblttng-ust'
> > > test -z "liblttng-ust-tracepoint.la liblttng-ust.la" || rm -f
> > > liblttng-ust-traca
> > > rm -f "./so_locations"
> > > rm -f "./so_locations"
> > > rm -rf .libs _libs
> > > test -z "liblttng-ust-runtime.la liblttng-ust-support.la" || rm -f
> > > liblttng-usta
> > > rm -f "./so_locations"
> > > rm -f "./so_locations"
> > > rm -f *.o
> > > rm -f *.lo
> > > make[1]: Leaving directory `/usr/src/lttng-ust-2.0.1/liblttng-ust'
> > > Making clean in liblttng-ust-comm
> > > make[1]: Entering directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-comm'
> > > rm -rf .libs _libs
> > > test -z "liblttng-ust-comm.la" || rm -f liblttng-ust-comm.la
> > > rm -f "./so_locations"
> > > rm -f *.o
> > > rm -f *.lo
> > > make[1]: Leaving directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-comm'
> > > Making clean in libringbuffer
> > > make[1]: Entering directory `/usr/src/lttng-ust-2.0.1/libringbuffer'
> > > rm -rf .libs _libs
> > > test -z "libringbuffer.la" || rm -f libringbuffer.la
> > > rm -f "./so_locations"
> > > rm -f *.o
> > > rm -f *.lo
> > > make[1]: Leaving directory `/usr/src/lttng-ust-2.0.1/libringbuffer'
> > > Making clean in snprintf
> > > make[1]: Entering directory `/usr/src/lttng-ust-2.0.1/snprintf'
> > > rm -rf .libs _libs
> > > test -z "libustsnprintf.la" || rm -f libustsnprintf.la
> > > rm -f "./so_locations"
> > > rm -f *.o
> > > rm -f *.lo
> > > make[1]: Leaving directory `/usr/src/lttng-ust-2.0.1/snprintf'
> > > Making clean in include
> > > make[1]: Entering directory `/usr/src/lttng-ust-2.0.1/include'
> > > rm -rf .libs _libs
> > > rm -f *.lo
> > > make[1]: Leaving directory `/usr/src/lttng-ust-2.0.1/include'
> > > Making clean in .
> > > make[1]: Entering directory `/usr/src/lttng-ust-2.0.1'
> > > rm -rf .libs _libs
> > > rm -f *.lo
> > > make[1]: Leaving directory `/usr/src/lttng-ust-2.0.1'
> > > *
> > > localhost lttng-ust-2.0.1 # make*
> > >
> > > make  all-recursive
> > > make[1]: Entering directory `/usr/src/lttng-ust-2.0.1'
> > > Making all in .
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1'
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1'
> > > Making all in include
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/include'
> > > make[2]: Nothing to be done for `all'.
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/include'
> > > Making all in snprintf
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/snprintf'
> > >   CC     libustsnprintf_la-fflush.lo
> > >   CC     libustsnprintf_la-fvwrite.lo
> > >   CC     libustsnprintf_la-mbrtowc_sb.lo
> > >   CC     libustsnprintf_la-snprintf.lo
> > >   CC     libustsnprintf_la-vfprintf.lo
> > >   CC     libustsnprintf_la-wsetup.lo
> > >   CC     libustsnprintf_la-core.lo
> > >   CC     libustsnprintf_la-patient_write.lo
> > >   CCLD   libustsnprintf.la
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/snprintf'
> > > Making all in libringbuffer
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/libringbuffer'
> > >   CC     libringbuffer_la-smp.lo
> > >   CC     libringbuffer_la-shm.lo
> > > shm.c: In function 'shm_object_table_append':
> > > shm.c:108:9: warning: ignoring return value of 'mktemp', declared with
> > > attributt
> > >   CC     libringbuffer_la-ring_buffer_backend.lo
> > >   CC     libringbuffer_la-ring_buffer_frontend.lo
> > >   CCLD   libringbuffer.la
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/libringbuffer'
> > > Making all in liblttng-ust-comm
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-comm'
> > >   CC     lttng-ust-comm.lo
> > >   CCLD   liblttng-ust-comm.la
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-comm'
> > > Making all in liblttng-ust
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/liblttng-ust'
> > >   CC     liblttng_ust_tracepoint_la-tracepoint.lo
> > >   CCLD   liblttng-ust-tracepoint.la
> > >   CC     lttng-ust-comm.lo
> > >   CC     lttng-ust-abi.lo
> > >   CC     ltt-probes.lo
> > >   CC     lttng-probe-ust.lo
> > >   CC     lttng-context-vtid.lo
> > >   CC     lttng-context-vpid.lo
> > >   CC     lttng-context-pthread-id.lo
> > >   CC     lttng-context-procname.lo
> > >   CC     ltt-context.lo
> > >   CC     ltt-events.lo
> > >   CCLD   liblttng-ust-runtime.la
> > >   CC     ust-core.lo
> > >   CC     ltt-ring-buffer-client-discard.lo
> > >   CC     ltt-ring-buffer-client-overwrite.lo
> > >   CC     ltt-ring-buffer-metadata-client.lo
> > >   CCLD   liblttng-ust-support.la
> > >   CCLD   liblttng-ust.la
> > > copying selected object files to avoid basename conflicts...
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/liblttng-ust'
> > > Making all in liblttng-ust-ctl
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-ctl'
> > >   CC     ustctl.lo
> > >   CCLD   liblttng-ust-ctl.la
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-ctl'
> > > Making all in liblttng-ust-fork
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-fork'
> > >   CC     ustfork.lo
> > >   CCLD   liblttng-ust-fork.la
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-fork'
> > > Making all in liblttng-ust-libc-wrapper
> > > make[2]: Entering directory
> > > `/usr/src/lttng-ust-2.0.1/liblttng-ust-libc-wrapper'
> > >   CC     lttng-ust-malloc.lo
> > >   CCLD   liblttng-ust-libc-wrapper.la
> > > make[2]: Leaving directory
> > > `/usr/src/lttng-ust-2.0.1/liblttng-ust-libc-wrapper'
> > > Making all in tools
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/tools'
> > > make[2]: Nothing to be done for `all'.
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/tools'
> > > Making all in tests
> > > make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/tests'
> > > Making all in .
> > > make[3]: Entering directory `/usr/src/lttng-ust-2.0.1/tests'
> > >   CC     tap.o
> > >   AR     libtap.a
> > > make[3]: Leaving directory `/usr/src/lttng-ust-2.0.1/tests'
> > > Making all in hello
> > > make[3]: Entering directory `/usr/src/lttng-ust-2.0.1/tests/hello'
> > >   CC     hello.o
> > > In file included from /usr/include/sys/socket.h:40:0,
> > >                  from /usr/include/netinet/in.h:25,
> > >                  from /usr/include/arpa/inet.h:23,
> > >                  from hello.c:29:
> > > /usr/include/bits/socket.h:431:23: warning: 'struct mmsghdr' declared
> > > inside pat
> > > /usr/include/bits/socket.h:431:23: warning: its scope is only this
> > > definition ot
> > >   CC     tp.o
> > > In file included from ../../include/lttng/ust-events.h:23:0,
> > >                  from ../../include/lttng/ust-tracepoint-event.h:17,
> > >                  from ../../include/lttng/tracepoint-event.h:41,
> > >                  from ust_tests_hello.h:60,
> > >                  from tp.c:18:
> > > /usr/local/include/urcu/hlist.h:3:0: warning: "NULL" redefined
> > > /usr/lib/gcc/armv7a-unknown-linux-gnueabi/4.5.3/include/stddef.h:400:0:
> > > note: tn
> > >   CCLD   hello
> > > ../../liblttng-ust/.libs/liblttng-ust.a(libringbuffer_la-shm.o): In
> > > function `s:
> > > /usr/src/lttng-ust-2.0.1/libringbuffer/shm.c:108: warning: the use of
> > > `mktemp' '
> > > make[3]: Leaving directory `/usr/src/lttng-ust-2.0.1/tests/hello'
> > > Making all in hello-static-lib
> > > make[3]: Entering directory
> > > `/usr/src/lttng-ust-2.0.1/tests/hello-static-lib'
> > >   CC     tp.lo
> > > In file included from ../../include/lttng/ust-events.h:23:0,
> > >                  from ../../include/lttng/ust-tracepoint-event.h:17,
> > >                  from ../../include/lttng/tracepoint-event.h:41,
> > >                  from ust_tests_hello.h:60,
> > >                  from tp.c:18:
> > > /usr/local/include/urcu/hlist.h:3:0: warning: "NULL" redefined
> > > /usr/lib/gcc/armv7a-unknown-linux-gnueabi/4.5.3/include/stddef.h:400:0:
> > > note: tn
> > >   CCLD   liblttng-ust-provider-ust-test-hello.la
> > >   CC     hello.o
> > > In file included from /usr/include/sys/socket.h:40:0,
> > >                  from /usr/include/netinet/in.h:25,
> > >                  from /usr/include/arpa/inet.h:23,
> > >                  from hello.c:29:
> > > /usr/include/bits/socket.h:431:23: warning: 'struct mmsghdr' declared
> > > inside pat
> > > /usr/include/bits/socket.h:431:23: warning: its scope is only this
> > > definition ot
> > >   CCLD   hello
> > >
> > /usr/src/lttng-ust-2.0.1/liblttng-ust/.libs/liblttng-ust.a(libringbuffer_la-shm:
> > > /usr/src/lttng-ust-2.0.1/libringbuffer/shm.c:108: warning: the use of
> > > `mktemp' '
> > > make[3]: Leaving directory
> > `/usr/src/lttng-ust-2.0.1/tests/hello-static-lib'
> > > Making all in fork
> > > make[3]: Entering directory `/usr/src/lttng-ust-2.0.1/tests/fork'
> > >   CC     fork.o
> > > In file included from ../../include/lttng/ust-events.h:23:0,
> > >                  from ../../include/lttng/ust-tracepoint-event.h:17,
> > >                  from ../../include/lttng/tracepoint-event.h:41,
> > >                  from ust_tests_fork.h:52,
> > >                  from fork.c:27:
> > > /usr/local/include/urcu/hlist.h:3:0: warning: "NULL" redefined
> > > /usr/lib/gcc/armv7a-unknown-linux-gnueabi/4.5.3/include/stddef.h:400:0:
> > > note: tn
> > >   CCLD   fork
> > > ../../liblttng-ust/.libs/liblttng-ust.a(libringbuffer_la-shm.o): In
> > > function `s:
> > > /usr/src/lttng-ust-2.0.1/libringbuffer/shm.c:108: warning: the use of
> > > `mktemp' '
> > >   CC     fork2.o
> > > In file included from ../../include/lttng/ust-events.h:23:0,
> > >                  from ../../include/lttng/ust-tracepoint-event.h:17,
> > >                  from ../../include/lttng/tracepoint-event.h:41,
> > >                  from ust_tests_fork.h:52,
> > >                  from fork2.c:23:
> > > /usr/local/include/urcu/hlist.h:3:0: warning: "NULL" redefined
> > > /usr/lib/gcc/armv7a-unknown-linux-gnueabi/4.5.3/include/stddef.h:400:0:
> > > note: tn
> > >   CCLD   fork2
> > > ../../liblttng-ust/.libs/liblttng-ust.a(libringbuffer_la-shm.o): In
> > > function `s:
> > > /usr/src/lttng-ust-2.0.1/libringbuffer/shm.c:108: warning: the use of
> > > `mktemp' '
> > > make[3]: Leaving directory `/usr/src/lttng-ust-2.0.1/tests/fork'
> > > Making all in ust-basic-tracing
> > > make[3]: Entering directory
> > > `/usr/src/lttng-ust-2.0.1/tests/ust-basic-tracing'
> > >   CC     ust-basic-tracing.o
> > >   CCLD   ust-basic-tracing
> > > ../../libringbuffer/.libs/libringbuffer.a(libringbuffer_la-shm.o): In
> > > function :
> > > /usr/src/lttng-ust-2.0.1/libringbuffer/shm.c:108: warning: the use of
> > > `mktemp' '
> > > make[3]: Leaving directory
> > > `/usr/src/lttng-ust-2.0.1/tests/ust-basic-tracing'
> > > Making all in ust-multi-test
> > > make[3]: Entering directory
> > `/usr/src/lttng-ust-2.0.1/tests/ust-multi-test'
> > >   CC     ust-multi-test.o
> > >   CCLD   ust-multi-test
> > > ../../libringbuffer/.libs/libringbuffer.a(libringbuffer_la-shm.o): In
> > > function :
> > > /usr/src/lttng-ust-2.0.1/libringbuffer/shm.c:108: warning: the use of
> > > `mktemp' '
> > > make[3]: Leaving directory
> > `/usr/src/lttng-ust-2.0.1/tests/ust-multi-test'
> > > Making all in demo
> > > make[3]: Entering directory `/usr/src/lttng-ust-2.0.1/tests/demo'
> > >   CC     tp.lo
> > > In file included from ../../include/lttng/ust-events.h:23:0,
> > >                  from ../../include/lttng/ust-tracepoint-event.h:17,
> > >                  from ../../include/lttng/tracepoint-event.h:41,
> > >                  from ust_tests_demo.h:49,
> > >                  from tp.c:18:
> > > /usr/local/include/urcu/hlist.h:3:0: warning: "NULL" redefined
> > > /usr/lib/gcc/armv7a-unknown-linux-gnueabi/4.5.3/include/stddef.h:400:0:
> > > note: tn
> > >   CC     tp2.lo
> > > In file included from ../../include/lttng/ust-events.h:23:0,
> > >                  from ../../include/lttng/ust-tracepoint-event.h:17,
> > >                  from ../../include/lttng/tracepoint-event.h:41,
> > >                  from ust_tests_demo2.h:56,
> > >                  from tp2.c:18:
> > > /usr/local/include/urcu/hlist.h:3:0: warning: "NULL" redefined
> > > /usr/lib/gcc/armv7a-unknown-linux-gnueabi/4.5.3/include/stddef.h:400:0:
> > > note: tn
> > >   CCLD   liblttng-ust-provider-ust-tests-demo.la
> > > libtool: link: can not build a shared library
> > > libtool: link: See the libtool documentation for more information.
> > > libtool: link: Fatal configuration error.
> > > make[3]: *** [liblttng-ust-provider-ust-tests-demo.la] Error 1
> > > make[3]: Leaving directory `/usr/src/lttng-ust-2.0.1/tests/demo'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/tests'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/usr/src/lttng-ust-2.0.1'
> > > make: *** [all] Error 2
> > >
> > >
> > >
> > > It fails...
> > > so do you think it can work or is it not suitable for using on armv7
> > > (OMAP4430) Pandaboard?
> > >
> > > Vanni Genua
> > >
> > >
> > > On Tue, May 15, 2012 at 5:33 PM, Mathieu Desnoyers <
> > > mathieu.desnoyers at efficios.com> wrote:
> > >
> > > > tracepoint.c:
> > > >
> > > > Fixed in master and stable-2.0 branches (upstream). Thanks for
> > > > reporting. Missing stdio.h include.
> > > >
> > > > hello:
> > > >
> > > > did you try doing:
> > > >
> > > > LDFLAGS=-L/usr/local/lib ./configure --build=armv5
> > > > make clean
> > > > make
> > > >
> > > > ?
> > > >
> > > > For some reason, it fails to see liburcu.
> > > >
> > > > Thanks,
> > > >
> > > > Mathieu
> > > >
> > > > * Vanni Genua (vannigenua at gmail.com) wrote:
> > > > > here are the exact files:
> > > > > /usr/src/lttng-ust-2.0.1/liblttng-ust/tracepoint.c
> > > > > /usr/src/lttng-ust-2.0.1/liblttng_ust/...tests../hello ( it fails
> > make
> > > > > inside hello directory)
> > > > >
> > > > > On 5/15/12, Vanni Genua <vannigenua at gmail.com> wrote:
> > > > > > because i did the following steps on Pandaboard (armv7 OMAP4430)
> > with
> > > > > > Gentoo:
> > > > > > 1)
> > > > > > # cd /usr/src/lttng-modules
> > > > > > #make clean
> > > > > > #make
> > > > > > #make modules install
> > > > > > #depmode -a
> > > > > >
> > > > > > and it has gone OK!
> > > > > >
> > > > > > 2)
> > > > > > # cd /usr/src/userspace-rcu-0.6.7
> > > > > > #make clean
> > > > > > #make
> > > > > > #make install
> > > > > > #ldconfig
> > > > > >
> > > > > > and Gentoo installed userspace-rcu-0.6.7 correctly:OK!
> > > > > >
> > > > > > 3)
> > > > > >
> > > > > > #cd /usr/src/lttng-ust-2.0.1  (cos 2.0.2 was harder to compile...)
> > > > > > # ./configure
> > > > > > it gave me unsupported armv71 architecture so I did the following:
> > > > > > #./configure --build armv5
> > > > > > and configuration went OK!
> > > > > > #make
> > > > > > and it give me a stucking error: hello (the hello word test
> > program)
> > > > > > undefined reference to function rcu_dereference_sym_bp
> > > > > > also in tracepoint.c it has undefined first use of NULL   ( I
> > solved
> > > > > > it by adding #define NULL 0)
> > > > > > Tomorrow I'll copy the exact error lines when I go back to work.
> > > > > > Any idea?
> > > > > > Thanks
> > > > > > Vanni
> > > > > >
> > > > > >
> > > > > > On 5/15/12, Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
> > wrote:
> > > > > >> userspace rcu works on arm v7. See its README file, under
> > > > "ARCHITECTURES
> > > > > >> SUPPORTED".
> > > > > >>
> > > > > >> Thanks,
> > > > > >>
> > > > > >> Mathieu
> > > > > >>
> > > > > >> * Vanni Genua (vannigenua at gmail.com) wrote:
> > > > > >>> Hi,
> > > > > >>> look here:
> > > > > >>>
> > > >
> > http://gentoo.linuxhowtos.org/portage/dev-libs/userspace-rcu?show=knownbugs
> > > > > >>> so can LTTng not work on  armv7 architecture?
> > > > > >>> Thanks.
> > > > > >>> Vanni
> > > > > >>>
> > > > > >>> On Mon, May 14, 2012 at 11:04 AM, Vanni Genua <
> > vannigenua at gmail.com>
> > > > > >>> wrote:
> > > > > >>>
> > > > > >>> > Ok,
> > > > > >>> > and what about emerging liburcu on Gentoo? It seems necessary
> > for
> > > > > >>> > installing lttng-tools. On http://lttng.org/urcu I found
> > sources
> > > > > >>> > packages
> > > > > >>> > , but there is also a git repository: are they the same? So,
> > > > should I
> > > > > >>> > download these sources and then compile and install them on
> > Gentoo?
> > > > > >>> > Thanks.
> > > > > >>> > Vanni Genua
> > > > > >>> >
> > > > > >>> >
> > > > > >>> > On Wed, May 9, 2012 at 1:45 PM, Mathieu Desnoyers <
> > > > > >>> > mathieu.desnoyers at efficios.com> wrote:
> > > > > >>> >
> > > > > >>> >> * Vanni Genua (vannigenua at gmail.com) wrote:
> > > > > >>> >> > hi there,
> > > > > >>> >> > I have some troubles in uinstalling lttng-modules.2.0.2 on
> > > > kernel
> > > > > >>> >> > 3.0.27-r46, I have top install them on the Pandaboard
> > (OMAP4430)
> > > > > >>> >> > using
> > > > > >>> >> > Gentoo.
> > > > > >>> >> > I just did make and it returns the following  error
> > messages:
> > > > > >>> >> > *localhost lttng-modules-2.0.2 # make
> > > > > >>> >> > make -C /lib/modules/3.0.27-rt46/build
> > > > > >>> >> > M=/usr/src/lttng-modules-2.0.2
> > > > > >>> >> > modules
> > > > > >>> >> > make: *** /lib/modules/3.0.27-rt46/build: No such file or
> > > > > >>> >> > directory.
> > > > > >>> >>  Stop.
> > > > > >>> >> > make: *** [default] Error 2
> > > > > >>> >> >
> > > > > >>> >> > *As a matter of fact the directory lib/modules doesn't
> > exist.
> > > > Also
> > > > > >>> >> there is
> > > > > >>> >> > no /usr/src/linux directory on the pandaboard.
> > > > > >>> >> > Pandaboard is running Gentoo OS from an SD card, on which
> > there
> > > > is
> > > > > >>> >> > a
> > > > > >>> >> > crosscompiled uImage of the kernel 3.0.27-rt46 and a Gentoo
> > > > stage3.
> > > > > >>> >> >
> > > > > >>> >> > So I cannot do make and make modules_install for getting the
> > > > lttng
> > > > > >>> >> modules
> > > > > >>> >> > installed.
> > > > > >>> >> > Any idea?
> > > > > >>> >>
> > > > > >>> >> You'll have to cross-compile the modules on your SDK (see the
> > > > Linux
> > > > > >>> >> kernel make help for make modules_install env. var.), and then
> > > > copy
> > > > > >>> >> the
> > > > > >>> >> modules to your target. Having your SDK setup for building
> > > > modules is
> > > > > >>> >> distro-specific, so you should ask further questions on how to
> > > > > >>> >> install
> > > > > >>> >> the SDK to your Linux distro support.
> > > > > >>> >>
> > > > > >>> >> Thanks,
> > > > > >>> >>
> > > > > >>> >> Mathieu
> > > > > >>> >>
> > > > > >>> >> > Thanks
> > > > > >>> >> > Vanni
> > > > > >>> >> >
> > > > > >>> >> > **
> > > > > >>> >> >
> > > > > >>> >> >
> > > > > >>> >> > On Tue, May 8, 2012 at 3:04 PM, Vanni Genua <
> > > > vannigenua at gmail.com>
> > > > > >>> >> wrote:
> > > > > >>> >> >
> > > > > >>> >> > > Ok thanks.
> > > > > >>> >> > > Vanni
> > > > > >>> >> > >
> > > > > >>> >> > >
> > > > > >>> >> > > On Tue, May 8, 2012 at 3:00 PM, Mathieu Desnoyers <
> > > > > >>> >> > > mathieu.desnoyers at efficios.com> wrote:
> > > > > >>> >> > >
> > > > > >>> >> > >> * Vanni Genua (vannigenua at gmail.com) wrote:
> > > > > >>> >> > >> > Hi there,
> > > > > >>> >> > >> > I have installed Gentoo (kernel 3.0.27 with rt46 real
> > time
> > > > > >>> >> > >> > patch)
> > > > > >>> >> on
> > > > > >>> >> > >> > Pandaboard (OMAP4430).
> > > > > >>> >> > >> > Does LTTng support Linux kernel 3.0.27-rt46?
> > > > > >>> >> > >> > If LTTng works with this kernel version, which are the
> > > > LTTng
> > > > > >>> >> modules for
> > > > > >>> >> > >> > patching the kernel?
> > > > > >>> >> > >>
> > > > > >>> >> > >> lttng 2.0 should work with kernels 2.6.38 and more
> > recent,
> > > > which
> > > > > >>> >> > >> includes 3.0. So you should try it out. See
> > http://lttng.orgfor
> > > > > >>> >> > >> details. It _should_ work with -rt, although testing
> > feedback
> > > > > >>> >> > >> would
> > > > > >>> >> be
> > > > > >>> >> > >> welcome.
> > > > > >>> >> > >>
> > > > > >>> >> > >> Thanks,
> > > > > >>> >> > >>
> > > > > >>> >> > >> Mathieu
> > > > > >>> >> > >>
> > > > > >>> >> > >> > Thanks.
> > > > > >>> >> > >> > Vanni Genua
> > > > > >>> >> > >>
> > > > > >>> >> > >> --
> > > > > >>> >> > >> Mathieu Desnoyers
> > > > > >>> >> > >> Operating System Efficiency R&D Consultant
> > > > > >>> >> > >> EfficiOS Inc.
> > > > > >>> >> > >> http://www.efficios.com
> > > > > >>> >> > >>
> > > > > >>> >> > >
> > > > > >>> >> > >
> > > > > >>> >>
> > > > > >>> >> --
> > > > > >>> >> Mathieu Desnoyers
> > > > > >>> >> Operating System Efficiency R&D Consultant
> > > > > >>> >> EfficiOS Inc.
> > > > > >>> >> http://www.efficios.com
> > > > > >>> >>
> > > > > >>> >
> > > > > >>> >
> > > > > >>
> > > > > >> --
> > > > > >> Mathieu Desnoyers
> > > > > >> Operating System Efficiency R&D Consultant
> > > > > >> EfficiOS Inc.
> > > > > >> http://www.efficios.com
> > > > > >>
> > > > > >
> > > >
> > > > --
> > > > Mathieu Desnoyers
> > > > Operating System Efficiency R&D Consultant
> > > > EfficiOS Inc.
> > > > http://www.efficios.com
> > > >
> >
> > --
> > Mathieu Desnoyers
> > Operating System Efficiency R&D Consultant
> > EfficiOS Inc.
> > http://www.efficios.com
> >

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list