ust.git
14 years agoupdate ChangeLog
Pierre-Marc Fournier [Wed, 17 Mar 2010 18:25:38 +0000 (14:25 -0400)] 
update ChangeLog

14 years agoFinal updates for release 0.4 v0.4
Pierre-Marc Fournier [Wed, 17 Mar 2010 18:07:05 +0000 (14:07 -0400)] 
Final updates for release 0.4

14 years agoupdate READMEs for the next release
Pierre-Marc Fournier [Wed, 17 Mar 2010 17:52:44 +0000 (13:52 -0400)] 
update READMEs for the next release

14 years agorename libmallocwrap -> libustinstr-malloc
Pierre-Marc Fournier [Wed, 17 Mar 2010 17:49:09 +0000 (13:49 -0400)] 
rename libmallocwrap -> libustinstr-malloc

14 years agorename libinterfork -> libustfork
Pierre-Marc Fournier [Wed, 17 Mar 2010 16:23:17 +0000 (12:23 -0400)] 
rename libinterfork -> libustfork

14 years agofix distribution bugs for 0.4
Pierre-Marc Fournier [Wed, 17 Mar 2010 15:40:13 +0000 (11:40 -0400)] 
fix distribution bugs for 0.4

- include include/ust/kcompat/kcompat.h in the distribution
- include test machinery scripts in the distribution

14 years agoupdate TODO
Pierre-Marc Fournier [Wed, 17 Mar 2010 03:58:15 +0000 (23:58 -0400)] 
update TODO

14 years agotracectl: remove unused function
Pierre-Marc Fournier [Wed, 17 Mar 2010 03:56:19 +0000 (23:56 -0400)] 
tracectl: remove unused function

14 years agoremove fcntl(O_NONBLOCK) on consumer notify fd
Pierre-Marc Fournier [Wed, 17 Mar 2010 03:55:02 +0000 (23:55 -0400)] 
remove fcntl(O_NONBLOCK) on consumer notify fd

We only read it one byte at a time, when poll as reported some data
available anyway.

14 years agoremove debugging printf
Pierre-Marc Fournier [Wed, 17 Mar 2010 03:31:16 +0000 (23:31 -0400)] 
remove debugging printf

14 years agoruntests: add a ustd/valgrind check
Pierre-Marc Fournier [Wed, 17 Mar 2010 03:30:53 +0000 (23:30 -0400)] 
runtests: add a ustd/valgrind check

14 years agoustd: move a free in the error handling path
Pierre-Marc Fournier [Wed, 17 Mar 2010 03:30:29 +0000 (23:30 -0400)] 
ustd: move a free in the error handling path

14 years agoustd: update ustd signal handling to avoid wakeups every 100 ms
Pierre-Marc Fournier [Tue, 16 Mar 2010 22:44:33 +0000 (18:44 -0400)] 
ustd: update ustd signal handling to avoid wakeups every 100 ms

14 years agofix warning on incorrect function prototype
Pierre-Marc Fournier [Tue, 16 Mar 2010 20:55:47 +0000 (16:55 -0400)] 
fix warning on incorrect function prototype

14 years agomove libkcompat inside ust
Pierre-Marc Fournier [Tue, 16 Mar 2010 20:53:35 +0000 (16:53 -0400)] 
move libkcompat inside ust

14 years agoupdate README
Pierre-Marc Fournier [Tue, 16 Mar 2010 20:50:20 +0000 (16:50 -0400)] 
update README

14 years agoremove pointless strdup_malloc
Pierre-Marc Fournier [Fri, 12 Mar 2010 00:04:22 +0000 (19:04 -0500)] 
remove pointless strdup_malloc

14 years agoswitch from kcompat lists to urcu lists
Pierre-Marc Fournier [Fri, 12 Mar 2010 00:04:01 +0000 (19:04 -0500)] 
switch from kcompat lists to urcu lists

14 years agofix FIXMEs
Pierre-Marc Fournier [Thu, 11 Mar 2010 23:57:28 +0000 (18:57 -0500)] 
fix FIXMEs

14 years agoremove old unused code
Pierre-Marc Fournier [Thu, 11 Mar 2010 23:51:17 +0000 (18:51 -0500)] 
remove old unused code

14 years agoAdd multipoll and change tracectl to use it
Pierre-Marc Fournier [Thu, 11 Mar 2010 23:50:43 +0000 (18:50 -0500)] 
Add multipoll and change tracectl to use it

14 years agomake libustcomm into a static lib
Pierre-Marc Fournier [Thu, 11 Mar 2010 23:38:27 +0000 (18:38 -0500)] 
make libustcomm into a static lib

14 years agoadd missing licence headers
Pierre-Marc Fournier [Thu, 11 Mar 2010 18:48:52 +0000 (13:48 -0500)] 
add missing licence headers

14 years agohave_listener: make static
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:34:07 +0000 (00:34 -0500)] 
have_listener: make static

14 years agochange benign WARN to DBG
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:31:34 +0000 (00:31 -0500)] 
change benign WARN to DBG

14 years agoustd: get_subbuffer: assume prog died if trace cannot be found
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:30:04 +0000 (00:30 -0500)] 
ustd: get_subbuffer: assume prog died if trace cannot be found

14 years agofix warning
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:27:39 +0000 (00:27 -0500)] 
fix warning

14 years agoustd: change benign WARN()s to DBG()s
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:26:15 +0000 (00:26 -0500)] 
ustd: change benign WARN()s to DBG()s

14 years agoustd: handle all error codes from ustcomm_send_request
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:24:18 +0000 (00:24 -0500)] 
ustd: handle all error codes from ustcomm_send_request

Fixes a bug.

14 years agoustd: make terminate_req static
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:23:20 +0000 (00:23 -0500)] 
ustd: make terminate_req static

14 years agoustd: finish_consuming_dead_subbuffer: improve error handling
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:22:43 +0000 (00:22 -0500)] 
ustd: finish_consuming_dead_subbuffer: improve error handling

14 years agoruntests: manual test: make sure lttv is not run before the daemon is done
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:18:01 +0000 (00:18 -0500)] 
runtests: manual test: make sure lttv is not run before the daemon is done

For that, use the same method as usttrace.

14 years agoruntests: assert the test logs contain no errors or warnings
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:16:34 +0000 (00:16 -0500)] 
runtests: assert the test logs contain no errors or warnings

14 years agofix warning
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:15:08 +0000 (00:15 -0500)] 
fix warning

14 years agofix warnings
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:12:56 +0000 (00:12 -0500)] 
fix warnings

14 years agodon't close file descriptors twice
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:06:14 +0000 (00:06 -0500)] 
don't close file descriptors twice

14 years agoremove USE_CLONE
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:04:09 +0000 (00:04 -0500)] 
remove USE_CLONE

It was unused, and the code is starting to depend a lot on pthreads.

14 years agodon't destroy app communication server in main() destructor
Pierre-Marc Fournier [Tue, 9 Mar 2010 04:54:40 +0000 (23:54 -0500)] 
don't destroy app communication server in main() destructor

When doing this, it is likely the listener thread will still
be running and printing errors because its fd's have been closed.
Instead, do the destruction in the listener app and cleanly
shut it down with pthread_cancel().

14 years agochange benign WARN()s to DBG()s
Pierre-Marc Fournier [Tue, 9 Mar 2010 04:48:56 +0000 (23:48 -0500)] 
change benign WARN()s to DBG()s

14 years agoadd error handling for close() call
Pierre-Marc Fournier [Tue, 9 Mar 2010 04:48:20 +0000 (23:48 -0500)] 
add error handling for close() call

14 years agooption to see subbuffer size and count
Douglas Santos [Thu, 4 Mar 2010 18:30:54 +0000 (13:30 -0500)] 
option to see subbuffer size and count

14 years agoupdate TODO
Pierre-Marc Fournier [Thu, 4 Mar 2010 23:04:52 +0000 (18:04 -0500)] 
update TODO

14 years agotrace_matches: fix return value bug
Pierre-Marc Fournier [Thu, 4 Mar 2010 23:04:36 +0000 (18:04 -0500)] 
trace_matches: fix return value bug

14 years agoustd: destroy buffer struct after usage
Pierre-Marc Fournier [Thu, 4 Mar 2010 22:46:46 +0000 (17:46 -0500)] 
ustd: destroy buffer struct after usage

14 years agofix destruction to free all memory
Pierre-Marc Fournier [Thu, 4 Mar 2010 21:11:20 +0000 (16:11 -0500)] 
fix destruction to free all memory

14 years agokernelcompat: remove old definitions that are now unused
Pierre-Marc Fournier [Thu, 4 Mar 2010 17:14:06 +0000 (12:14 -0500)] 
kernelcompat: remove old definitions that are now unused

14 years agokmalloc, kfree, etc => malloc, free, etc
Pierre-Marc Fournier [Thu, 4 Mar 2010 16:59:08 +0000 (11:59 -0500)] 
kmalloc, kfree, etc => malloc, free, etc

14 years agoconvert to uatomic ops
Pierre-Marc Fournier [Thu, 4 Mar 2010 16:33:09 +0000 (11:33 -0500)] 
convert to uatomic ops

14 years agoupdate TODO
Pierre-Marc Fournier [Wed, 3 Mar 2010 21:06:41 +0000 (16:06 -0500)] 
update TODO

14 years agoremove rcu initialization as it is not needed with urcu-bp
Pierre-Marc Fournier [Wed, 3 Mar 2010 20:57:22 +0000 (15:57 -0500)] 
remove rcu initialization as it is not needed with urcu-bp

14 years agolibinterfork: put fork_info as non-pointer in interfork_clone_info
Pierre-Marc Fournier [Wed, 3 Mar 2010 20:55:21 +0000 (15:55 -0500)] 
libinterfork: put fork_info as non-pointer in interfork_clone_info

14 years agofix compilation problem on gcc 4.4
Pierre-Marc Fournier [Wed, 3 Mar 2010 20:54:06 +0000 (15:54 -0500)] 
fix compilation problem on gcc 4.4

14 years agoruntests: improve verbosity
Pierre-Marc Fournier [Wed, 3 Mar 2010 18:44:28 +0000 (13:44 -0500)] 
runtests: improve verbosity

14 years agoruntests run the real test-libmallocwrap/.libs/prog
Pierre-Marc Fournier [Wed, 3 Mar 2010 18:44:03 +0000 (13:44 -0500)] 
runtests run the real test-libmallocwrap/.libs/prog

14 years agotests: add test-libmallocwrap
Pierre-Marc Fournier [Tue, 2 Mar 2010 20:04:07 +0000 (15:04 -0500)] 
tests: add test-libmallocwrap

14 years agoFix -O3 / -finline-functions compilation
Pierre-Marc Fournier [Tue, 2 Mar 2010 19:13:22 +0000 (14:13 -0500)] 
Fix -O3 / -finline-functions compilation

Problems could happen because of function inlining, resulting in
two identical markers on the same line. This created symbols with
the same name. Now, conditionally define these symbols.

14 years agotests: add testsuite scripts
Pierre-Marc Fournier [Tue, 2 Mar 2010 05:50:05 +0000 (00:50 -0500)] 
tests: add testsuite scripts

14 years agotests: add test-nevents
Pierre-Marc Fournier [Tue, 2 Mar 2010 05:46:31 +0000 (00:46 -0500)] 
tests: add test-nevents

14 years agoFinal updates for release 0.3 v0.3
Pierre-Marc Fournier [Tue, 2 Mar 2010 03:22:55 +0000 (22:22 -0500)] 
Final updates for release 0.3

14 years agoupdate TODO
Pierre-Marc Fournier [Tue, 2 Mar 2010 00:49:59 +0000 (19:49 -0500)] 
update TODO

14 years agoupdate TODO
Pierre-Marc Fournier [Mon, 1 Mar 2010 23:04:28 +0000 (18:04 -0500)] 
update TODO

14 years agomove snprintf test suite to tests/snprintf/ and add test
Pierre-Marc Fournier [Mon, 1 Mar 2010 22:45:47 +0000 (17:45 -0500)] 
move snprintf test suite to tests/snprintf/ and add test

14 years agoust_safe_snprintf: add openbsd mbrtowc() function
Pierre-Marc Fournier [Mon, 1 Mar 2010 22:11:45 +0000 (17:11 -0500)] 
ust_safe_snprintf: add openbsd mbrtowc() function

The glibc one calls malloc, which we are trying to avoid.

14 years agoconvert ltt_nesting to a per_thread variable, and access it with volatile access
Pierre-Marc Fournier [Mon, 1 Mar 2010 21:19:38 +0000 (16:19 -0500)] 
convert ltt_nesting to a per_thread variable, and access it with volatile access

This fixes an ltt_nesting corruption bug.

14 years agoadd debug message when events are lost in a subbuffer, on buffer_end
Pierre-Marc Fournier [Mon, 1 Mar 2010 21:16:54 +0000 (16:16 -0500)] 
add debug message when events are lost in a subbuffer, on buffer_end

14 years agoupdate TODO
Pierre-Marc Fournier [Sat, 27 Feb 2010 17:39:57 +0000 (12:39 -0500)] 
update TODO

14 years agoustd: add details to debug message in crash recovery
Pierre-Marc Fournier [Sat, 27 Feb 2010 17:32:50 +0000 (12:32 -0500)] 
ustd: add details to debug message in crash recovery

14 years agousttrace: add nanoseconds to traceset directory name
Pierre-Marc Fournier [Sat, 27 Feb 2010 17:30:48 +0000 (12:30 -0500)] 
usttrace: add nanoseconds to traceset directory name

Without this, the test scripts may create two traces simultaneously,
resulting in two sets of traces in the same directory

14 years agousttrace: add option to print the location of the last recorded trace
Pierre-Marc Fournier [Sat, 27 Feb 2010 17:28:06 +0000 (12:28 -0500)] 
usttrace: add option to print the location of the last recorded trace

14 years agoustd: unwrite the subbuffer if the put() was unsuccessful and we are going to crash...
Pierre-Marc Fournier [Sat, 27 Feb 2010 17:21:36 +0000 (12:21 -0500)] 
ustd: unwrite the subbuffer if the put() was unsuccessful and we are going to crash-recover it

This prevents the subbuffer to be written twice and fixes a FIXME.

14 years agoust_fork(): close the ustcomm_app socket in the child on fork()
Pierre-Marc Fournier [Sat, 27 Feb 2010 17:12:59 +0000 (12:12 -0500)] 
ust_fork(): close the ustcomm_app socket in the child on fork()

This fixes a bug where the parent's connections remained jammed open.

14 years agoust_fork(): reset buffers_to_export to 0 when forking
Pierre-Marc Fournier [Sat, 27 Feb 2010 17:09:18 +0000 (12:09 -0500)] 
ust_fork(): reset buffers_to_export to 0 when forking

Fixes a bug where the child had a non-null initial value for buffers_to_export

14 years agoimprove keepalive by changing the location of the unconnected buffers counter
Pierre-Marc Fournier [Sat, 27 Feb 2010 17:06:04 +0000 (12:06 -0500)] 
improve keepalive by changing the location of the unconnected buffers counter

to a location that guarantees the buffer has been mapped by the daemon
Fixes a race.

14 years agoust_fork(): create listener after iniializing socket
Pierre-Marc Fournier [Sat, 27 Feb 2010 17:01:55 +0000 (12:01 -0500)] 
ust_fork(): create listener after iniializing socket

14 years agoust_fork(): prevent deadlock by forcing release of trace_lock after fork in child
Pierre-Marc Fournier [Sat, 27 Feb 2010 16:58:00 +0000 (11:58 -0500)] 
ust_fork(): prevent deadlock by forcing release of trace_lock after fork in child

14 years agoltt_vtrace: improve debug message
Pierre-Marc Fournier [Sat, 27 Feb 2010 16:53:00 +0000 (11:53 -0500)] 
ltt_vtrace: improve debug message

14 years agoustd: tell buffer name in some debug messages
Pierre-Marc Fournier [Fri, 26 Feb 2010 22:53:08 +0000 (17:53 -0500)] 
ustd: tell buffer name in some debug messages

14 years agofork: don't switch buffer when destroying trace in child
Pierre-Marc Fournier [Fri, 26 Feb 2010 22:46:23 +0000 (17:46 -0500)] 
fork: don't switch buffer when destroying trace in child

If we do switch the buffer, it switches the parent's buffer, because the both
process' buffers are still the same. This is undesirable. So we add a special
"drop" mode to ltt_trace_destroy.

14 years agoadd alloc-trace to usage()
Douglas Santos [Fri, 26 Feb 2010 14:23:13 +0000 (09:23 -0500)] 
add alloc-trace to usage()

14 years agoadd missing ust_snprintf.h
Pierre-Marc Fournier [Fri, 26 Feb 2010 05:30:07 +0000 (00:30 -0500)] 
add missing ust_snprintf.h

14 years agoupdate TODO
Pierre-Marc Fournier [Thu, 25 Feb 2010 23:00:51 +0000 (18:00 -0500)] 
update TODO

14 years agopowerof_two: make static
Pierre-Marc Fournier [Thu, 25 Feb 2010 22:55:59 +0000 (17:55 -0500)] 
powerof_two: make static

14 years agotake ltt_trace_lock during the full manipulation of the data struct
Pierre-Marc Fournier [Thu, 25 Feb 2010 22:53:39 +0000 (17:53 -0500)] 
take ltt_trace_lock during the full manipulation of the data struct

14 years agoustctl: cleanup arg handling
Pierre-Marc Fournier [Thu, 25 Feb 2010 03:11:38 +0000 (22:11 -0500)] 
ustctl: cleanup arg handling

14 years agomanual enhancements
Pierre-Marc Fournier [Thu, 25 Feb 2010 02:29:01 +0000 (21:29 -0500)] 
manual enhancements

14 years agoustd: improve error handling
Pierre-Marc Fournier [Thu, 25 Feb 2010 02:06:47 +0000 (21:06 -0500)] 
ustd: improve error handling

14 years agolibustcomm: add buffering mechanism to receive function
Pierre-Marc Fournier [Wed, 24 Feb 2010 20:25:04 +0000 (15:25 -0500)] 
libustcomm: add buffering mechanism to receive function

14 years agolibustcomm: fix warning
Pierre-Marc Fournier [Wed, 24 Feb 2010 20:24:12 +0000 (15:24 -0500)] 
libustcomm: fix warning

14 years agoupdate TODO
Pierre-Marc Fournier [Tue, 23 Feb 2010 23:59:01 +0000 (18:59 -0500)] 
update TODO

14 years agousttrace: remove old comment
Pierre-Marc Fournier [Tue, 23 Feb 2010 23:57:32 +0000 (18:57 -0500)] 
usttrace: remove old comment

14 years agoDon't call system() in the constructor path
Pierre-Marc Fournier [Tue, 23 Feb 2010 23:56:27 +0000 (18:56 -0500)] 
Don't call system() in the constructor path

This leads to an infinite process creation loop.

Instead of calling mkdir -p on the shell, add an mkdir -p function.

14 years agolibmallocwrap: give a name to the free event argument
Pierre-Marc Fournier [Tue, 23 Feb 2010 23:43:16 +0000 (18:43 -0500)] 
libmallocwrap: give a name to the free event argument

14 years agodisable ustctl --version until it is saner
Pierre-Marc Fournier [Tue, 23 Feb 2010 16:37:36 +0000 (11:37 -0500)] 
disable ustctl --version until it is saner

14 years agoadd options to set subbuf size and cnt
Douglas Santos [Mon, 22 Feb 2010 16:32:02 +0000 (11:32 -0500)] 
add options to set subbuf size and cnt

14 years agosnprintf: fix warning about non null argument
Pierre-Marc Fournier [Fri, 19 Feb 2010 22:27:29 +0000 (17:27 -0500)] 
snprintf: fix warning about non null argument

14 years agouse signal safe ust_safe_snprintf()
Pierre-Marc Fournier [Fri, 19 Feb 2010 20:46:52 +0000 (15:46 -0500)] 
use signal safe ust_safe_snprintf()

14 years agoupdate TODO and README
Pierre-Marc Fournier [Thu, 18 Feb 2010 18:09:40 +0000 (13:09 -0500)] 
update TODO and README

14 years agoFinal updates for release 0.2 v0.2
Pierre-Marc Fournier [Thu, 18 Feb 2010 16:57:32 +0000 (11:57 -0500)] 
Final updates for release 0.2

14 years agoChangeLog: update
Pierre-Marc Fournier [Thu, 18 Feb 2010 16:56:11 +0000 (11:56 -0500)] 
ChangeLog: update

14 years agostandardize error messages a bit
Pierre-Marc Fournier [Thu, 18 Feb 2010 15:06:02 +0000 (10:06 -0500)] 
standardize error messages a bit

This page took 0.045655 seconds and 4 git commands to generate.