ust.git
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 years agoRemove unused variable
Mathieu Desnoyers [Fri, 26 Aug 2011 11:15:53 +0000 (07:15 -0400)] 
Remove unused variable

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd missing exports, set return value
Mathieu Desnoyers [Fri, 26 Aug 2011 11:05:07 +0000 (07:05 -0400)] 
Add missing exports, set return value

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUpdate tracepoint event example layout (cleanup tabulations)
Mathieu Desnoyers [Fri, 26 Aug 2011 10:51:57 +0000 (06:51 -0400)] 
Update tracepoint event example layout (cleanup tabulations)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoRemove deprecated/ subdirectory
Mathieu Desnoyers [Fri, 26 Aug 2011 10:30:56 +0000 (06:30 -0400)] 
Remove deprecated/ subdirectory

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoRemove makefile.am deprecated files
Mathieu Desnoyers [Fri, 26 Aug 2011 10:29:48 +0000 (06:29 -0400)] 
Remove makefile.am deprecated files

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoRemove deprecated files
Mathieu Desnoyers [Fri, 26 Aug 2011 10:29:29 +0000 (06:29 -0400)] 
Remove deprecated files

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoDisallow local apps tracing for setuid binaries
Mathieu Desnoyers [Fri, 26 Aug 2011 10:27:00 +0000 (06:27 -0400)] 
Disallow local apps tracing for setuid binaries

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agocancel global thread at exit
Mathieu Desnoyers [Fri, 26 Aug 2011 10:17:23 +0000 (06:17 -0400)] 
cancel global thread at exit

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agolibust events: lazy probe binding
Mathieu Desnoyers [Fri, 26 Aug 2011 00:22:37 +0000 (20:22 -0400)] 
libust events: lazy probe binding

Ability to cope with abritrary execution order of constructors, mainly
that libust constructor will always be called before the constructor of
the main programs (which will likely contain the probe callbacks and
descriptions from TRACEPOINT_EVENT) requires us to support lazy binding
between event and probes, "fixed" at probe registration time.

Allowing this lazy binding natively supports instrumentation of .so
(without changing the applications), and supports instrumenting shared
objects with dlopen().

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd gid to registration
Mathieu Desnoyers [Thu, 25 Aug 2011 21:17:19 +0000 (17:17 -0400)] 
Add gid to registration

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd ppid field to registration
Mathieu Desnoyers [Thu, 25 Aug 2011 21:14:49 +0000 (17:14 -0400)] 
Add ppid field to registration

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoSend comm name on register
Mathieu Desnoyers [Thu, 25 Aug 2011 20:55:31 +0000 (16:55 -0400)] 
Send comm name on register

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoStress-test buffer in hello.c
Mathieu Desnoyers [Thu, 25 Aug 2011 20:54:53 +0000 (16:54 -0400)] 
Stress-test buffer in hello.c

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUpdate comment
Mathieu Desnoyers [Thu, 25 Aug 2011 20:54:23 +0000 (16:54 -0400)] 
Update comment

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix reversed mask usage of subbuffer offset
Mathieu Desnoyers [Thu, 25 Aug 2011 17:49:01 +0000 (13:49 -0400)] 
Fix reversed mask usage of subbuffer offset

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix buffer allocation alignment error (fix overwrite mode)
Mathieu Desnoyers [Thu, 25 Aug 2011 17:10:02 +0000 (13:10 -0400)] 
Fix buffer allocation alignment error (fix overwrite mode)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agometadata: fix wait handling
Mathieu Desnoyers [Thu, 25 Aug 2011 16:36:08 +0000 (12:36 -0400)] 
metadata: fix wait handling

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix metadata wait handling
Mathieu Desnoyers [Thu, 25 Aug 2011 16:16:40 +0000 (12:16 -0400)] 
Fix metadata wait handling

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoCleanup
Mathieu Desnoyers [Thu, 25 Aug 2011 15:47:42 +0000 (11:47 -0400)] 
Cleanup

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoCentralize control of contructors/destructors
Mathieu Desnoyers [Thu, 25 Aug 2011 14:39:04 +0000 (10:39 -0400)] 
Centralize control of contructors/destructors

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoDocument prod/consumer synchro
Mathieu Desnoyers [Wed, 24 Aug 2011 20:21:52 +0000 (16:21 -0400)] 
Document prod/consumer synchro

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate comment
Mathieu Desnoyers [Wed, 24 Aug 2011 20:07:36 +0000 (16:07 -0400)] 
update comment

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix initial semaphore+timeout
Mathieu Desnoyers [Wed, 24 Aug 2011 20:04:34 +0000 (16:04 -0400)] 
Fix initial semaphore+timeout

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUST_REGISTER_TIMEOUT 0 and 1 change (follow poll() timeout)
Mathieu Desnoyers [Wed, 24 Aug 2011 00:19:03 +0000 (20:19 -0400)] 
UST_REGISTER_TIMEOUT 0 and 1 change (follow poll() timeout)

0 now means "don't wait" and -1 "wait forever".

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd env var UST_REGISTER_TIMEOUT
Mathieu Desnoyers [Tue, 23 Aug 2011 23:53:12 +0000 (19:53 -0400)] 
Add env var UST_REGISTER_TIMEOUT

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd register done command
Mathieu Desnoyers [Tue, 23 Aug 2011 23:28:39 +0000 (19:28 -0400)] 
Add register done command

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd UST core probe (metadata description)
Mathieu Desnoyers [Tue, 23 Aug 2011 21:15:57 +0000 (17:15 -0400)] 
Add UST core probe (metadata description)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoTracepoint event: Document search paths
Mathieu Desnoyers [Tue, 23 Aug 2011 21:12:44 +0000 (17:12 -0400)] 
Tracepoint event: Document search paths

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoRemove unneeded CONFIG_* define check
Mathieu Desnoyers [Tue, 23 Aug 2011 21:00:35 +0000 (17:00 -0400)] 
Remove unneeded CONFIG_* define check

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoCleanup
Mathieu Desnoyers [Tue, 23 Aug 2011 20:48:23 +0000 (16:48 -0400)] 
Cleanup

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix metadata channel creation
Mathieu Desnoyers [Tue, 23 Aug 2011 20:40:02 +0000 (16:40 -0400)] 
Fix metadata channel creation

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd missing error handling
Mathieu Desnoyers [Tue, 23 Aug 2011 20:12:06 +0000 (16:12 -0400)] 
Add missing error handling

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix channel release call order wrt free
Mathieu Desnoyers [Tue, 23 Aug 2011 19:56:57 +0000 (15:56 -0400)] 
Fix channel release call order wrt free

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoset missing shm obj index field
Mathieu Desnoyers [Tue, 23 Aug 2011 19:14:48 +0000 (15:14 -0400)] 
set missing shm obj index field

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agofix shm objects wait fd and allocation error handling
Mathieu Desnoyers [Tue, 23 Aug 2011 18:36:16 +0000 (14:36 -0400)] 
fix shm objects wait fd and allocation error handling

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix channel transport name
Mathieu Desnoyers [Tue, 23 Aug 2011 18:19:54 +0000 (14:19 -0400)] 
Fix channel transport name

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoImplement ioctl-alike communication
Mathieu Desnoyers [Tue, 23 Aug 2011 18:00:58 +0000 (14:00 -0400)] 
Implement ioctl-alike communication

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoust comm: more resilient handle table, fix size of reply
Mathieu Desnoyers [Tue, 23 Aug 2011 16:42:32 +0000 (12:42 -0400)] 
ust comm: more resilient handle table, fix size of reply

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoMake connect error retry wait 5 seconds
Mathieu Desnoyers [Tue, 23 Aug 2011 16:08:31 +0000 (12:08 -0400)] 
Make connect error retry wait 5 seconds

Until we add the wait scheme.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoMake client init quiet (except in UST_DEBUG mode)
Mathieu Desnoyers [Tue, 23 Aug 2011 16:04:46 +0000 (12:04 -0400)] 
Make client init quiet (except in UST_DEBUG mode)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agofactorize out send_reply
Mathieu Desnoyers [Tue, 23 Aug 2011 16:03:34 +0000 (12:03 -0400)] 
factorize out send_reply

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoError message should only appear when return value is negative
Mathieu Desnoyers [Tue, 23 Aug 2011 15:57:14 +0000 (11:57 -0400)] 
Error message should only appear when return value is negative

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoSession create/release tested.
Mathieu Desnoyers [Tue, 23 Aug 2011 15:34:14 +0000 (11:34 -0400)] 
Session create/release tested.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoRename sessiond comm lib into ust comm
Mathieu Desnoyers [Mon, 22 Aug 2011 19:35:10 +0000 (15:35 -0400)] 
Rename sessiond comm lib into ust comm

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoSet SOCK_CLOEXEC on socket connected to
Mathieu Desnoyers [Mon, 22 Aug 2011 15:14:43 +0000 (11:14 -0400)] 
Set SOCK_CLOEXEC on socket connected to

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd major/minor version in libust registration
Mathieu Desnoyers [Mon, 22 Aug 2011 01:12:30 +0000 (21:12 -0400)] 
Add major/minor version in libust registration

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUpdate libust communication protocol
Mathieu Desnoyers [Sun, 21 Aug 2011 22:31:42 +0000 (18:31 -0400)] 
Update libust communication protocol

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agolibust comm: use own message structures
Mathieu Desnoyers [Sun, 21 Aug 2011 22:02:48 +0000 (18:02 -0400)] 
libust comm: use own message structures

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoSpawn autonomous listener threads
Mathieu Desnoyers [Sat, 20 Aug 2011 20:55:51 +0000 (16:55 -0400)] 
Spawn autonomous listener threads

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoadd parse message
Mathieu Desnoyers [Sat, 20 Aug 2011 19:57:24 +0000 (15:57 -0400)] 
add parse message

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd work-in-progress lttng-ust-comm
Mathieu Desnoyers [Sat, 20 Aug 2011 18:36:39 +0000 (14:36 -0400)] 
Add work-in-progress lttng-ust-comm

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoCoding style cleanup
Mathieu Desnoyers [Sat, 20 Aug 2011 18:02:46 +0000 (14:02 -0400)] 
Coding style cleanup

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoComment out unimplemented vtid
Mathieu Desnoyers [Sat, 20 Aug 2011 17:34:59 +0000 (13:34 -0400)] 
Comment out unimplemented vtid

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agocomment shm
Mathieu Desnoyers [Sat, 20 Aug 2011 13:43:48 +0000 (09:43 -0400)] 
comment shm

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