lttng-ust.git
12 years agoFix channel transport name
Mathieu Desnoyers [Tue, 23 Aug 2011 18:19:54 +0000 (14:19 -0400)] 
Fix channel transport name

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoImplement ioctl-alike communication
Mathieu Desnoyers [Tue, 23 Aug 2011 18:00:58 +0000 (14:00 -0400)] 
Implement ioctl-alike communication

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoust comm: more resilient handle table, fix size of reply
Mathieu Desnoyers [Tue, 23 Aug 2011 16:42:32 +0000 (12:42 -0400)] 
ust comm: more resilient handle table, fix size of reply

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMake connect error retry wait 5 seconds
Mathieu Desnoyers [Tue, 23 Aug 2011 16:08:31 +0000 (12:08 -0400)] 
Make connect error retry wait 5 seconds

Until we add the wait scheme.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMake client init quiet (except in UST_DEBUG mode)
Mathieu Desnoyers [Tue, 23 Aug 2011 16:04:46 +0000 (12:04 -0400)] 
Make client init quiet (except in UST_DEBUG mode)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agofactorize out send_reply
Mathieu Desnoyers [Tue, 23 Aug 2011 16:03:34 +0000 (12:03 -0400)] 
factorize out send_reply

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoError message should only appear when return value is negative
Mathieu Desnoyers [Tue, 23 Aug 2011 15:57:14 +0000 (11:57 -0400)] 
Error message should only appear when return value is negative

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoSession create/release tested.
Mathieu Desnoyers [Tue, 23 Aug 2011 15:34:14 +0000 (11:34 -0400)] 
Session create/release tested.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRename sessiond comm lib into ust comm
Mathieu Desnoyers [Mon, 22 Aug 2011 19:35:10 +0000 (15:35 -0400)] 
Rename sessiond comm lib into ust comm

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoSet SOCK_CLOEXEC on socket connected to
Mathieu Desnoyers [Mon, 22 Aug 2011 15:14:43 +0000 (11:14 -0400)] 
Set SOCK_CLOEXEC on socket connected to

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd major/minor version in libust registration
Mathieu Desnoyers [Mon, 22 Aug 2011 01:12:30 +0000 (21:12 -0400)] 
Add major/minor version in libust registration

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate libust communication protocol
Mathieu Desnoyers [Sun, 21 Aug 2011 22:31:42 +0000 (18:31 -0400)] 
Update libust communication protocol

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolibust comm: use own message structures
Mathieu Desnoyers [Sun, 21 Aug 2011 22:02:48 +0000 (18:02 -0400)] 
libust comm: use own message structures

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoSpawn autonomous listener threads
Mathieu Desnoyers [Sat, 20 Aug 2011 20:55:51 +0000 (16:55 -0400)] 
Spawn autonomous listener threads

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoadd parse message
Mathieu Desnoyers [Sat, 20 Aug 2011 19:57:24 +0000 (15:57 -0400)] 
add parse message

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd work-in-progress lttng-ust-comm
Mathieu Desnoyers [Sat, 20 Aug 2011 18:36:39 +0000 (14:36 -0400)] 
Add work-in-progress lttng-ust-comm

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoCoding style cleanup
Mathieu Desnoyers [Sat, 20 Aug 2011 18:02:46 +0000 (14:02 -0400)] 
Coding style cleanup

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoComment out unimplemented vtid
Mathieu Desnoyers [Sat, 20 Aug 2011 17:34:59 +0000 (13:34 -0400)] 
Comment out unimplemented vtid

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agocomment shm
Mathieu Desnoyers [Sat, 20 Aug 2011 13:43:48 +0000 (09:43 -0400)] 
comment shm

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoshm: Include the returned element length in the range check
Mathieu Desnoyers [Sat, 20 Aug 2011 13:28:32 +0000 (09:28 -0400)] 
shm: Include the returned element length in the range check

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoshm: introduce shmp_index
Mathieu Desnoyers [Sat, 20 Aug 2011 13:20:40 +0000 (09:20 -0400)] 
shm: introduce shmp_index

Add array offsets before checking the target pointer range.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoCleanup
Mathieu Desnoyers [Sat, 20 Aug 2011 12:50:43 +0000 (08:50 -0400)] 
Cleanup

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd wakeup on subbuffer delivery
Mathieu Desnoyers [Sat, 20 Aug 2011 00:44:21 +0000 (20:44 -0400)] 
Add wakeup on subbuffer delivery

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoImplement shm object table
Mathieu Desnoyers [Sat, 20 Aug 2011 00:03:53 +0000 (20:03 -0400)] 
Implement shm object table

.. for multi-process accesses to the same maps, with safe "pointers".

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate tests/hello test-case layout (cleanup)
Mathieu Desnoyers [Tue, 16 Aug 2011 21:13:58 +0000 (17:13 -0400)] 
Update tests/hello test-case layout (cleanup)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoClarify TRACEPOINT_EVENT comments
Mathieu Desnoyers [Tue, 16 Aug 2011 19:57:45 +0000 (15:57 -0400)] 
Clarify TRACEPOINT_EVENT comments

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix float/double handling
Mathieu Desnoyers [Thu, 11 Aug 2011 23:51:57 +0000 (19:51 -0400)] 
Fix float/double handling

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agotest and fix array, sequence, string
Mathieu Desnoyers [Thu, 11 Aug 2011 23:46:24 +0000 (19:46 -0400)] 
test and fix array, sequence, string

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agotest: add array test
Mathieu Desnoyers [Thu, 11 Aug 2011 23:31:10 +0000 (19:31 -0400)] 
test: add array test

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMerge copy of lttng-sessiond-comm
Mathieu Desnoyers [Thu, 11 Aug 2011 23:28:06 +0000 (19:28 -0400)] 
Merge copy of lttng-sessiond-comm

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoTracepoint event test update
Mathieu Desnoyers [Wed, 10 Aug 2011 18:17:33 +0000 (14:17 -0400)] 
Tracepoint event test update

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agotests: Build all integer declarations
Mathieu Desnoyers [Wed, 10 Aug 2011 15:13:57 +0000 (11:13 -0400)] 
tests: Build all integer declarations

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoBuild TRACEPOINT_EVENT integer type
Mathieu Desnoyers [Wed, 10 Aug 2011 15:13:06 +0000 (11:13 -0400)] 
Build TRACEPOINT_EVENT integer type

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd UST_DEBUG env. var. support
Mathieu Desnoyers [Tue, 9 Aug 2011 13:46:51 +0000 (09:46 -0400)] 
Add UST_DEBUG env. var. support

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolibust 2.0 + ringbuffer + TRACEPOINT_EVENT builds and runs
Mathieu Desnoyers [Mon, 8 Aug 2011 23:15:46 +0000 (19:15 -0400)] 
libust 2.0 + ringbuffer + TRACEPOINT_EVENT builds and runs

Missing pieces: Now libust needs to talk to the session daemon.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd ring buffer comment about shm
Mathieu Desnoyers [Thu, 4 Aug 2011 22:36:12 +0000 (18:36 -0400)] 
Add ring buffer comment about shm

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUse shm handle, fix allocation space, take care of alignment
Mathieu Desnoyers [Thu, 4 Aug 2011 21:05:42 +0000 (17:05 -0400)] 
Use shm handle, fix allocation space, take care of alignment

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoCommit changes prior to shmp read-only header
Mathieu Desnoyers [Thu, 4 Aug 2011 14:20:00 +0000 (10:20 -0400)] 
Commit changes prior to shmp read-only header

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd float descriptions (metadata)
Mathieu Desnoyers [Wed, 3 Aug 2011 01:45:27 +0000 (21:45 -0400)] 
Add float descriptions (metadata)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoTRACEPOINT_EVENT: add floating point support
Mathieu Desnoyers [Wed, 3 Aug 2011 01:36:22 +0000 (21:36 -0400)] 
TRACEPOINT_EVENT: add floating point support

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix context order
Mathieu Desnoyers [Thu, 28 Jul 2011 14:52:04 +0000 (10:52 -0400)] 
Fix context order

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate tracepoint header comments
Mathieu Desnoyers [Wed, 27 Jul 2011 19:07:25 +0000 (15:07 -0400)] 
Update tracepoint header comments

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoChange tracepoint.h header
Mathieu Desnoyers [Wed, 27 Jul 2011 18:49:40 +0000 (14:49 -0400)] 
Change tracepoint.h header

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoTRACEPOINT_EVENT API
Mathieu Desnoyers [Wed, 27 Jul 2011 18:10:36 +0000 (14:10 -0400)] 
TRACEPOINT_EVENT API

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoltt-context: document that pointers may change
Mathieu Desnoyers [Wed, 27 Jul 2011 14:42:06 +0000 (10:42 -0400)] 
ltt-context: document that pointers may change

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agocontext: document and check that only last context is removed
Mathieu Desnoyers [Wed, 27 Jul 2011 14:40:13 +0000 (10:40 -0400)] 
context: document and check that only last context is removed

Merge from lttng-modules:

commit 4cae220c1be2cc73008603a21152fce7643cfc35
Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Date:   Sat Jul 23 12:37:54 2011 -0400

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix git URL
Yannick Brosseau [Mon, 25 Jul 2011 18:56:16 +0000 (14:56 -0400)] 
Fix git URL

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoImplement multi-session registry
Mathieu Desnoyers [Sun, 17 Jul 2011 14:13:49 +0000 (10:13 -0400)] 
Implement multi-session registry

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoimplement ring buffer clients
Mathieu Desnoyers [Sat, 16 Jul 2011 18:44:09 +0000 (14:44 -0400)] 
implement ring buffer clients

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoResync with kernel LTTng headers
Mathieu Desnoyers [Sat, 16 Jul 2011 17:30:24 +0000 (13:30 -0400)] 
Resync with kernel LTTng headers

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoLib ring buffer: use TLS for nesting count
Mathieu Desnoyers [Sat, 16 Jul 2011 17:06:06 +0000 (13:06 -0400)] 
Lib ring buffer: use TLS for nesting count

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRing buffer: use shmp (shared-memory pointers) for per-channel shm structures
Mathieu Desnoyers [Mon, 4 Jul 2011 17:03:45 +0000 (13:03 -0400)] 
Ring buffer: use shmp (shared-memory pointers) for per-channel shm structures

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoPort ring buffer to userspace, part 1
Mathieu Desnoyers [Mon, 27 Jun 2011 19:24:39 +0000 (15:24 -0400)] 
Port ring buffer to userspace, part 1

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMerge LTTng commit 360f38ea4fee91e2403c03cb43841ef6769aaac7
Mathieu Desnoyers [Mon, 27 Jun 2011 16:07:49 +0000 (12:07 -0400)] 
Merge LTTng commit 360f38ea4fee91e2403c03cb43841ef6769aaac7

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMerge LTTng commit 5c0552665e4d152e97edc995650711d4f6ac418d
Mathieu Desnoyers [Mon, 27 Jun 2011 16:06:28 +0000 (12:06 -0400)] 
Merge LTTng commit 5c0552665e4d152e97edc995650711d4f6ac418d

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMerge LTTng commit c6485006a92b1b86fbb48c2b277732d3405295c9
Mathieu Desnoyers [Mon, 27 Jun 2011 16:05:27 +0000 (12:05 -0400)] 
Merge LTTng commit c6485006a92b1b86fbb48c2b277732d3405295c9

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMerge LTTng commit e64957da15e3652322dcf6a5389beb01901de8e6
Mathieu Desnoyers [Mon, 27 Jun 2011 16:04:33 +0000 (12:04 -0400)] 
Merge LTTng commit e64957da15e3652322dcf6a5389beb01901de8e6

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoBuild libringbuffer, remove kernel includes
Mathieu Desnoyers [Mon, 27 Jun 2011 16:02:21 +0000 (12:02 -0400)] 
Build libringbuffer, remove kernel includes

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoInitial addition of lttng ring buffer clients
Mathieu Desnoyers [Thu, 16 Jun 2011 19:38:22 +0000 (15:38 -0400)] 
Initial addition of lttng ring buffer clients

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoadd ltt-probes.c
Mathieu Desnoyers [Thu, 16 Jun 2011 19:37:16 +0000 (15:37 -0400)] 
add ltt-probes.c

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd event and context files
Mathieu Desnoyers [Thu, 16 Jun 2011 19:36:27 +0000 (15:36 -0400)] 
Add event and context files

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd alignment header
Mathieu Desnoyers [Thu, 16 Jun 2011 19:33:48 +0000 (15:33 -0400)] 
Add alignment header

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd bug management header
Mathieu Desnoyers [Thu, 16 Jun 2011 19:33:33 +0000 (15:33 -0400)] 
Add bug management header

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd bitfield header
Mathieu Desnoyers [Thu, 16 Jun 2011 19:33:23 +0000 (15:33 -0400)] 
Add bitfield header

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolttng priority heap initial import
Mathieu Desnoyers [Thu, 16 Jun 2011 19:29:38 +0000 (15:29 -0400)] 
lttng priority heap initial import

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolib ring buffer initial import
Mathieu Desnoyers [Thu, 16 Jun 2011 19:29:28 +0000 (15:29 -0400)] 
lib ring buffer initial import

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMore removal
Mathieu Desnoyers [Thu, 16 Jun 2011 19:24:23 +0000 (15:24 -0400)] 
More removal

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMove away headers that will be deprecated
Mathieu Desnoyers [Thu, 16 Jun 2011 19:09:17 +0000 (15:09 -0400)] 
Move away headers that will be deprecated

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMove away files that will be deprecated
Mathieu Desnoyers [Thu, 16 Jun 2011 18:59:54 +0000 (14:59 -0400)] 
Move away files that will be deprecated

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix compilation with uclibc
Mathieu Desnoyers [Mon, 13 Jun 2011 14:24:46 +0000 (10:24 -0400)] 
Fix compilation with uclibc

Reported-by: Khem Raj <raj.khem@gmail.com>
Reported-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRemove execinfo.h include
Mathieu Desnoyers [Mon, 13 Jun 2011 14:19:46 +0000 (10:19 -0400)] 
Remove execinfo.h include

Not required, and breaks uclibc build.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate changelog and version to UST 0.14
Mathieu Desnoyers [Sun, 12 Jun 2011 16:19:41 +0000 (12:19 -0400)] 
Update changelog and version to UST 0.14

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate info page for 0.14 API
Mathieu Desnoyers [Sun, 12 Jun 2011 16:19:26 +0000 (12:19 -0400)] 
Update info page for 0.14 API

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoDisable exit fast test (known issue)
Mathieu Desnoyers [Fri, 10 Jun 2011 22:40:02 +0000 (18:40 -0400)] 
Disable exit fast test (known issue)

Disable this test before the release, as we are working on a solution
that involves redesign of the way libust is controlled (synchronization
with a lttng-tools session daemon). We don't want to flood testers with
known issues.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate to urcu/ref.h and urcu/uatomic.h
Mathieu Desnoyers [Fri, 10 Jun 2011 22:21:21 +0000 (18:21 -0400)] 
Update to urcu/ref.h and urcu/uatomic.h

liburcu 0.6 is changing the name of these two headers.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate dependency to liburcu 0.6
Mathieu Desnoyers [Thu, 9 Jun 2011 16:52:45 +0000 (12:52 -0400)] 
Update dependency to liburcu 0.6

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate liburcu version check
Mathieu Desnoyers [Thu, 9 Jun 2011 15:27:11 +0000 (11:27 -0400)] 
Update liburcu version check

liburcu symbols have changed (_bp suffix added for the -bp flavor used
by UST), and we now depend on urcu 0.5.5 for struct rcu_head definition.
Therefore, check for synchronize_rcu_bp and call_rcu_bp.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate following liburcu changes
Mathieu Desnoyers [Thu, 9 Jun 2011 00:42:46 +0000 (20:42 -0400)] 
Update following liburcu changes

Addition of call_rcu in liburcu deprecates the simple.h kcompat header.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd a version.h header
Yannick Brosseau [Wed, 1 Jun 2011 15:06:32 +0000 (11:06 -0400)] 
Add a version.h header

It contains the major and minor version numbers

[ edit: coding style fixes by Mathieu Desnoyers ]

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd pkg-config file generation
Yannick Brosseau [Wed, 1 Jun 2011 15:01:16 +0000 (11:01 -0400)] 
Add pkg-config file generation

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate note in buffer.c
Mathieu Desnoyers [Fri, 20 May 2011 20:33:52 +0000 (16:33 -0400)] 
Update note in buffer.c

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRemove installed headers, cleanup header names
Mathieu Desnoyers [Fri, 20 May 2011 20:11:13 +0000 (16:11 -0400)] 
Remove installed headers, cleanup header names

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix make check includes
Mathieu Desnoyers [Fri, 20 May 2011 19:29:42 +0000 (15:29 -0400)] 
Fix make check includes

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoCleanup leftover UST comments, add comments about current implementation limitations
Mathieu Desnoyers [Fri, 20 May 2011 17:58:06 +0000 (13:58 -0400)] 
Cleanup leftover UST comments, add comments about current implementation limitations

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoTRACEPOINT_EVENT: standardize locking wrt tracepoints and markers
Mathieu Desnoyers [Fri, 20 May 2011 17:22:08 +0000 (13:22 -0400)] 
TRACEPOINT_EVENT: standardize locking wrt tracepoints and markers

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoTracepoints and markers: cleanup init, add missing mutex lock/unlock
Mathieu Desnoyers [Fri, 20 May 2011 17:11:42 +0000 (13:11 -0400)] 
Tracepoints and markers: cleanup init, add missing mutex lock/unlock

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMarkers: sync from LTTng 0.249 marker code
Mathieu Desnoyers [Thu, 19 May 2011 22:29:38 +0000 (18:29 -0400)] 
Markers: sync from LTTng 0.249 marker code

- Add missing mutexes.
- Cleanup RCU usage.
- Remove unused code.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoPrivatize headers
Mathieu Desnoyers [Thu, 19 May 2011 21:03:11 +0000 (17:03 -0400)] 
Privatize headers

Remove most installed headers, which should be internal. The header
kcompat (kernel-style compatibility header) only makes sense within the
UST package: this should never be exported, nor be included into
instrumented applications.

Move the type-serializer header back into libust/. It is so internal it
does not even belong to include/ust/.

Standardize all the installed headers on non-kcompat style: use uint64_t
instead of u64 for types, open-code likely/unlikely.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd Maintainer and Mailing list contact information to README
Mathieu Desnoyers [Thu, 19 May 2011 19:49:37 +0000 (15:49 -0400)] 
Add Maintainer and Mailing list contact information to README

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoChange libtap.so to a local static library which is not installed
Yannick Brosseau [Thu, 19 May 2011 19:39:29 +0000 (15:39 -0400)] 
Change libtap.so to a local static library which is not installed

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoPrivatize part of marker.h, and type-serializer.h
Mathieu Desnoyers [Thu, 19 May 2011 16:02:19 +0000 (12:02 -0400)] 
Privatize part of marker.h, and type-serializer.h

The current interface we publish is ust_marker(), tracepoint() and
TRACEPOINT_EVENT() (and associated _NOARGS, CLASS, INSTANCE and
TRACEPOINT_CREATE_PROBES). Besides that, consider any lower-level API
showing the UST internals as, well, internal.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoTracepoint and TRACEPOINT_EVENT API cleanup
Mathieu Desnoyers [Thu, 19 May 2011 15:29:57 +0000 (11:29 -0400)] 
Tracepoint and TRACEPOINT_EVENT API cleanup

We want to move towards a TRACEPOINT_EVENT-based API only, so start
cleaning up right now.

Prefix with _ or __ all members that are internal to UST. Move all the
non-exported API members (that don't need to be around in program
inclusion) to tracepoint-internal.h (which is not meant to be installed
on the system).

Unit tests can still use the internal API members for now, but should
gradually move to use TRACEPOINT_EVENT as we start implementing the
FIELDS() declaration.

TRACEPOINT_EVENT is changed from the kernel incarnation (TRACE_EVENT):
we take only 3 arguments: proto, args and fields. The "fields" describe
the event layout _and_ targets the data source.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMark old trace_mark API deprecated (gcc attribute)
Mathieu Desnoyers [Thu, 19 May 2011 13:31:38 +0000 (09:31 -0400)] 
Mark old trace_mark API deprecated (gcc attribute)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoversion update to 0.13
Nils Carlson [Thu, 19 May 2011 07:32:10 +0000 (09:32 +0200)] 
version update to 0.13

12 years agoChangeLog updates for 0.13 v2
Nils Carlson [Wed, 18 May 2011 20:00:59 +0000 (22:00 +0200)] 
ChangeLog updates for 0.13 v2

12 years agoadd missing usterr_signal_safe.h to makefile
Nils Carlson [Thu, 19 May 2011 07:43:16 +0000 (09:43 +0200)] 
add missing usterr_signal_safe.h to makefile

Signed-off-by: Nils Carlson <nils.carlson@ericsson.com>
12 years agoNew fast-exit test-case
Nils Carlson [Tue, 17 May 2011 13:16:47 +0000 (15:16 +0200)] 
New fast-exit test-case

A fast-exit test-case that just writes one marker and exits,
tests that the consumer daemon maps the buffers before the
program exits. Exiting is tested both by normal return
and by commiting suicide (SIGKILL to self).

Signed-off-by: Nils Carlson <nils.carlson@ericsson.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMake libustctl list only online pids v3
Nils Carlson [Mon, 16 May 2011 13:57:15 +0000 (15:57 +0200)] 
Make libustctl list only online pids v3

Changes since v2:
Botox.

Changes since v1:
Cosmetic surgery at a european cost

Previously libustctl would list all pids. This patch changes this
so only online pids are listed. This is done by appending on each
socket name the mtime from the proc/<pid> directory. This way a
socket can be checked to see if the appended mtime matches the
mtime of the proc dir for the current pid, thus allowing us to
distinguish between old and new socket files.

Signed-off-by: Nils Carlson <nils.carlson@ericsson.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agochange runtests GPL version
Nils Carlson [Fri, 6 May 2011 12:32:54 +0000 (14:32 +0200)] 
change runtests GPL version

Signed-off-by: Nils Carlson <nils.carlson@ericsson.com>
13 years agoarmv5 archs require write alignment
Jason Wessel [Wed, 4 May 2011 19:35:20 +0000 (15:35 -0400)] 
armv5 archs require write alignment

Reads and writes to unsigned int 32 bit numbers must be address
aligned or the l2 cache can return junk in the high order 16 bits on
reads.

This patch activates the original work done for alignment in ltt for
the UST code.  The config.ac changes will isolate the use of alignment
to the known arch type with the problem.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
This page took 0.041072 seconds and 4 git commands to generate.