Mathieu Desnoyers [Fri, 2 Mar 2012 15:13:14 +0000 (10:13 -0500)]
Fix: use transport name as channel name
Clarify lost event printout.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 1 Mar 2012 22:03:09 +0000 (17:03 -0500)]
Fix: Add signature check in tracepoint activation
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 1 Mar 2012 20:26:19 +0000 (15:26 -0500)]
Fix: add tracepoint signature at tracepoint definition site
Will enable type-checking between call site and handler.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 1 Mar 2012 19:39:02 +0000 (14:39 -0500)]
Fix: keep event probe signature, for use by event probe signature check
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 1 Mar 2012 18:53:45 +0000 (13:53 -0500)]
Fix ABI: add padding to structures shared between UST and consumer
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 1 Mar 2012 18:39:04 +0000 (13:39 -0500)]
Fix ABI: add padding to tracepoint and ring buffer config public structures
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 1 Mar 2012 18:33:11 +0000 (13:33 -0500)]
Fix ABI: Adding missing padding in tracepoint event structures
Add padding for future extensions.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 1 Mar 2012 17:48:13 +0000 (12:48 -0500)]
Fix: Add include/lttng/ust-config.h to git ignore
(fixes #95)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 1 Mar 2012 17:15:34 +0000 (12:15 -0500)]
Fix effect: update README about dlopen()
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 1 Mar 2012 17:13:47 +0000 (12:13 -0500)]
Fix: fixup vtid TLS
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Conflicts:
liblttng-ust/lttng-context-vtid.c
Mathieu Desnoyers [Thu, 1 Mar 2012 17:09:40 +0000 (12:09 -0500)]
Fix: fixup ringbuffer tls at constructor by forcing read
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Conflicts:
liblttng-ust/lttng-ust-comm.c
libringbuffer/ring_buffer_frontend.c
Mathieu Desnoyers [Thu, 1 Mar 2012 17:00:04 +0000 (12:00 -0500)]
Fix: fix deadlock with dlopen() lttng-ust
Pre-"fault" the libuuid TLS outside of the ust lock to ensure that we
never deadlock with the linker mutex in libc. This mutex is held both
for TLS fixup of dlopen'd libs, and across execution of all
constructors. We therefore have a reverse use of this mutex wrt ust
lock, that we fix by forcing the TLS fixup to happen very early in the
lttng-ust constructor.
[fixed merge from dev branch]
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 24 Feb 2012 01:11:17 +0000 (20:11 -0500)]
Fix: only print event errors every
1048576 hits
Never spam the console, even in debug mode, since it would make debug
information very much useless.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 24 Feb 2012 00:08:51 +0000 (19:08 -0500)]
Fix: add missing debug printout to identify the cause of lost events
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 23 Feb 2012 22:28:19 +0000 (17:28 -0500)]
fix: liblttng-ust-ctl should check for incorrect parameters
Acked-by: David Goulet <dgoulet@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 23 Feb 2012 20:13:01 +0000 (15:13 -0500)]
fix: ust comm error handling segfault
On comm errors, UST should not try to populate fields from NULL
pointers.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:10:34 +0000 (17:10 -0500)]
Revert "Add FreeBSD compat layer for endian.h"
This reverts commit
8740da0a30986094ebf03a0f3b7448844d5e886f.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:10:33 +0000 (17:10 -0500)]
Revert "fls: use local namespace to do not clash with FreeBSD string.h"
This reverts commit
6b95cebfaaf9f6ee862fc790d5a128769dc573bf.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:10:32 +0000 (17:10 -0500)]
Revert "Fix freebsd endian support"
This reverts commit
020760b19e351bda940b38ca273f32206ab4d03f.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:10:32 +0000 (17:10 -0500)]
Revert "Add get proc name wrapper for FreeBSD"
This reverts commit
48621a4272bdeb1e8fced511ca6bf3c4c2240c15.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:10:31 +0000 (17:10 -0500)]
Revert "Add freebsd support for getcpu (use cpu nr 0)"
This reverts commit
dbafbbf5527d2e291b216216fd2c5b7dc4df66ed.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:10:30 +0000 (17:10 -0500)]
Revert "snprintf: fix namespace of snprintf types for freebsd"
This reverts commit
18d0b33ab9884b3f7bac0dd918993dc05a7c43fd.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:10:29 +0000 (17:10 -0500)]
Revert "Compat layer for gettid"
This reverts commit
36e2ba2a19ec6698ed8dfb8c9bde683368334372.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:10:29 +0000 (17:10 -0500)]
Revert "Use XSI-compliant strerror_r by default on non-Linux"
This reverts commit
7705281be801c16b35349f9ab17f67419cac1c34.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:10:28 +0000 (17:10 -0500)]
Revert "Use ENOMSG as fallback for ENODATA on freebsd"
This reverts commit
e5757a9047b04cb2fb94d9dfdf7153e963eafa95.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:10:27 +0000 (17:10 -0500)]
Revert "Use bsd-compatible fcntl for close-on-exec on socket"
This reverts commit
4171df999bf0c0c552fa35cea9a12fa4d82faae6.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:10:27 +0000 (17:10 -0500)]
Revert "configure.ac: check for both libuuid/libc uuid APIs"
This reverts commit
eade58d0cba1a300e37a4b1fd4b2588f134d08c9.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:10:26 +0000 (17:10 -0500)]
Revert "Create libuuid/libc uuid wrapper"
This reverts commit
67107619135ff344f0de2783ec2d48e558deaf9a.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:10:22 +0000 (17:10 -0500)]
Revert "Rename uuid.h wrapper to lttng-ust-uuid.h"
This reverts commit
f194f3b00d042154c35f1f9ec262e25f2cd83b8a.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:09:38 +0000 (17:09 -0500)]
Revert "uuid.h should only be included when libuuid is detected"
This reverts commit
ce32a22799df2d99926df4563e3a52059e3e180a.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:09:37 +0000 (17:09 -0500)]
Revert "Add freebsd rfork support"
This reverts commit
16295480956eae5c1c3a83546353143bef1885ba.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:09:36 +0000 (17:09 -0500)]
Revert "Cast uuid_create parameter"
This reverts commit
f1a74d692e1469c197fba0ce5c7519da222cfaf2.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:09:35 +0000 (17:09 -0500)]
Revert "Update uuid_create type cast"
This reverts commit
a58a54609106b5dc7f9cb0ff5514de8b175e4b01.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:09:31 +0000 (17:09 -0500)]
Revert "Remove useless const qualifier"
This reverts commit
277d6e1d016e69184fd49b867ff1268d3ff668f5.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:09:31 +0000 (17:09 -0500)]
Revert "Detect and document dependency on -ldl on Linux, -lc on BSD for dlopen"
This reverts commit
90cefaa31af0a85593a155fba8570e04c653225a.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:09:30 +0000 (17:09 -0500)]
Revert "ust-event.h: use BYTE_ORDER instead of __BYTE_ORDER"
This reverts commit
52367557562008ab80a94adbaf047dd44b282d15.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:09:29 +0000 (17:09 -0500)]
Revert "Wrap FLOAT_WORD_ORDER"
This reverts commit
c759fe81a6251b9feddf5cd9576278ffedf92ac3.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:09:28 +0000 (17:09 -0500)]
Revert "Remove O_LARGEFILE from tests"
This reverts commit
626cb7f6174c4d9c22364f10d3d6a0915e53d5f3.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:09:27 +0000 (17:09 -0500)]
Revert "Add configure amd64 support (for FreeBSD)"
This reverts commit
404d9909a392de0e0044c7f49a932d1765c9d813.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 22:09:09 +0000 (17:09 -0500)]
Revert "Remove gettid warning"
This reverts commit
4f41890f998c2c3778213ed2a8938534fb3060e1.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Feb 2012 00:20:51 +0000 (19:20 -0500)]
Fix: Return -EINVAL instead of print warning if non power of 2 size/num_subbuf
Reported-by: Tan Dung Le Tran <tan.dung.le.tran@ericsson.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 22:01:33 +0000 (17:01 -0500)]
fix: on exit, leave thread/mmap reclaim to OS
Do NOT join threads: use of sys_futex makes it impossible to join the
threads without using async-cancel, but async-cancel is delivered by a
signal, which could hit the target thread anywhere in its code path,
including while the ust_lock() is held, causing a deadlock for the other
thread. Let the OS cleanup the threads if there are stalled in a
syscall.
wait_shm_mmap is used by listener threads outside of the ust lock, so we
cannot tear it down ourselves, because we cannot join on these threads.
Leave this task to the OS process exit.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 18:13:18 +0000 (13:13 -0500)]
fix: Handle sys_futex with async cancel, add missing pthread_join
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 17:41:18 +0000 (12:41 -0500)]
fix: Only munmap the wait page when not exiting from process
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 16:54:38 +0000 (11:54 -0500)]
Use CPPFLAGS instead of CFLAGS for -I
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 16:49:53 +0000 (11:49 -0500)]
Fix type range comparison always false for 64-bit arch
ltt-events.c: In function 'ltt_event_create':
ltt-events.c:498: warning: comparison is always false due to limited
range of data type
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 16:48:28 +0000 (11:48 -0500)]
Remove gettid warning
Not so important, hides really useful warnings.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 16:45:53 +0000 (11:45 -0500)]
demo: remove useless libs
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 16:41:36 +0000 (11:41 -0500)]
Add configure amd64 support (for FreeBSD)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 16:40:57 +0000 (11:40 -0500)]
Remove O_LARGEFILE from tests
Not portable.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 16:39:45 +0000 (11:39 -0500)]
tests: include missing headers
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 16:31:10 +0000 (11:31 -0500)]
Wrap FLOAT_WORD_ORDER
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 16:27:50 +0000 (11:27 -0500)]
ust-event.h: use BYTE_ORDER instead of __BYTE_ORDER
available on both Linux and FreeBSD.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 16:25:14 +0000 (11:25 -0500)]
Detect and document dependency on -ldl on Linux, -lc on BSD for dlopen
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 15:59:56 +0000 (10:59 -0500)]
Remove useless const qualifier
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 15:58:57 +0000 (10:58 -0500)]
Update uuid_create type cast
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 15:57:39 +0000 (10:57 -0500)]
Cast uuid_create parameter
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 15:55:55 +0000 (10:55 -0500)]
Add freebsd rfork support
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 15:06:10 +0000 (10:06 -0500)]
uuid.h should only be included when libuuid is detected
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 15:01:15 +0000 (10:01 -0500)]
Rename uuid.h wrapper to lttng-ust-uuid.h
So it does not clash with BSD system's uuid.h
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 14:56:27 +0000 (09:56 -0500)]
Create libuuid/libc uuid wrapper
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 13:46:52 +0000 (08:46 -0500)]
configure.ac: check for both libuuid/libc uuid APIs
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 03:01:52 +0000 (22:01 -0500)]
Use bsd-compatible fcntl for close-on-exec on socket
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 02:58:31 +0000 (21:58 -0500)]
Use ENOMSG as fallback for ENODATA on freebsd
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 02:54:04 +0000 (21:54 -0500)]
Use XSI-compliant strerror_r by default on non-Linux
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 02:32:25 +0000 (21:32 -0500)]
Compat layer for gettid
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 02:18:20 +0000 (21:18 -0500)]
snprintf: fix namespace of snprintf types for freebsd
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 01:12:04 +0000 (20:12 -0500)]
Add freebsd support for getcpu (use cpu nr 0)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 00:52:30 +0000 (19:52 -0500)]
Add get proc name wrapper for FreeBSD
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 00:28:44 +0000 (19:28 -0500)]
Fix freebsd endian support
Need to use #elif defined().
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 00:17:08 +0000 (19:17 -0500)]
fls: use local namespace to do not clash with FreeBSD string.h
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 00:15:25 +0000 (19:15 -0500)]
Add FreeBSD compat layer for endian.h
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 21 Feb 2012 00:03:18 +0000 (19:03 -0500)]
Add missing limits.h include for NAME_MAX
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 20 Feb 2012 20:30:56 +0000 (15:30 -0500)]
Update Version to 2.0.0-rc1
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 20 Feb 2012 20:00:36 +0000 (15:00 -0500)]
Standardize version across toolchain
closes #80
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Yannick Brosseau [Mon, 20 Feb 2012 03:26:15 +0000 (22:26 -0500)]
Fix a typo in gen-tp Makefile
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Yannick Brosseau [Thu, 16 Feb 2012 23:37:51 +0000 (18:37 -0500)]
Implement the .o file generation in lttng-gen-tp
(refs #40)
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 16 Feb 2012 19:32:19 +0000 (14:32 -0500)]
Update version to 1.9.8
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 16 Feb 2012 18:52:43 +0000 (13:52 -0500)]
Fix comment in tracepoint.h
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 16 Feb 2012 18:51:54 +0000 (13:51 -0500)]
Add loglevel info to manpage
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 16 Feb 2012 18:12:32 +0000 (13:12 -0500)]
Remove stale binary file
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 16 Feb 2012 18:11:55 +0000 (13:11 -0500)]
Add lttng-ust(3)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Yannick Brosseau [Thu, 16 Feb 2012 17:35:01 +0000 (12:35 -0500)]
Add a man page for lttng-gen-tp
(Closes #24)
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 16 Feb 2012 17:20:36 +0000 (12:20 -0500)]
Install easy-ust and gen-tp examples in doc/
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Yannick Brosseau [Thu, 16 Feb 2012 14:11:11 +0000 (09:11 -0500)]
Create the lttng-gen-tp tools as an helper to generate UST .h and .c files
Based on a template file which contains TRACEPOINT_EVENT definition, the
tools generate the necessary .h and .c to create the probes.
Include an example use in tests/gen-tp/
(refs #24)
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 16 Feb 2012 03:23:47 +0000 (22:23 -0500)]
Add missing #define _GNU_SOURCE for sched_getcpu()
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 15 Feb 2012 00:12:35 +0000 (19:12 -0500)]
Define _GNU_SOURCE for all implementation files rather than getcpu.h
If implementation files include the sched.h header prior to having
_GNU_SOURCE defined by getcpu.h, we get in a situation where
sched_getcpu() can be undeclared.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 15 Feb 2012 00:06:52 +0000 (19:06 -0500)]
Add sched_getcpu and sysconf to AC_CHECK_FUNCS
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 13 Feb 2012 19:33:24 +0000 (14:33 -0500)]
Mark lib_ring_buffer_print_errors unused
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 13 Feb 2012 19:31:29 +0000 (14:31 -0500)]
Cleanup: remove extra space from easy_ust example
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 13 Feb 2012 19:30:58 +0000 (14:30 -0500)]
Add missing comma to tracepoint STAP_PROBEV call
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 13 Feb 2012 15:40:31 +0000 (10:40 -0500)]
Update version to 1.9.7
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 10 Feb 2012 23:30:58 +0000 (18:30 -0500)]
liblttng-ust-java: add missing -classpath ./
Now both gcj and OpenJDK work fine.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 10 Feb 2012 23:25:09 +0000 (18:25 -0500)]
Only specify that sdt.h provides system integration for now
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 10 Feb 2012 23:13:27 +0000 (18:13 -0500)]
Add STAP_PROBEV check ton configure.ac
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 10 Feb 2012 23:05:28 +0000 (18:05 -0500)]
Add sdt.h integration
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 10 Feb 2012 23:03:51 +0000 (18:03 -0500)]
Remove extern C around probe header
Not required, and prohibits sdt.h from declaring templates from
tracepoint.h.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 10 Feb 2012 22:55:03 +0000 (17:55 -0500)]
Move lttng/config.h to lttng/ust-config.h, and use LTTNG_UST_ namespace
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Alexandre Montplaisir [Fri, 10 Feb 2012 22:31:23 +0000 (17:31 -0500)]
Add a configure report at the end of the output
Sorry, couldn't help myself...
Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Alexandre Montplaisir [Fri, 10 Feb 2012 22:30:50 +0000 (17:30 -0500)]
Add sdt.h integration option
It is not wired to anything yet, but we can at least build
the package with that option enabled.
Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
This page took 0.040978 seconds and 4 git commands to generate.