ust.git
12 years agoRename UST.class to LTTNG_UST.class lttng-ust-2.0
Mathieu Desnoyers [Thu, 3 Nov 2011 17:03:21 +0000 (13:03 -0400)] 
Rename UST.class to LTTNG_UST.class

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRename package to lttng-ust
Mathieu Desnoyers [Thu, 3 Nov 2011 16:43:14 +0000 (12:43 -0400)] 
Rename package to lttng-ust

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolibrary mass rename: add lttng- prefix
Mathieu Desnoyers [Thu, 3 Nov 2011 16:35:30 +0000 (12:35 -0400)] 
library mass rename: add lttng- prefix

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate readme
Mathieu Desnoyers [Thu, 3 Nov 2011 16:35:22 +0000 (12:35 -0400)] 
Update readme

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMove include/ust/ to include/lttng/
Mathieu Desnoyers [Thu, 3 Nov 2011 16:16:04 +0000 (12:16 -0400)] 
Move include/ust/ to include/lttng/

Keep all lttng project files under the same toplevel directory.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd lttng_ust_ prefix before objd_unref
Mathieu Desnoyers [Thu, 3 Nov 2011 15:42:06 +0000 (11:42 -0400)] 
Add lttng_ust_ prefix before objd_unref

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd lttng_ust prefix before struct obj and struct objd_ops
Mathieu Desnoyers [Thu, 3 Nov 2011 15:40:55 +0000 (11:40 -0400)] 
Add lttng_ust prefix before struct obj and struct objd_ops

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRename ltt_events_exit to lttng_ust_events_exit
Mathieu Desnoyers [Thu, 3 Nov 2011 15:39:42 +0000 (11:39 -0400)] 
Rename ltt_events_exit to lttng_ust_events_exit

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate to use caa_likely/caa_unlikely from urcu 0.6.6
Mathieu Desnoyers [Thu, 3 Nov 2011 15:37:30 +0000 (11:37 -0400)] 
Update to use caa_likely/caa_unlikely from urcu 0.6.6

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRename struct lib_ring_buffer* to struct lttng_ust_lib_ring_buffer*
Mathieu Desnoyers [Wed, 2 Nov 2011 17:41:58 +0000 (13:41 -0400)] 
Rename struct lib_ring_buffer* to struct lttng_ust_lib_ring_buffer*

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRename shm_handle to lttng_ust_shm_handle
Mathieu Desnoyers [Wed, 2 Nov 2011 17:36:53 +0000 (13:36 -0400)] 
Rename shm_handle to lttng_ust_shm_handle

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMove lttng_ust_object_data et lttng_ust_channel_attr to -abi.h
Mathieu Desnoyers [Wed, 2 Nov 2011 17:33:03 +0000 (13:33 -0400)] 
Move lttng_ust_object_data et lttng_ust_channel_attr to -abi.h

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agorename object_data to lttng_ust_object_data
Mathieu Desnoyers [Wed, 2 Nov 2011 17:26:06 +0000 (13:26 -0400)] 
rename object_data to lttng_ust_object_data

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agofutex error should be a warning
Mathieu Desnoyers [Fri, 28 Oct 2011 21:29:49 +0000 (23:29 +0200)] 
futex error should be a warning

* Matthew Khouzam (matthew.khouzam@ericsson.com) wrote:
> Hi tracing warlords,
> I am testing UST 2.0 on ubuntu Lucid Lynx, and I got the following
> message while running a program:
> libust[22376/22377]: Error: Linux kernels 2.6.33 to 3.0 (with the
> exception of stable versions) do not support FUTEX_WAKE on read-only
> memory mappings correctly. Please upgrade your kernel (fix is commit
9ea71503a8ed9184d2d0b8ccc4d269d05f7940ae in Linux kernel mainline).
> LTTng-UST will use polling mode fallback. (in wait_for_sessiond() at
> lttng-ust-comm.c:564)
>
> I think since there is a fallback, and this is not a showstopper just an
> irritation that it should be a warning.

Reported-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRemove duplicate prototype declaration
Mathieu Desnoyers [Thu, 27 Oct 2011 12:31:01 +0000 (14:31 +0200)] 
Remove duplicate prototype declaration

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd context to both channel and event
Mathieu Desnoyers [Mon, 24 Oct 2011 23:46:01 +0000 (19:46 -0400)] 
Add context to both channel and event

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agochange start/stop session parameters
Mathieu Desnoyers [Sun, 23 Oct 2011 23:48:41 +0000 (19:48 -0400)] 
change start/stop session parameters

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agostandardize on flush buffer (no plural)
Mathieu Desnoyers [Sun, 23 Oct 2011 23:37:30 +0000 (19:37 -0400)] 
standardize on flush buffer (no plural)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd flush buffers command
Mathieu Desnoyers [Sun, 23 Oct 2011 23:28:21 +0000 (19:28 -0400)] 
Add flush buffers command

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoImplement ustctl_register_done
Mathieu Desnoyers [Sun, 23 Oct 2011 21:38:05 +0000 (17:38 -0400)] 
Implement ustctl_register_done

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoInstall UST comm lib
Mathieu Desnoyers [Sun, 23 Oct 2011 13:23:00 +0000 (09:23 -0400)] 
Install UST comm lib

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix missing logging symbols
Mathieu Desnoyers [Sun, 23 Oct 2011 00:53:58 +0000 (20:53 -0400)] 
Fix missing logging symbols

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd get mmap base
Mathieu Desnoyers [Sun, 23 Oct 2011 00:17:37 +0000 (20:17 -0400)] 
Add get mmap base

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd ustctl_open_stream_read and ustctl_close_stream_read
Mathieu Desnoyers [Sat, 22 Oct 2011 23:48:50 +0000 (19:48 -0400)] 
Add ustctl_open_stream_read and ustctl_close_stream_read

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoImplement ustctl_unmap_channel()
Mathieu Desnoyers [Thu, 20 Oct 2011 18:45:59 +0000 (14:45 -0400)] 
Implement ustctl_unmap_channel()

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd lttng-ust-ctl.h header
Mathieu Desnoyers [Thu, 20 Oct 2011 18:38:09 +0000 (14:38 -0400)] 
Add lttng-ust-ctl.h header

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoImplement libustctl
Mathieu Desnoyers [Thu, 20 Oct 2011 18:36:13 +0000 (14:36 -0400)] 
Implement libustctl

We privatise libringbuffer (not installed anymore), exposing a cleaner
API (libustctl) instead. This API will be used by the lttng-tools UST
consumer.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRemove empty line from tracepoint.h
Mathieu Desnoyers [Thu, 20 Oct 2011 17:29:22 +0000 (13:29 -0400)] 
Remove empty line from tracepoint.h

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoDo not install libringbuffer into system
Mathieu Desnoyers [Wed, 19 Oct 2011 00:03:03 +0000 (20:03 -0400)] 
Do not install libringbuffer into system

This is not meant to be a stable API. We'll provide a convenient wrapper
over it instead.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd powerpc64 host_cpu to configure.ac
Matthew McClintock [Thu, 29 Sep 2011 20:15:08 +0000 (16:15 -0400)] 
Add powerpc64 host_cpu to configure.ac

Seems like autoconf uses powerpc64 as our host cpu type, this
patch is to fix build issues in openembedded/yocto targets.

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd procname context
Mathieu Desnoyers [Wed, 28 Sep 2011 01:16:19 +0000 (21:16 -0400)] 
Add procname context

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd vpid context
Mathieu Desnoyers [Wed, 28 Sep 2011 00:46:04 +0000 (20:46 -0400)] 
Add vpid context

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoReset vtid after fork in child
Mathieu Desnoyers [Wed, 28 Sep 2011 00:39:07 +0000 (20:39 -0400)] 
Reset vtid after fork in child

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd vtid (gettid()) context
Mathieu Desnoyers [Wed, 28 Sep 2011 00:31:46 +0000 (20:31 -0400)] 
Add vtid (gettid()) context

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd pthread id event context
Mathieu Desnoyers [Wed, 28 Sep 2011 00:09:43 +0000 (20:09 -0400)] 
Add pthread id event context

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate error check for root handle
Mathieu Desnoyers [Tue, 27 Sep 2011 18:03:12 +0000 (14:03 -0400)] 
Update error check for root handle

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRemove root handle asssert: can differ from 0 if many sessiond
Mathieu Desnoyers [Tue, 27 Sep 2011 17:59:54 +0000 (13:59 -0400)] 
Remove root handle asssert: can differ from 0 if many sessiond

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix cmsg handling
Mathieu Desnoyers [Mon, 26 Sep 2011 17:56:04 +0000 (13:56 -0400)] 
Fix cmsg handling

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoCleanup: fix strict aliasing ion tests
Mathieu Desnoyers [Mon, 26 Sep 2011 17:44:40 +0000 (13:44 -0400)] 
Cleanup: fix strict aliasing ion tests

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoCleanup warnings
Mathieu Desnoyers [Mon, 26 Sep 2011 15:47:03 +0000 (11:47 -0400)] 
Cleanup warnings

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoCleanup warnings
Mathieu Desnoyers [Mon, 26 Sep 2011 15:44:34 +0000 (11:44 -0400)] 
Cleanup warnings

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd multi session, multi-channel test
Mathieu Desnoyers [Mon, 26 Sep 2011 15:33:04 +0000 (11:33 -0400)] 
Add multi session, multi-channel test

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd ust basic tracing implementation
Mathieu Desnoyers [Mon, 26 Sep 2011 15:28:57 +0000 (11:28 -0400)] 
Add ust basic tracing implementation

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd ust basic tracing daemon
Mathieu Desnoyers [Mon, 26 Sep 2011 15:28:21 +0000 (11:28 -0400)] 
Add ust basic tracing daemon

single process, single session, single channel

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd pthread id context
Mathieu Desnoyers [Sun, 25 Sep 2011 04:31:46 +0000 (00:31 -0400)] 
Add pthread id context

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoOnly select efficient unaligned accesses for x86 and powerpc
Mathieu Desnoyers [Sun, 25 Sep 2011 03:39:26 +0000 (23:39 -0400)] 
Only select efficient unaligned accesses for x86 and powerpc

This is why the Linux kernel does at this point.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUse unaligned writes for arch with efficient unaligned accesses
Mathieu Desnoyers [Sun, 25 Sep 2011 03:35:38 +0000 (23:35 -0400)] 
Use unaligned writes for arch with efficient unaligned accesses

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUse network byte order field in hello test
Mathieu Desnoyers [Sun, 25 Sep 2011 03:32:55 +0000 (23:32 -0400)] 
Use network byte order field in hello test

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agotests: Add a long field
Mathieu Desnoyers [Sun, 25 Sep 2011 03:28:00 +0000 (23:28 -0400)] 
tests: Add a long field

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd missing alignment after header write
Mathieu Desnoyers [Sun, 25 Sep 2011 03:27:13 +0000 (23:27 -0400)] 
Add missing alignment after header write

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolttng tracepoint event: don't clash with "ctx" argument name
Mathieu Desnoyers [Sun, 25 Sep 2011 03:00:57 +0000 (23:00 -0400)] 
lttng tracepoint event: don't clash with "ctx" argument name

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoOnly support single- and double-precision floating point numbers for now
Mathieu Desnoyers [Sun, 25 Sep 2011 03:00:29 +0000 (23:00 -0400)] 
Only support single- and double-precision floating point numbers for now

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix missing alignment includes
Mathieu Desnoyers [Sat, 24 Sep 2011 22:56:03 +0000 (18:56 -0400)] 
Fix missing alignment includes

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix array copy length
Mathieu Desnoyers [Sat, 24 Sep 2011 22:00:20 +0000 (18:00 -0400)] 
Fix array copy length

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix memory layout for channel
Mathieu Desnoyers [Sat, 24 Sep 2011 21:32:47 +0000 (17:32 -0400)] 
Fix memory layout for channel

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix event ID allocation
Mathieu Desnoyers [Sat, 24 Sep 2011 21:32:24 +0000 (17:32 -0400)] 
Fix event ID allocation

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix endianness and major/minor output
Mathieu Desnoyers [Fri, 23 Sep 2011 16:57:22 +0000 (12:57 -0400)] 
Fix endianness and major/minor output

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoCheck for num cpus
Mathieu Desnoyers [Fri, 23 Sep 2011 16:31:59 +0000 (12:31 -0400)] 
Check for num cpus

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate lib ring buffer for external consumer
Mathieu Desnoyers [Fri, 23 Sep 2011 15:39:44 +0000 (11:39 -0400)] 
Update lib ring buffer for external consumer

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoExport consumer ABI, implement ring buffer modifications for consumer
Mathieu Desnoyers [Fri, 23 Sep 2011 02:00:56 +0000 (22:00 -0400)] 
Export consumer ABI, implement ring buffer modifications for consumer

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolibust ABI: export streams
Mathieu Desnoyers [Thu, 22 Sep 2011 14:51:55 +0000 (10:51 -0400)] 
libust ABI: export streams

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoPrefix all field names with underscores
Mathieu Desnoyers [Mon, 19 Sep 2011 20:59:23 +0000 (16:59 -0400)] 
Prefix all field names with underscores

Don't clash with CTF reserved words.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoTRACEPOINT_EVENT: No need to calculate size/alignment for no args
Mathieu Desnoyers [Fri, 16 Sep 2011 23:56:41 +0000 (19:56 -0400)] 
TRACEPOINT_EVENT: No need to calculate size/alignment for no args

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoComplete c++ support for instrumentation
Mathieu Desnoyers [Fri, 16 Sep 2011 23:56:24 +0000 (19:56 -0400)] 
Complete c++ support for instrumentation

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoSupport c++ tracepoint instrumentation
Mathieu Desnoyers [Fri, 16 Sep 2011 23:55:32 +0000 (19:55 -0400)] 
Support c++ tracepoint instrumentation

Applications can be built with g++, but tracepoint probes need to be
built with gcc.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRevert "fdatasync sockets after send"
Mathieu Desnoyers [Fri, 2 Sep 2011 17:16:29 +0000 (13:16 -0400)] 
Revert "fdatasync sockets after send"

This reverts commit a285a37667147f0e7ade6b45d147440438ee4d50.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agofdatasync sockets after send
Mathieu Desnoyers [Fri, 2 Sep 2011 17:02:38 +0000 (13:02 -0400)] 
fdatasync sockets after send

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoTracepoints: clarify order of TRACEPOINT_EVENT vs TRACEPOINT_LOGLEVEL
Mathieu Desnoyers [Wed, 31 Aug 2011 15:30:06 +0000 (11:30 -0400)] 
Tracepoints: clarify order of TRACEPOINT_EVENT vs TRACEPOINT_LOGLEVEL

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd Tracepoint Loglevel API
Mathieu Desnoyers [Wed, 31 Aug 2011 14:41:45 +0000 (10:41 -0400)] 
Add Tracepoint Loglevel API

This API is currently mapping to unimplemented macros. This is a
place-holder for the forthcoming tracepoint loglevels.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix range of sem_count
Mathieu Desnoyers [Tue, 30 Aug 2011 01:16:23 +0000 (21:16 -0400)] 
Fix range of sem_count

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoHandle killed or non-responsive sessiond
Mathieu Desnoyers [Tue, 30 Aug 2011 00:05:35 +0000 (20:05 -0400)] 
Handle killed or non-responsive sessiond

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoPrint appropriate error on FUTEX_WAIT efault for RO shm
Mathieu Desnoyers [Mon, 29 Aug 2011 23:43:33 +0000 (19:43 -0400)] 
Print appropriate error on FUTEX_WAIT efault for RO shm

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoImplement futex wait scheme
Mathieu Desnoyers [Mon, 29 Aug 2011 22:49:25 +0000 (18:49 -0400)] 
Implement futex wait scheme

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoshm wakeup: update right management
Mathieu Desnoyers [Mon, 29 Aug 2011 21:21:37 +0000 (17:21 -0400)] 
shm wakeup: update right management

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix shm open race
Mathieu Desnoyers [Mon, 29 Aug 2011 17:24:19 +0000 (13:24 -0400)] 
Fix shm open race

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agorestore signals in error case (shm allocation)
Mathieu Desnoyers [Mon, 29 Aug 2011 14:12:43 +0000 (10:12 -0400)] 
restore signals in error case (shm allocation)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoshm creation: use temporary name with O_CREAT | O_EXCL
Mathieu Desnoyers [Mon, 29 Aug 2011 14:07:37 +0000 (10:07 -0400)] 
shm creation: use temporary name with O_CREAT | O_EXCL

Tolerate that a rogue process could try inhibiting buffer creation by
reserving the shm name. Fix this by using a random suffix.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix error handling
Mathieu Desnoyers [Mon, 29 Aug 2011 14:07:26 +0000 (10:07 -0400)] 
Fix error handling

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoshm: check error value of shm_unlink
Mathieu Desnoyers [Sun, 28 Aug 2011 16:20:25 +0000 (12:20 -0400)] 
shm: check error value of shm_unlink

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agowakeup shm: set permissions on shm
Mathieu Desnoyers [Sat, 27 Aug 2011 21:50:41 +0000 (17:50 -0400)] 
wakeup shm: set permissions on shm

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agomap shared memory for rendez-vous with non-responding sessiond
Mathieu Desnoyers [Sat, 27 Aug 2011 21:38:09 +0000 (17:38 -0400)] 
map shared memory for rendez-vous with non-responding sessiond

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRemove stale comment
Mathieu Desnoyers [Sat, 27 Aug 2011 05:32:37 +0000 (01:32 -0400)] 
Remove stale comment

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFork handling: fix deadlock between mutex and semaphore
Mathieu Desnoyers [Fri, 26 Aug 2011 20:55:32 +0000 (16:55 -0400)] 
Fork handling: fix deadlock between mutex and semaphore

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoupdate fork run script
Mathieu Desnoyers [Fri, 26 Aug 2011 20:08:03 +0000 (16:08 -0400)] 
update fork run script

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMakefile.am: fix build order
Mathieu Desnoyers [Fri, 26 Aug 2011 19:55:41 +0000 (15:55 -0400)] 
Makefile.am: fix build order

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRemove unused label
Mathieu Desnoyers [Fri, 26 Aug 2011 19:54:39 +0000 (15:54 -0400)] 
Remove unused label

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd missing ltt-tracer-core.h includes (fix warnings)
Mathieu Desnoyers [Fri, 26 Aug 2011 19:53:10 +0000 (15:53 -0400)] 
Add missing ltt-tracer-core.h includes (fix warnings)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoReset handle table on destroy
Mathieu Desnoyers [Fri, 26 Aug 2011 19:51:33 +0000 (15:51 -0400)] 
Reset handle table on destroy

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoCentralize locking with ust_lock, fork handling
Mathieu Desnoyers [Fri, 26 Aug 2011 19:46:41 +0000 (15:46 -0400)] 
Centralize locking with ust_lock, fork handling

A single lock is held across forks (ust_lock), which synchronizes _all_
operations performed on UST structures.

- cleanup/reinit UST after fork in child.
- ensure to unlock URCU-bp mutex before calling synchronize_rcu again.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agofork test needs to link to libustfork
Mathieu Desnoyers [Fri, 26 Aug 2011 18:22:26 +0000 (14:22 -0400)] 
fork test needs to link to libustfork

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd missing ust_tests_fork.h
Mathieu Desnoyers [Fri, 26 Aug 2011 17:42:13 +0000 (13:42 -0400)] 
Add missing ust_tests_fork.h

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate fork test
Mathieu Desnoyers [Fri, 26 Aug 2011 17:39:50 +0000 (13:39 -0400)] 
Update fork test

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd ust.h
Mathieu Desnoyers [Fri, 26 Aug 2011 17:39:38 +0000 (13:39 -0400)] 
Add ust.h

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agotracepoint.h: move code after used prototype declaration
Mathieu Desnoyers [Fri, 26 Aug 2011 17:23:59 +0000 (13:23 -0400)] 
tracepoint.h: move code after used prototype declaration

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agotracepoint: Remove TRACEPOINT_LIB declaration
Mathieu Desnoyers [Fri, 26 Aug 2011 15:34:46 +0000 (11:34 -0400)] 
tracepoint: Remove TRACEPOINT_LIB declaration

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRemove libust-initializer
Mathieu Desnoyers [Fri, 26 Aug 2011 13:05:38 +0000 (09:05 -0400)] 
Remove libust-initializer

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolibringbuffer shm: second unlink should be allowed to fail
Mathieu Desnoyers [Fri, 26 Aug 2011 12:55:34 +0000 (08:55 -0400)] 
libringbuffer shm: second unlink should be allowed to fail

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolibringbuffer shm: be resilient to app crash between shm_open and shm_unlink
Mathieu Desnoyers [Fri, 26 Aug 2011 12:54:14 +0000 (08:54 -0400)] 
libringbuffer shm: be resilient to app crash between shm_open and shm_unlink

Leak at most a single shm if an application crashes. By unlinking the
shm before every open attempt, we are certain to never retry endlessly
in case of crash of another application between the open and unlink.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix java build
Mathieu Desnoyers [Fri, 26 Aug 2011 11:31:32 +0000 (07:31 -0400)] 
Fix java build

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd TRACEPOINT_EVENT java instrumentation wrapper
Mathieu Desnoyers [Fri, 26 Aug 2011 11:23:16 +0000 (07:23 -0400)] 
Add TRACEPOINT_EVENT java instrumentation wrapper

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
This page took 0.037652 seconds and 4 git commands to generate.