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.
Pierre-Marc Fournier [Tue, 23 Feb 2010 23:43:16 +0000 (18:43 -0500)]
libmallocwrap: give a name to the free event argument
Pierre-Marc Fournier [Tue, 23 Feb 2010 16:37:36 +0000 (11:37 -0500)]
disable ustctl --version until it is saner
Douglas Santos [Mon, 22 Feb 2010 16:32:02 +0000 (11:32 -0500)]
add options to set subbuf size and cnt
Pierre-Marc Fournier [Fri, 19 Feb 2010 22:27:29 +0000 (17:27 -0500)]
snprintf: fix warning about non null argument
Pierre-Marc Fournier [Fri, 19 Feb 2010 20:46:52 +0000 (15:46 -0500)]
use signal safe ust_safe_snprintf()
Pierre-Marc Fournier [Thu, 18 Feb 2010 18:09:40 +0000 (13:09 -0500)]
update TODO and README
Pierre-Marc Fournier [Thu, 18 Feb 2010 16:57:32 +0000 (11:57 -0500)]
Final updates for release 0.2
Pierre-Marc Fournier [Thu, 18 Feb 2010 16:56:11 +0000 (11:56 -0500)]
ChangeLog: update
Pierre-Marc Fournier [Thu, 18 Feb 2010 15:06:02 +0000 (10:06 -0500)]
standardize error messages a bit
Pierre-Marc Fournier [Thu, 18 Feb 2010 15:02:04 +0000 (10:02 -0500)]
add NOTFOUND reply for get_subbuf and put_subbuf commands
Pierre-Marc Fournier [Thu, 18 Feb 2010 14:43:51 +0000 (09:43 -0500)]
ustd: put_subbuf: handle case where ustcomm_send_request returns 0
This fixes a segfault
Pierre-Marc Fournier [Wed, 17 Feb 2010 17:21:32 +0000 (12:21 -0500)]
libustcomm: fix invalid read of buffer
Pierre-Marc Fournier [Wed, 17 Feb 2010 17:21:01 +0000 (12:21 -0500)]
libustcomm: fix segfault caused by incorrect initialization of buffer size
Pierre-Marc Fournier [Wed, 17 Feb 2010 17:20:37 +0000 (12:20 -0500)]
update TODO
Pierre-Marc Fournier [Mon, 15 Feb 2010 05:41:37 +0000 (00:41 -0500)]
add TODO
Pierre-Marc Fournier [Mon, 15 Feb 2010 05:30:42 +0000 (00:30 -0500)]
add ChangeLog
Pierre-Marc Fournier [Mon, 15 Feb 2010 05:28:03 +0000 (00:28 -0500)]
ustd: add FIXME
Pierre-Marc Fournier [Mon, 15 Feb 2010 05:21:17 +0000 (00:21 -0500)]
ustd: use modulo value for first_subbuf
This prevented crash recovery when the buffer filled.
Pierre-Marc Fournier [Mon, 15 Feb 2010 05:20:06 +0000 (00:20 -0500)]
Don't call the noop version of ltt_write_commit_counter
Pierre-Marc Fournier [Mon, 15 Feb 2010 05:17:05 +0000 (00:17 -0500)]
fix bug that always forced the consumed offset at 0
Zero was always passed to ust_buffers_put_subbuf
Pierre-Marc Fournier [Mon, 15 Feb 2010 05:16:04 +0000 (00:16 -0500)]
add debugging messages on buffer switch
Pierre-Marc Fournier [Fri, 12 Feb 2010 23:01:16 +0000 (18:01 -0500)]
usttrace: add signal handler to prevent ustd from keeping running after usttrace is killed
Pierre-Marc Fournier [Fri, 12 Feb 2010 18:19:00 +0000 (13:19 -0500)]
update to trace format 2.6
Pierre-Marc Fournier [Fri, 12 Feb 2010 17:06:09 +0000 (12:06 -0500)]
manual: add sections
- tracing programs not linked to libust
- viewing traces
Pierre-Marc Fournier [Fri, 12 Feb 2010 17:06:04 +0000 (12:06 -0500)]
update TODO
Pierre-Marc Fournier [Fri, 12 Feb 2010 15:06:14 +0000 (10:06 -0500)]
fix usttrace -l
Pierre-Marc Fournier [Fri, 12 Feb 2010 15:06:07 +0000 (10:06 -0500)]
update TODO
Pierre-Marc Fournier [Fri, 12 Feb 2010 00:21:04 +0000 (19:21 -0500)]
fix support for trace format 2.5
Pierre-Marc Fournier [Wed, 10 Feb 2010 22:15:50 +0000 (17:15 -0500)]
refactor/enhance libustcomm
- regroup sending and receiving code
- add \0 at end of messages
- add dynamic allocation of received message buffers
- remove message length limit
Pierre-Marc Fournier [Wed, 10 Feb 2010 18:41:51 +0000 (13:41 -0500)]
usterr.h: add DBG_raw() macro
Pierre-Marc Fournier [Wed, 10 Feb 2010 18:41:00 +0000 (13:41 -0500)]
fix bug in manual; argument order for ustctl in example
Pierre-Marc Fournier [Mon, 8 Feb 2010 22:47:30 +0000 (17:47 -0500)]
port to trace format 2.5
Pierre-Marc Fournier [Mon, 8 Feb 2010 21:50:41 +0000 (16:50 -0500)]
fix some errors and warnings in the porting
Pierre-Marc Fournier [Mon, 8 Feb 2010 20:54:14 +0000 (15:54 -0500)]
port to trace format 2.4
Pierre-Marc Fournier [Fri, 5 Feb 2010 20:26:59 +0000 (15:26 -0500)]
initialize commit_seq
Pierre-Marc Fournier [Fri, 5 Feb 2010 17:17:48 +0000 (12:17 -0500)]
Port changes from lttng-kt
Pierre-Marc Fournier [Wed, 10 Feb 2010 20:11:24 +0000 (15:11 -0500)]
quick and dirty fix for message maximum length bug
This happens when we do ustctl --list-markers.
A refactoring to fix this correctly is in progress.
Pierre-Marc Fournier [Tue, 9 Feb 2010 17:35:27 +0000 (12:35 -0500)]
update TODO
Pierre-Marc Fournier [Fri, 5 Feb 2010 17:01:42 +0000 (12:01 -0500)]
update TODO
Pierre-Marc Fournier [Wed, 3 Feb 2010 19:43:27 +0000 (14:43 -0500)]
update todo
Pierre-Marc Fournier [Tue, 2 Feb 2010 21:40:46 +0000 (16:40 -0500)]
Update to liburcu 0.4.0 API
Pierre-Marc Fournier [Tue, 2 Feb 2010 19:42:38 +0000 (14:42 -0500)]
buffers.c: fix compilation issue
Pierre-Marc Fournier [Tue, 2 Feb 2010 02:43:03 +0000 (21:43 -0500)]
_SC_NPROCESSORS_ONLN -> _SC_NPROCESSORS_CONF
Pierre-Marc Fournier [Tue, 2 Feb 2010 02:12:40 +0000 (21:12 -0500)]
Convert buffering system to per-cpu
The cpu count is fixed at trace allocation. If the current cpu
happens to be out of range, the event is put in the buffer of cpu0.
Pierre-Marc Fournier [Tue, 2 Feb 2010 01:25:43 +0000 (20:25 -0500)]
usterr.h: print function name
Pierre-Marc Fournier [Tue, 2 Feb 2010 01:25:24 +0000 (20:25 -0500)]
update TODO
Pierre-Marc Fournier [Mon, 1 Feb 2010 20:40:18 +0000 (15:40 -0500)]
change DEBUG macro to UST_DEBUG, now it must be -D's at ./configure to activate it
Pierre-Marc Fournier [Mon, 1 Feb 2010 20:20:51 +0000 (15:20 -0500)]
Large cleanup, mostly removal of all printk's and printfs in libust
Also removal of old unused commented code.
Pierre-Marc Fournier [Fri, 29 Jan 2010 04:44:19 +0000 (23:44 -0500)]
libustcomm: change char * to const char * where relevant
Pierre-Marc Fournier [Fri, 29 Jan 2010 00:00:59 +0000 (19:00 -0500)]
update TODO
Pierre-Marc Fournier [Thu, 28 Jan 2010 17:28:13 +0000 (12:28 -0500)]
libustcomm: create default socket directory if it does not exist
Applies to socket and trace app.
Pierre-Marc Fournier [Thu, 28 Jan 2010 17:27:07 +0000 (12:27 -0500)]
usttrace: change ustd socket name to ustd-sock-PID
Also change internal variable name for that file name.
This is to make things clearer since traced apps also have
sockets.
Pierre-Marc Fournier [Thu, 28 Jan 2010 16:53:52 +0000 (11:53 -0500)]
change app socket directory name for something more descriptive
Pierre-Marc Fournier [Wed, 20 Jan 2010 06:03:57 +0000 (01:03 -0500)]
Refactor libinterfork and add support for clone() interception
Pierre-Marc Fournier [Tue, 19 Jan 2010 20:23:04 +0000 (15:23 -0500)]
save_registers: add comments and make safer
Carefully save all registers that could be changed by the
function calls.
Pierre-Marc Fournier [Tue, 19 Jan 2010 20:21:58 +0000 (15:21 -0500)]
Remove unused comment
Pierre-Marc Fournier [Tue, 19 Jan 2010 20:19:51 +0000 (15:19 -0500)]
add precisions for license
Pierre-Marc Fournier [Mon, 18 Jan 2010 22:46:49 +0000 (17:46 -0500)]
ust.h: remove duplicate include
Pierre-Marc Fournier [Mon, 18 Jan 2010 22:36:21 +0000 (17:36 -0500)]
Update manual with license info
Pierre-Marc Fournier [Mon, 18 Jan 2010 07:34:48 +0000 (02:34 -0500)]
Final changes for release 0.1
Pierre-Marc Fournier [Mon, 18 Jan 2010 07:28:02 +0000 (02:28 -0500)]
Don't display debugging messages by default
Pierre-Marc Fournier [Mon, 18 Jan 2010 07:22:55 +0000 (02:22 -0500)]
Documentation fixes
Pierre-Marc Fournier [Mon, 18 Jan 2010 07:06:54 +0000 (02:06 -0500)]
configure.ac: remove version from AM_INIT_AUTOMAKE
Pierre-Marc Fournier [Mon, 18 Jan 2010 06:59:53 +0000 (01:59 -0500)]
Change manual to texinfo format and enhance it
Pierre-Marc Fournier [Mon, 18 Jan 2010 06:48:06 +0000 (01:48 -0500)]
update gitignore
Pierre-Marc Fournier [Fri, 15 Jan 2010 23:04:25 +0000 (18:04 -0500)]
Add comment on manual registration of "ust" channel
Pierre-Marc Fournier [Fri, 15 Jan 2010 22:56:52 +0000 (17:56 -0500)]
Add --create-trace option to ustctl
Pierre-Marc Fournier [Fri, 15 Jan 2010 22:53:55 +0000 (17:53 -0500)]
Change header file's #define name
Pierre-Marc Fournier [Thu, 14 Jan 2010 05:22:59 +0000 (00:22 -0500)]
update README
Pierre-Marc Fournier [Thu, 14 Jan 2010 05:13:10 +0000 (00:13 -0500)]
Add some sanity to save_registers on x86-32
Fixes a crash
Pierre-Marc Fournier [Wed, 13 Jan 2010 20:49:40 +0000 (15:49 -0500)]
configure.ac: improve error message
Pierre-Marc Fournier [Wed, 13 Jan 2010 20:35:22 +0000 (15:35 -0500)]
update README
Pierre-Marc Fournier [Wed, 13 Jan 2010 19:50:44 +0000 (14:50 -0500)]
Do not use __SIZEOF_POINTER__, as it is not compatible with older gcc's
Pierre-Marc Fournier [Wed, 13 Jan 2010 19:33:20 +0000 (14:33 -0500)]
Replace __COUNTER__ with the more portable __LINE__
Also, change visibility of marker structs so they are visible
only to the current compilation unit. This allows to have the same
marker on the same line in two different files. It however does not
allow to have two identical (channel and name) markers on the same line
of the same file.
Pierre-Marc Fournier [Mon, 11 Jan 2010 22:21:02 +0000 (17:21 -0500)]
remove save_ip stub
Pierre-Marc Fournier [Mon, 11 Jan 2010 20:03:50 +0000 (15:03 -0500)]
fix saving of marker format
Pierre-Marc Fournier [Thu, 7 Jan 2010 19:29:49 +0000 (14:29 -0500)]
make initialization of marker struct completely static
Pierre-Marc Fournier [Thu, 7 Jan 2010 19:25:57 +0000 (14:25 -0500)]
fix macro indentation
Pierre-Marc Fournier [Thu, 7 Jan 2010 17:00:41 +0000 (12:00 -0500)]
complete ip saving code
Pierre-Marc Fournier [Thu, 7 Jan 2010 17:00:19 +0000 (12:00 -0500)]
remove usage of the marker_addr section
Pierre-Marc Fournier [Thu, 7 Jan 2010 04:05:56 +0000 (23:05 -0500)]
fix comment
Pierre-Marc Fournier [Thu, 10 Dec 2009 20:37:07 +0000 (15:37 -0500)]
first take on the save ip on x86-32
Pedro Alves [Thu, 7 Jan 2010 03:33:32 +0000 (22:33 -0500)]
Make 64 bit compilation on 32 bit compiler possible
This patch is to be able to build ust with `i686-unknown-pc-gnu-gcc -m64', that
is, 32-bit compiler, 64-bit multilib.
Pedro Alves [Thu, 7 Jan 2010 03:28:21 +0000 (22:28 -0500)]
Remove absolute path from libust.so
I noticed that the libust.so ld script is installed to the same directory as
libust.so.0 and libust-initializer.o, so removing the absolute paths from them
allows linking with a libust.so that isn't in the sysroot or installed under
/usr/, like e.g., in a DESTDIR directory. This was useful for testing a
release with everything extracted some randome prefix, e.g., libust.so in
$RANDOM_UNPACK_DIR/usr/lib, and pointing LD_LIBRARY_PATH to
$RANDOM_UNPACK_DIR/usr/lib.
Pierre-Marc Fournier [Wed, 6 Jan 2010 21:29:49 +0000 (16:29 -0500)]
update README
Pierre-Marc Fournier [Fri, 18 Dec 2009 20:28:37 +0000 (15:28 -0500)]
change inline to __inline__ for better compatibility
Pierre-Marc Fournier [Fri, 18 Dec 2009 20:05:23 +0000 (15:05 -0500)]
add is_marker_enabled function from lttng kt
Pierre-Marc Fournier [Fri, 18 Dec 2009 19:23:55 +0000 (14:23 -0500)]
port fix from lttng kernel tracer 0.92
Pierre-Marc Fournier [Mon, 14 Dec 2009 07:15:27 +0000 (02:15 -0500)]
add asm to save regs on x86-32, for gdb
Pierre-Marc Fournier [Mon, 14 Dec 2009 07:17:34 +0000 (02:17 -0500)]
Add test for compilation of libust against a shared library
Pierre-Marc Fournier [Mon, 14 Dec 2009 07:10:01 +0000 (02:10 -0500)]
Add dummy marker and tracepoint to libust-initializer
Without these, the __start... and __stop... symbols are
not defined, and compilation fails with an obscure relocation
message. A more elegant solution should be found.
Pierre-Marc Fournier [Mon, 14 Dec 2009 07:08:45 +0000 (02:08 -0500)]
Force -fPIC build of libust-initializer.o
This is needed for linking it to shared libraries.
Pierre-Marc Fournier [Mon, 14 Dec 2009 07:06:18 +0000 (02:06 -0500)]
Fix compilation of libust-initializer.o
The explicit rule in /Makefile.am to build libust-initializer.o was
not being considered. This is because programs that depend on it
were being built before it, triggering the use of an implicit rule
to build it.
Changing SUBDIRS in /Makefile.am to include "." insures
libust-initializer.o is built first with the right rule.
Pierre-Marc Fournier [Wed, 9 Dec 2009 19:10:05 +0000 (14:10 -0500)]
more fixes of conditional compilation of gdb support
Pierre-Marc Fournier [Wed, 9 Dec 2009 18:55:03 +0000 (13:55 -0500)]
fix conditional compilation of gdb support
Pierre-Marc Fournier [Tue, 8 Dec 2009 20:01:32 +0000 (15:01 -0500)]
probe.h: fix warning
Pierre-Marc Fournier [Tue, 8 Dec 2009 20:01:20 +0000 (15:01 -0500)]
simple_include: fix warning
Pierre-Marc Fournier [Tue, 8 Dec 2009 19:51:55 +0000 (14:51 -0500)]
move probe stuff to probe.h, to have it available in system wide headers
Pierre-Marc Fournier [Tue, 8 Dec 2009 19:34:47 +0000 (14:34 -0500)]
tracepoint.h: fix header macro name
This page took 0.037616 seconds and 4 git commands to generate.