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
Pierre-Marc Fournier [Tue, 8 Dec 2009 18:03:55 +0000 (13:03 -0500)]
fix gdb integration bug
Pierre-Marc Fournier [Mon, 7 Dec 2009 20:57:24 +0000 (15:57 -0500)]
fix warning
Pierre-Marc Fournier [Mon, 7 Dec 2009 20:54:40 +0000 (15:54 -0500)]
fix 32 bit support by conditionally compiling gdb support
must define CONFIG_UST_GDB_INTEGRATION for gdb support to be enabled
Pierre-Marc Fournier [Mon, 7 Dec 2009 20:52:16 +0000 (15:52 -0500)]
marker.h: change header #define macro name
Pierre-Marc Fournier [Mon, 7 Dec 2009 19:23:22 +0000 (14:23 -0500)]
fix save_last_tsc() and last_tsc_overflow() args
Pierre-Marc Fournier [Tue, 20 Oct 2009 18:08:52 +0000 (14:08 -0400)]
Rewrite last GPL bits in relay.c and relay.h
Also update other files accordingly.
Pierre-Marc Fournier [Thu, 12 Nov 2009 21:23:24 +0000 (16:23 -0500)]
mark 32 bit support as broken
Pierre-Marc Fournier [Wed, 11 Nov 2009 22:03:08 +0000 (17:03 -0500)]
add very simple compilation test
Pierre-Marc Fournier [Wed, 11 Nov 2009 21:29:13 +0000 (16:29 -0500)]
configure.ac: use $host_cpu, not $target_cpu
Pierre-Marc Fournier [Wed, 11 Nov 2009 20:55:34 +0000 (15:55 -0500)]
fix static initialization so out of tree make distcheck works
Pierre-Marc Fournier [Wed, 11 Nov 2009 20:45:00 +0000 (15:45 -0500)]
static initializer: make cross-compilable
Jan Blunck [Thu, 5 Nov 2009 15:41:24 +0000 (16:41 +0100)]
Fix libust-initializer.o build
For the include path the $top_builddir variable was used which should be the
$top_srcdir instead.
Signed-off-by: Jan Blunck <jblunck@suse.de>
Jan Blunck [Thu, 5 Nov 2009 15:24:09 +0000 (16:24 +0100)]
Link tests against libust-initializer.o as well
I don't find a proper way to let the libtool Automake magic automatically
link against the initializer object as well. Therefore I need to add it
manually to each testcase.
Signed-off-by: Jan Blunck <jblunck@suse.de>
Jan Blunck [Tue, 27 Oct 2009 10:07:39 +0000 (11:07 +0100)]
Make references to __{start,stop}___{markers,tracepoints} weak
When using the linker script approach for initialization of the libust
library we unconditionally call __markers_init()/__tracepoints_init().
If one is using only tracepoints or only markers the init call fails
because of undefined references to the linker generated symbols for the
__markers or __tracepoints section (__start___markers, ...). Since we use
the symbols just for the size and the start of the section it is safe to
use weak symbols in this case: if the size if zero nothing get read anyway.
Signed-off-by: Jan Blunck <jblunck@suse.de>
Jan Blunck [Mon, 26 Oct 2009 13:59:35 +0000 (14:59 +0100)]
Fix include path when compiling libust-initializer.c
Otherwise it does not find the headers if they are not installed already.
Signed-off-by: Jan Blunck <jblunck@suse.de>
Jan Blunck [Thu, 5 Nov 2009 17:13:18 +0000 (18:13 +0100)]
Add linker script and libust initializer object
This adds a libust initializer object which gets linked automagically if
you link against libust.so, which is a linker skript from now on. The
object file just ensures that the libust is initialized properly without
forcing the user of the library to care about calling MARKER_LIB and
TRACEPOINT_LIB explicitly.
Signed-off-by: Jan Blunck <jblunck@suse.de>
Pierre-Marc Fournier [Wed, 11 Nov 2009 21:47:06 +0000 (16:47 -0500)]
revert installation of tracer.h, but keep ust.h
Pierre-Marc Fournier [Wed, 4 Nov 2009 04:26:18 +0000 (23:26 -0500)]
save registers: fix small problems
- Don't put C code at the beginning of save save_registers macro, as
it will change the registers in unpredictable ways. Therefore, test
whether ust_reg_stack_ptr has been initialized in assembly code.
- Save rflags at the begginning of the stub because using the test
instruction may change its content.
Pierre-Marc Fournier [Wed, 4 Nov 2009 03:02:25 +0000 (22:02 -0500)]
update .gitignore
Pierre-Marc Fournier [Wed, 4 Nov 2009 03:01:33 +0000 (22:01 -0500)]
install tracer.h, add new ust/ust.h
Pierre-Marc Fournier [Tue, 3 Nov 2009 23:46:43 +0000 (18:46 -0500)]
save registers: update
Pierre-Marc Fournier [Mon, 2 Nov 2009 21:16:53 +0000 (16:16 -0500)]
processor.h: save rflags
Pierre-Marc Fournier [Thu, 29 Oct 2009 04:59:55 +0000 (00:59 -0400)]
add serialize_to_text() function
For gdb static tracepoints.
Pierre-Marc Fournier [Wed, 28 Oct 2009 04:19:38 +0000 (00:19 -0400)]
usttrace: add comments to describe start sequence of ustd
Pierre-Marc Fournier [Wed, 28 Oct 2009 04:17:56 +0000 (00:17 -0400)]
usttrace: reorganise error messages for ustd not found
Pierre-Marc Fournier [Wed, 28 Oct 2009 04:12:09 +0000 (00:12 -0400)]
ustd: fix opening mode of pidfile to support writing to fifos
The fifo is opened in write-only in order to block until someone
opens it.
Pierre-Marc Fournier [Wed, 28 Oct 2009 03:31:53 +0000 (23:31 -0400)]
usttrace: oops: $(USTDPID) -> $USTDPID
Jan Blunck [Tue, 27 Oct 2009 12:25:17 +0000 (13:25 +0100)]
Make usttrace work when it isn't installed
usttrace needs to detect when to use the installed libraries and when it
is invoked in the repository itself. Otherwise usttrace does not work
when it is installed in /usr/bin.
Signed-off-by: Jan Blunck <jblunck@suse.de>
Pierre-Marc Fournier [Tue, 27 Oct 2009 23:52:50 +0000 (19:52 -0400)]
fix build and out of tree build
Pierre-Marc Fournier [Tue, 27 Oct 2009 23:18:36 +0000 (19:18 -0400)]
move processor.h to include/ust dir
Pierre-Marc Fournier [Tue, 27 Oct 2009 23:14:55 +0000 (19:14 -0400)]
java: fixes
Pierre-Marc Fournier [Tue, 27 Oct 2009 22:58:15 +0000 (18:58 -0400)]
Merge branch 'for-pierre-marc' of git://git.infradead.org/users/jblunck/ust
Fixed conflicts:
include/ust/marker.h
Pierre-Marc Fournier [Tue, 27 Oct 2009 22:33:15 +0000 (18:33 -0400)]
always initialize statically the .location field of struct marker to NULL
Constructors later write the real location value.
Pierre-Marc Fournier [Tue, 27 Oct 2009 22:32:52 +0000 (18:32 -0400)]
rename registers.h -> processor.h
Pierre-Marc Fournier [Tue, 27 Oct 2009 21:36:58 +0000 (17:36 -0400)]
trace_mark: pass register values to probe
This should be more efficient, disableable or done inside the probe. For GDB static tracepoints.
This page took 0.038608 seconds and 4 git commands to generate.