ust.git
14 years agoustctl manpage: document force-switch
Alexis Hallé [Wed, 14 Jul 2010 18:52:01 +0000 (14:52 -0400)] 
ustctl manpage: document force-switch

14 years agoadd a command to force subbuffer switch
Alexis Hallé [Wed, 14 Jul 2010 18:52:00 +0000 (14:52 -0400)] 
add a command to force subbuffer switch

14 years agoremove ltt_relay_buffer_flush function
Alexis Hallé [Wed, 14 Jul 2010 18:51:59 +0000 (14:51 -0400)] 
remove ltt_relay_buffer_flush function

All it did was call ltt_force_switch and wake up consumers, when
ltt_force_switch already wakes up the consumers.

14 years agoustctl manpage: document get/set-sock-path
Alexis Hallé [Wed, 14 Jul 2010 18:51:58 +0000 (14:51 -0400)] 
ustctl manpage: document get/set-sock-path

14 years agoadd get/set commands for daemon socket path
Alexis Hallé [Wed, 14 Jul 2010 18:51:57 +0000 (14:51 -0400)] 
add get/set commands for daemon socket path

14 years agocreate libustd from ustd
Alexis Hallé [Wed, 14 Jul 2010 18:51:56 +0000 (14:51 -0400)] 
create libustd from ustd

This makes libustd a library containing the core functionality of
the daemon, and ustd a simple client application using this library,
interacting with it via a set of callbacks supplied to it.

14 years agoadd paranoid check before listener thread destruction
Pierre-Marc Fournier [Thu, 15 Jul 2010 01:05:16 +0000 (21:05 -0400)] 
add paranoid check before listener thread destruction

In case a pthread error prevented its creation.

14 years agodefine ____cacheline_aligned
Pierre-Marc Fournier [Tue, 6 Jul 2010 00:04:06 +0000 (20:04 -0400)] 
define ____cacheline_aligned

14 years agoFix directory creation mode. Unless umask is set to 0 the default umask of the system...
David Goulet [Thu, 24 Jun 2010 16:32:29 +0000 (12:32 -0400)] 
Fix directory creation mode. Unless umask is set to 0 the default umask of the system, commonly 022, will be used and thus it becomes impossible to get the 777 mode.

14 years agoUST marker.h
David Goulet [Wed, 23 Jun 2010 21:17:39 +0000 (17:17 -0400)] 
UST marker.h

Modification nécessaire pour faire des custom probes avec trace_mark_tp.
Sous la recommandation de Michel et Mathieu, il était mieux d'utiliser
cela pour les tests de profilage que des trace_mark ou des tracepoints.

Ceci étant dit, les résultats avec un test de profilage que j'ai monté,
contenant 3 tracepoints, le average perevent était de ~65ns.

Maintenant, résultats préliminaires avec les custom probes sur le même
test suite que les trace_mark et tracepoints :

Average time per event                  : 0.0000000159 (sec), 0.00002
(msec), 0.01587 (usec), 15.86718 (nsec)

Best time [RUN 5]                       : 0.0000000154 (sec), 0.00002
(msec), 0.01536 (usec), 15.35519 (nsec)
Worst time [RUN 6]                      : 0.0000000166 (sec), 0.00002
(msec), 0.01659 (usec), 16.59236 (nsec)
Standard Deviation                      : 0.0000000004 (sec), 0.00000
(msec), 0.00038 (usec), 0.38116 (nsec)

Quand même! ;)

Bref, je continue mais si tu veux commenter ou proposer des tests, fait
moi signe.

A plus
David

From e1fc903e0cedfc21895b2ad952bb6127d0b3b853 Mon Sep 17 00:00:00 2001
From: David Goulet <david.goulet@polymtl.ca>
Date: Wed, 23 Jun 2010 17:04:45 -0400
Subject: [PATCH] Fixed __trace_mark_tp_counter with the usage of
 DEFINE_MARKER_TP macro. Down to 5 arguments instead of 7
 and added registers struct missing. Now, custom probes
 can be used within UST with trace_mark_tp function

14 years agoRemoving NO_IPI ifdef for memory barrier. The smp_wmb should be used all the time...
David Goulet [Wed, 30 Jun 2010 13:04:41 +0000 (09:04 -0400)] 
Removing NO_IPI ifdef for memory barrier. The smp_wmb should be used all the time here.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
14 years agoFinal updates for release 0.5 v0.5
Pierre-Marc Fournier [Thu, 1 Jul 2010 04:31:10 +0000 (00:31 -0400)] 
Final updates for release 0.5

14 years agoupdate doc for next release
Pierre-Marc Fournier [Thu, 1 Jul 2010 04:07:37 +0000 (00:07 -0400)] 
update doc for next release

14 years agofix regression of GDB support
Pierre-Marc Fournier [Thu, 1 Jul 2010 02:27:01 +0000 (22:27 -0400)] 
fix regression of GDB support

Address of marker was not reported correctly. Fix by Pedro Alves.

14 years agotracectl.c: add description comment
Pierre-Marc Fournier [Thu, 1 Jul 2010 02:26:32 +0000 (22:26 -0400)] 
tracectl.c: add description comment

14 years agoupdate READMEs
Pierre-Marc Fournier [Thu, 1 Jul 2010 02:25:25 +0000 (22:25 -0400)] 
update READMEs

14 years agoadd info about what dirs/files are doing
Pierre-Marc Fournier [Wed, 2 Jun 2010 15:47:24 +0000 (11:47 -0400)] 
add info about what dirs/files are doing

14 years agoadd environment variables to set subbuffer options
Alexis Hallé [Fri, 28 May 2010 17:10:37 +0000 (13:10 -0400)] 
add environment variables to set subbuffer options

UST_SUBBUF_SIZE and UST_SUBBUF_NUM control respectively the size and
number of subbuffers. Options -S and -N in the usttrace script also
control these parameters.

14 years agoupdate README
Pierre-Marc Fournier [Mon, 31 May 2010 16:10:35 +0000 (12:10 -0400)] 
update README

14 years agomake RUNLTTV configurable in trace_matches
Alexis Hallé [Wed, 26 May 2010 16:24:18 +0000 (12:24 -0400)] 
make RUNLTTV configurable in trace_matches

14 years agoupdate -W help in the usttrace man page
Pierre-Marc Fournier [Fri, 28 May 2010 16:06:40 +0000 (12:06 -0400)] 
update -W help in the usttrace man page

14 years agoChanges testcases in runtests to use TAP
Nils Carlson [Fri, 28 May 2010 08:21:47 +0000 (10:21 +0200)] 
Changes testcases in runtests to use TAP

TAP - Test Anything Protocol is an easy to parse test protocol.

14 years agoupdate manual
Pierre-Marc Fournier [Thu, 27 May 2010 20:10:13 +0000 (16:10 -0400)] 
update manual

14 years agoupdate README
Pierre-Marc Fournier [Thu, 27 May 2010 20:03:31 +0000 (16:03 -0400)] 
update README

14 years agoupdate manual
Pierre-Marc Fournier [Thu, 27 May 2010 19:58:36 +0000 (15:58 -0400)] 
update manual

14 years agoblock all signals in listener thread
Pierre-Marc Fournier [Thu, 27 May 2010 16:01:12 +0000 (12:01 -0400)] 
block all signals in listener thread

Not doing this can result in a situation where all the other application
threads have a signal blocked, and the listener thread, not having it blocked,
lets the signal handler execute. Therefore, in order to be as transparent as
possible to the application, we have to block signals.

14 years agodocumentation update
Pierre-Marc Fournier [Wed, 26 May 2010 22:32:59 +0000 (18:32 -0400)] 
documentation update

14 years agoReplace gettimeofday() with clock_gettime(CLOCK_MONOTONIC,...)
Pierre-Marc Fournier [Wed, 26 May 2010 16:32:36 +0000 (12:32 -0400)] 
Replace gettimeofday() with clock_gettime(CLOCK_MONOTONIC,...)

Contributed by Nils Carlson.

14 years agoremove mutex_lock, mutex_unlock macros
Pierre-Marc Fournier [Mon, 24 May 2010 03:55:13 +0000 (23:55 -0400)] 
remove mutex_lock, mutex_unlock macros

14 years agotest for two markers on the same line
Oussama El Mfadli [Wed, 12 May 2010 20:12:42 +0000 (16:12 -0400)] 
test for two markers on the same line

14 years agousttrace man page update
Alexis Hallé [Thu, 13 May 2010 17:29:21 +0000 (13:29 -0400)] 
usttrace man page update

14 years agoTest for a dynamically linked library
Oussama El Mfadli [Fri, 14 May 2010 20:56:55 +0000 (16:56 -0400)] 
Test for a dynamically linked library

Correction of dynamic library marked test

14 years agoruntests: remove unimplemented test
Pierre-Marc Fournier [Fri, 21 May 2010 19:09:44 +0000 (15:09 -0400)] 
runtests: remove unimplemented test

14 years agoadd average script
Pierre-Marc Fournier [Thu, 20 May 2010 17:10:07 +0000 (13:10 -0400)] 
add average script

14 years agoadd missing ptime for benchmark
Pierre-Marc Fournier [Mon, 17 May 2010 16:53:19 +0000 (12:53 -0400)] 
add missing ptime for benchmark

14 years agoupdate tracepoints example with api updates
Pierre-Marc Fournier [Thu, 13 May 2010 21:08:39 +0000 (17:08 -0400)] 
update tracepoints example with api updates

14 years agoUpdate benchmark
Pierre-Marc Fournier [Tue, 11 May 2010 21:01:07 +0000 (17:01 -0400)] 
Update benchmark

14 years agofix power of two computation
Pierre-Marc Fournier [Tue, 27 Apr 2010 20:08:09 +0000 (16:08 -0400)] 
fix power of two computation

14 years agofix warning
Pierre-Marc Fournier [Tue, 27 Apr 2010 19:11:57 +0000 (15:11 -0400)] 
fix warning

14 years agofix bootstrapping
Pierre-Marc Fournier [Tue, 27 Apr 2010 18:50:30 +0000 (14:50 -0400)] 
fix bootstrapping

14 years agochange to silent compilation
Pierre-Marc Fournier [Tue, 27 Apr 2010 18:40:48 +0000 (14:40 -0400)] 
change to silent compilation

14 years agoAdd support for ppc hw tb clock, remove kernelcompat.h
Pierre-Marc Fournier [Fri, 23 Apr 2010 15:31:52 +0000 (11:31 -0400)] 
Add support for ppc hw tb clock, remove kernelcompat.h

14 years agoadd a .gitignore for java
Pierre-Marc Fournier [Fri, 16 Apr 2010 14:28:18 +0000 (10:28 -0400)] 
add a .gitignore for java

14 years agoadd custom probes support and update tracepoints
Pierre-Marc Fournier [Fri, 16 Apr 2010 14:27:47 +0000 (10:27 -0400)] 
add custom probes support and update tracepoints

14 years agoremove some unused code
Pierre-Marc Fournier [Fri, 16 Apr 2010 14:17:35 +0000 (10:17 -0400)] 
remove some unused code

14 years agoPort to PowerPC 32
Pierre-Marc Fournier [Mon, 19 Apr 2010 22:35:44 +0000 (18:35 -0400)] 
Port to PowerPC 32

14 years agojhash: add cast
Pierre-Marc Fournier [Tue, 13 Apr 2010 17:58:31 +0000 (13:58 -0400)] 
jhash: add cast

14 years agocompile with -fno-strict-aliasing
Pierre-Marc Fournier [Tue, 13 Apr 2010 17:45:30 +0000 (13:45 -0400)] 
compile with -fno-strict-aliasing

14 years agoadd support for channel overwrite and non-collection
Pierre-Marc Fournier [Wed, 7 Apr 2010 18:36:42 +0000 (14:36 -0400)] 
add support for channel overwrite and non-collection

14 years agoupdate TODO
Pierre-Marc Fournier [Wed, 7 Apr 2010 18:33:38 +0000 (14:33 -0400)] 
update TODO

14 years agoAdd manpages for ustd, ustctl, and usttrace
Jon Bernard [Thu, 25 Mar 2010 19:20:57 +0000 (15:20 -0400)] 
Add manpages for ustd, ustctl, and usttrace

14 years agotestsuite: update for libmallocwrap rename to libustinstr-malloc
Pierre-Marc Fournier [Thu, 25 Mar 2010 15:59:09 +0000 (11:59 -0400)] 
testsuite: update for libmallocwrap rename to libustinstr-malloc

14 years agobenchmark: fix various problems
Pierre-Marc Fournier [Thu, 25 Mar 2010 15:31:00 +0000 (11:31 -0400)] 
benchmark: fix various problems

14 years agobenchmark: fix makefile
Pierre-Marc Fournier [Thu, 25 Mar 2010 15:29:45 +0000 (11:29 -0400)] 
benchmark: fix makefile

14 years agobenchmark tool
Douglas Santos [Thu, 18 Mar 2010 21:45:50 +0000 (17:45 -0400)] 
benchmark tool

14 years agoremove unused consumer_stack
Pierre-Marc Fournier [Tue, 23 Mar 2010 05:25:19 +0000 (01:25 -0400)] 
remove unused consumer_stack

14 years agofix pthread error handling
Pierre-Marc Fournier [Tue, 23 Mar 2010 05:25:02 +0000 (01:25 -0400)] 
fix pthread error handling

14 years agomarkers/tracepoints: implement library unregistration
Pierre-Marc Fournier [Tue, 23 Mar 2010 04:16:10 +0000 (00:16 -0400)] 
markers/tracepoints: implement library unregistration

14 years agoreplace hardcoded value with define
Pierre-Marc Fournier [Tue, 23 Mar 2010 04:15:08 +0000 (00:15 -0400)] 
replace hardcoded value with define

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

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