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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Mathieu Desnoyers [Sat, 20 Aug 2011 13:43:48 +0000 (09:43 -0400)]
comment shm
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
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>
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>
Mathieu Desnoyers [Sat, 20 Aug 2011 12:50:43 +0000 (08:50 -0400)]
Cleanup
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Mathieu Desnoyers [Thu, 16 Jun 2011 19:24:23 +0000 (15:24 -0400)]
More removal
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Nils Carlson [Thu, 19 May 2011 07:32:10 +0000 (09:32 +0200)]
version update to 0.13
Nils Carlson [Wed, 18 May 2011 20:00:59 +0000 (22:00 +0200)]
ChangeLog updates for 0.13 v2
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>
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>
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>
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>
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>
Jason Wessel [Wed, 4 May 2011 19:32:59 +0000 (15:32 -0400)]
Only ignore the top config.h.in
Only he top config.h.in is autogenerated the include/ust/config.h.in
is a source controled file.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Jason Wessel [Tue, 26 Apr 2011 21:55:55 +0000 (23:55 +0200)]
add mips support
The recent changes to UST make it trivial to add MIPS support.
The trick for MIPS is that there are many different library formats
and the gcc 4.x compiler will correctly choose the default one so long
as the libust.ldscript.in does not not make a reference to the library
format.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Nils Carlson <nils.carlson@ericsson.com>
Jason Wessel [Wed, 27 Apr 2011 20:22:16 +0000 (22:22 +0200)]
support busybox for manual trace tests
The busybox version of find does not support using -L, and it does not
appear to be needed in order to pass the test. In the interest of
being able to run internal UST tests on a busybox based rootfs,
appropriately detect if -L is available as an argument to find and use
it when it is available.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Nils Carlson <nils.carlson@ericsson.com>
This page took 0.041863 seconds and 4 git commands to generate.