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.
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
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>
Pierre-Marc Fournier [Thu, 1 Jul 2010 04:31:10 +0000 (00:31 -0400)]
Final updates for release 0.5
Pierre-Marc Fournier [Thu, 1 Jul 2010 04:07:37 +0000 (00:07 -0400)]
update doc for next release
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.
Pierre-Marc Fournier [Thu, 1 Jul 2010 02:26:32 +0000 (22:26 -0400)]
tracectl.c: add description comment
Pierre-Marc Fournier [Thu, 1 Jul 2010 02:25:25 +0000 (22:25 -0400)]
update READMEs
Pierre-Marc Fournier [Wed, 2 Jun 2010 15:47:24 +0000 (11:47 -0400)]
add info about what dirs/files are doing
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.
Pierre-Marc Fournier [Mon, 31 May 2010 16:10:35 +0000 (12:10 -0400)]
update README
Alexis Hallé [Wed, 26 May 2010 16:24:18 +0000 (12:24 -0400)]
make RUNLTTV configurable in trace_matches
Pierre-Marc Fournier [Fri, 28 May 2010 16:06:40 +0000 (12:06 -0400)]
update -W help in the usttrace man page
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.
Pierre-Marc Fournier [Thu, 27 May 2010 20:10:13 +0000 (16:10 -0400)]
update manual
Pierre-Marc Fournier [Thu, 27 May 2010 20:03:31 +0000 (16:03 -0400)]
update README
Pierre-Marc Fournier [Thu, 27 May 2010 19:58:36 +0000 (15:58 -0400)]
update manual
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.
Pierre-Marc Fournier [Wed, 26 May 2010 22:32:59 +0000 (18:32 -0400)]
documentation update
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.
Pierre-Marc Fournier [Mon, 24 May 2010 03:55:13 +0000 (23:55 -0400)]
remove mutex_lock, mutex_unlock macros
Oussama El Mfadli [Wed, 12 May 2010 20:12:42 +0000 (16:12 -0400)]
test for two markers on the same line
Alexis Hallé [Thu, 13 May 2010 17:29:21 +0000 (13:29 -0400)]
usttrace man page update
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
Pierre-Marc Fournier [Fri, 21 May 2010 19:09:44 +0000 (15:09 -0400)]
runtests: remove unimplemented test
Pierre-Marc Fournier [Thu, 20 May 2010 17:10:07 +0000 (13:10 -0400)]
add average script
Pierre-Marc Fournier [Mon, 17 May 2010 16:53:19 +0000 (12:53 -0400)]
add missing ptime for benchmark
Pierre-Marc Fournier [Thu, 13 May 2010 21:08:39 +0000 (17:08 -0400)]
update tracepoints example with api updates
Pierre-Marc Fournier [Tue, 11 May 2010 21:01:07 +0000 (17:01 -0400)]
Update benchmark
Pierre-Marc Fournier [Tue, 27 Apr 2010 20:08:09 +0000 (16:08 -0400)]
fix power of two computation
Pierre-Marc Fournier [Tue, 27 Apr 2010 19:11:57 +0000 (15:11 -0400)]
fix warning
Pierre-Marc Fournier [Tue, 27 Apr 2010 18:50:30 +0000 (14:50 -0400)]
fix bootstrapping
Pierre-Marc Fournier [Tue, 27 Apr 2010 18:40:48 +0000 (14:40 -0400)]
change to silent compilation
Pierre-Marc Fournier [Fri, 23 Apr 2010 15:31:52 +0000 (11:31 -0400)]
Add support for ppc hw tb clock, remove kernelcompat.h
Pierre-Marc Fournier [Fri, 16 Apr 2010 14:28:18 +0000 (10:28 -0400)]
add a .gitignore for java
Pierre-Marc Fournier [Fri, 16 Apr 2010 14:27:47 +0000 (10:27 -0400)]
add custom probes support and update tracepoints
Pierre-Marc Fournier [Fri, 16 Apr 2010 14:17:35 +0000 (10:17 -0400)]
remove some unused code
Pierre-Marc Fournier [Mon, 19 Apr 2010 22:35:44 +0000 (18:35 -0400)]
Port to PowerPC 32
Pierre-Marc Fournier [Tue, 13 Apr 2010 17:58:31 +0000 (13:58 -0400)]
jhash: add cast
Pierre-Marc Fournier [Tue, 13 Apr 2010 17:45:30 +0000 (13:45 -0400)]
compile with -fno-strict-aliasing
Pierre-Marc Fournier [Wed, 7 Apr 2010 18:36:42 +0000 (14:36 -0400)]
add support for channel overwrite and non-collection
Pierre-Marc Fournier [Wed, 7 Apr 2010 18:33:38 +0000 (14:33 -0400)]
update TODO
Jon Bernard [Thu, 25 Mar 2010 19:20:57 +0000 (15:20 -0400)]
Add manpages for ustd, ustctl, and usttrace
Pierre-Marc Fournier [Thu, 25 Mar 2010 15:59:09 +0000 (11:59 -0400)]
testsuite: update for libmallocwrap rename to libustinstr-malloc
Pierre-Marc Fournier [Thu, 25 Mar 2010 15:31:00 +0000 (11:31 -0400)]
benchmark: fix various problems
Pierre-Marc Fournier [Thu, 25 Mar 2010 15:29:45 +0000 (11:29 -0400)]
benchmark: fix makefile
Douglas Santos [Thu, 18 Mar 2010 21:45:50 +0000 (17:45 -0400)]
benchmark tool
Pierre-Marc Fournier [Tue, 23 Mar 2010 05:25:19 +0000 (01:25 -0400)]
remove unused consumer_stack
Pierre-Marc Fournier [Tue, 23 Mar 2010 05:25:02 +0000 (01:25 -0400)]
fix pthread error handling
Pierre-Marc Fournier [Tue, 23 Mar 2010 04:16:10 +0000 (00:16 -0400)]
markers/tracepoints: implement library unregistration
Pierre-Marc Fournier [Tue, 23 Mar 2010 04:15:08 +0000 (00:15 -0400)]
replace hardcoded value with define
Pierre-Marc Fournier [Wed, 17 Mar 2010 18:25:38 +0000 (14:25 -0400)]
update ChangeLog
Pierre-Marc Fournier [Wed, 17 Mar 2010 18:07:05 +0000 (14:07 -0400)]
Final updates for release 0.4
Pierre-Marc Fournier [Wed, 17 Mar 2010 17:52:44 +0000 (13:52 -0400)]
update READMEs for the next release
Pierre-Marc Fournier [Wed, 17 Mar 2010 17:49:09 +0000 (13:49 -0400)]
rename libmallocwrap -> libustinstr-malloc
Pierre-Marc Fournier [Wed, 17 Mar 2010 16:23:17 +0000 (12:23 -0400)]
rename libinterfork -> libustfork
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
Pierre-Marc Fournier [Wed, 17 Mar 2010 03:58:15 +0000 (23:58 -0400)]
update TODO
Pierre-Marc Fournier [Wed, 17 Mar 2010 03:56:19 +0000 (23:56 -0400)]
tracectl: remove unused function
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.
Pierre-Marc Fournier [Wed, 17 Mar 2010 03:31:16 +0000 (23:31 -0400)]
remove debugging printf
Pierre-Marc Fournier [Wed, 17 Mar 2010 03:30:53 +0000 (23:30 -0400)]
runtests: add a ustd/valgrind check
Pierre-Marc Fournier [Wed, 17 Mar 2010 03:30:29 +0000 (23:30 -0400)]
ustd: move a free in the error handling path
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
Pierre-Marc Fournier [Tue, 16 Mar 2010 20:55:47 +0000 (16:55 -0400)]
fix warning on incorrect function prototype
Pierre-Marc Fournier [Tue, 16 Mar 2010 20:53:35 +0000 (16:53 -0400)]
move libkcompat inside ust
Pierre-Marc Fournier [Tue, 16 Mar 2010 20:50:20 +0000 (16:50 -0400)]
update README
Pierre-Marc Fournier [Fri, 12 Mar 2010 00:04:22 +0000 (19:04 -0500)]
remove pointless strdup_malloc
Pierre-Marc Fournier [Fri, 12 Mar 2010 00:04:01 +0000 (19:04 -0500)]
switch from kcompat lists to urcu lists
Pierre-Marc Fournier [Thu, 11 Mar 2010 23:57:28 +0000 (18:57 -0500)]
fix FIXMEs
Pierre-Marc Fournier [Thu, 11 Mar 2010 23:51:17 +0000 (18:51 -0500)]
remove old unused code
Pierre-Marc Fournier [Thu, 11 Mar 2010 23:50:43 +0000 (18:50 -0500)]
Add multipoll and change tracectl to use it
Pierre-Marc Fournier [Thu, 11 Mar 2010 23:38:27 +0000 (18:38 -0500)]
make libustcomm into a static lib
Pierre-Marc Fournier [Thu, 11 Mar 2010 18:48:52 +0000 (13:48 -0500)]
add missing licence headers
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:34:07 +0000 (00:34 -0500)]
have_listener: make static
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:31:34 +0000 (00:31 -0500)]
change benign WARN to DBG
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
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:27:39 +0000 (00:27 -0500)]
fix warning
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:26:15 +0000 (00:26 -0500)]
ustd: change benign WARN()s to DBG()s
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.
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:23:20 +0000 (00:23 -0500)]
ustd: make terminate_req static
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:22:43 +0000 (00:22 -0500)]
ustd: finish_consuming_dead_subbuffer: improve error handling
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.
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:16:34 +0000 (00:16 -0500)]
runtests: assert the test logs contain no errors or warnings
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:15:08 +0000 (00:15 -0500)]
fix warning
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:12:56 +0000 (00:12 -0500)]
fix warnings
Pierre-Marc Fournier [Tue, 9 Mar 2010 05:06:14 +0000 (00:06 -0500)]
don't close file descriptors twice
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.
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().
Pierre-Marc Fournier [Tue, 9 Mar 2010 04:48:56 +0000 (23:48 -0500)]
change benign WARN()s to DBG()s
Pierre-Marc Fournier [Tue, 9 Mar 2010 04:48:20 +0000 (23:48 -0500)]
add error handling for close() call
Douglas Santos [Thu, 4 Mar 2010 18:30:54 +0000 (13:30 -0500)]
option to see subbuffer size and count
Pierre-Marc Fournier [Thu, 4 Mar 2010 23:04:52 +0000 (18:04 -0500)]
update TODO
Pierre-Marc Fournier [Thu, 4 Mar 2010 23:04:36 +0000 (18:04 -0500)]
trace_matches: fix return value bug
Pierre-Marc Fournier [Thu, 4 Mar 2010 22:46:46 +0000 (17:46 -0500)]
ustd: destroy buffer struct after usage
Pierre-Marc Fournier [Thu, 4 Mar 2010 21:11:20 +0000 (16:11 -0500)]
fix destruction to free all memory
Pierre-Marc Fournier [Thu, 4 Mar 2010 17:14:06 +0000 (12:14 -0500)]
kernelcompat: remove old definitions that are now unused
Pierre-Marc Fournier [Thu, 4 Mar 2010 16:59:08 +0000 (11:59 -0500)]
kmalloc, kfree, etc => malloc, free, etc
Pierre-Marc Fournier [Thu, 4 Mar 2010 16:33:09 +0000 (11:33 -0500)]
convert to uatomic ops
Pierre-Marc Fournier [Wed, 3 Mar 2010 21:06:41 +0000 (16:06 -0500)]
update TODO
This page took 0.038691 seconds and 5 git commands to generate.