lttng-tools.git
12 years agoFix consumer pid mutex double-unlock
Mathieu Desnoyers [Sat, 19 Nov 2011 20:47:05 +0000 (15:47 -0500)] 
Fix consumer pid mutex double-unlock

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoIntroduce build/env/argument override for 32-bit compat consumer
Mathieu Desnoyers [Sat, 19 Nov 2011 20:36:48 +0000 (15:36 -0500)] 
Introduce build/env/argument override for 32-bit compat consumer

Also remove unnecessary use of strdup on optarg.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd configure LTTNG_TOOLS_COMPAT_BIN_PREFIX env var support
Mathieu Desnoyers [Sat, 19 Nov 2011 20:03:59 +0000 (15:03 -0500)] 
Add configure LTTNG_TOOLS_COMPAT_BIN_PREFIX env var support

Defines CONFIG_COMPAT_BIN_PREFIX in the build.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoSimply close socket when application registration is refused
Mathieu Desnoyers [Sat, 19 Nov 2011 17:17:03 +0000 (12:17 -0500)] 
Simply close socket when application registration is refused

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate warning msg
Mathieu Desnoyers [Sat, 19 Nov 2011 16:50:00 +0000 (11:50 -0500)] 
Update warning msg

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix warning about hash type
Mathieu Desnoyers [Sat, 19 Nov 2011 16:23:40 +0000 (11:23 -0500)] 
Fix warning about hash type

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoDetect 32-bit compat applications + 32-bit warning fixes
Mathieu Desnoyers [Sat, 19 Nov 2011 16:22:05 +0000 (11:22 -0500)] 
Detect 32-bit compat applications + 32-bit warning fixes

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoImplement UST destroy session
Mathieu Desnoyers [Sat, 19 Nov 2011 14:43:11 +0000 (09:43 -0500)] 
Implement UST destroy session

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoImplement UST stop command
Mathieu Desnoyers [Sat, 19 Nov 2011 00:06:02 +0000 (19:06 -0500)] 
Implement UST stop command

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoEnsure sockets are kept open across all their hash table life-span
Mathieu Desnoyers [Fri, 18 Nov 2011 21:24:40 +0000 (16:24 -0500)] 
Ensure sockets are kept open across all their hash table life-span

Otherwise causes races where re-use of a socket is being incorrectly
removed.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoSupport older autotools versions lack of AM_SILENT_RULES
Mathieu Desnoyers [Thu, 17 Nov 2011 20:22:10 +0000 (15:22 -0500)] 
Support older autotools versions lack of AM_SILENT_RULES

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd creation time to UST app path to ensure uniqueness
Mathieu Desnoyers [Wed, 16 Nov 2011 13:16:14 +0000 (08:16 -0500)] 
Add creation time to UST app path to ensure uniqueness

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoust-app: fix bogus double-use of iterator
Mathieu Desnoyers [Wed, 16 Nov 2011 02:48:58 +0000 (21:48 -0500)] 
ust-app: fix bogus double-use of iterator

"yo dawg, I'm using my iterator in my iterator".

;-)

Fixes pretty much all of N event/N channel/N session UST problems.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUST consumer: fix read on hangup, and UST get subbuf error handling
Mathieu Desnoyers [Wed, 16 Nov 2011 02:01:47 +0000 (21:01 -0500)] 
UST consumer: fix read on hangup, and UST get subbuf error handling

This fixes multiple consecutive runs of the "demo" program, where
sometimes one channel would not be saved.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix multi-session UST handling combined with shm fd teardown
Mathieu Desnoyers [Wed, 16 Nov 2011 01:24:41 +0000 (20:24 -0500)] 
Fix multi-session UST handling combined with shm fd teardown

shm fd is used as unique identifier for the channel when passing the
stream fds to the consumer. However, closing the fd reuses the same
identifier for the next round, thus getting the same consumer
channel/streams as the previous one. This causes multi-session tracing
to only work for the first session, not the following ones.

So instead of doing a channel lookup on add channel and a stream lookup
upon add stream, we "steal" the identifier. We still lookup the channel
identifier upon stream add though: this means the sessiond needs to keep
the channel shm fd open until it has finished sending all stream fds to
the consumer. For kernel consumer, the update operation still does a
stream id lookup.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolttng-sessiond: keep enabled/active state for sessions, cleanup enabled state for...
Mathieu Desnoyers [Wed, 16 Nov 2011 00:15:18 +0000 (19:15 -0500)] 
lttng-sessiond: keep enabled/active state for sessions, cleanup enabled state for events/channels

allows

lttng list
Available tracing sessions:
  1) test1 (/root/lttng-traces/test1-20111115-191312) [inactive]
  2) test2 (/root/lttng-traces/test2-20111115-191310) [active]

and

root@thinkos:~# lttng list test2
Tracing session test2: [active]
    Trace path: /root/lttng-traces/test2-20111115-191502

When events/channels/sessions enabled state is set to -1, show an empty
string instead of the meaningless "[enabled: -1]".

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agorculfhash: add missing braces around iteration macros pos parameter
Mathieu Desnoyers [Tue, 15 Nov 2011 23:35:28 +0000 (18:35 -0500)] 
rculfhash: add missing braces around iteration macros pos parameter

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolttng-sessiond: keep track of UST consumer fd for all UST sessions.
Mathieu Desnoyers [Tue, 15 Nov 2011 03:40:54 +0000 (22:40 -0500)] 
lttng-sessiond: keep track of UST consumer fd for all UST sessions.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoChange malloc to zmalloc in lttng-sessiond code
David Goulet [Tue, 15 Nov 2011 20:39:37 +0000 (15:39 -0500)] 
Change malloc to zmalloc in lttng-sessiond code

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoCleanup and add comments to ust_app.c
David Goulet [Tue, 15 Nov 2011 20:23:14 +0000 (15:23 -0500)] 
Cleanup and add comments to ust_app.c

Mostly cleanup the code by moving static functions up and creating
wrapper function around the ustctl_* API calls.

Also, replace all hashtable iteration structure by cds each entry
macros.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoFix enabled state when listing UST events
David Goulet [Mon, 14 Nov 2011 21:56:58 +0000 (16:56 -0500)] 
Fix enabled state when listing UST events

NOTE: When listing all UST events from all registered apps, the enabled
state is set to -1 meaning that there is no enable/disable state
semantic at this point.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoMultiple fixes when cleaning app and UST sessions
David Goulet [Mon, 14 Nov 2011 21:46:28 +0000 (16:46 -0500)] 
Multiple fixes when cleaning app and UST sessions

Also adds event's attributes to the ust_app_event data structure.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoAdd important DEBUG statement
David Goulet [Mon, 14 Nov 2011 21:43:09 +0000 (16:43 -0500)] 
Add important DEBUG statement

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoCleanup trace ust destroy functions
David Goulet [Mon, 14 Nov 2011 19:41:48 +0000 (14:41 -0500)] 
Cleanup trace ust destroy functions

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoMerge branch 'master' of git://git.lttng.org/lttng-tools
David Goulet [Mon, 14 Nov 2011 17:11:17 +0000 (12:11 -0500)] 
Merge branch 'master' of git://git.lttng.org/lttng-tools

12 years agoAdd cleanup function for UST app
David Goulet [Mon, 14 Nov 2011 17:09:51 +0000 (12:09 -0500)] 
Add cleanup function for UST app

Also, those functions uses the new ustctl_release_object function from
the UST API.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoChange malloc to zmalloc on UST metadata creation
David Goulet [Mon, 14 Nov 2011 17:09:31 +0000 (12:09 -0500)] 
Change malloc to zmalloc on UST metadata creation

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoAdd hashtable destroy
David Goulet [Mon, 14 Nov 2011 17:08:29 +0000 (12:08 -0500)] 
Add hashtable destroy

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoFix possible NULL UST session on start trace
David Goulet [Mon, 14 Nov 2011 17:08:00 +0000 (12:08 -0500)] 
Fix possible NULL UST session on start trace

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoFix indentation
David Goulet [Mon, 14 Nov 2011 15:26:37 +0000 (10:26 -0500)] 
Fix indentation

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agosessiond: don't link on lttng-ust-comm anymore
Mathieu Desnoyers [Mon, 14 Nov 2011 16:03:48 +0000 (11:03 -0500)] 
sessiond: don't link on lttng-ust-comm anymore

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix incorrect POPT_ARG_STRING usage
Mathieu Desnoyers [Mon, 14 Nov 2011 14:40:48 +0000 (09:40 -0500)] 
Fix incorrect POPT_ARG_STRING usage

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolttng enable-events: fix argument parsing
Mathieu Desnoyers [Mon, 14 Nov 2011 14:31:22 +0000 (09:31 -0500)] 
lttng enable-events: fix argument parsing

We should only specify one of arg expected is a string/opt string _or_
that the callback needs to read it, but not both.

Causes some arguments to be skipped with some libpopt versions.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix debug message channel vs session name mixup
Mathieu Desnoyers [Mon, 14 Nov 2011 13:46:16 +0000 (08:46 -0500)] 
Fix debug message channel vs session name mixup

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRemove leftover debug message
Mathieu Desnoyers [Sun, 13 Nov 2011 21:11:02 +0000 (16:11 -0500)] 
Remove leftover debug message

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoadd_ustctx_all_channels: Move rcu_read_unlock in error label
Mathieu Desnoyers [Sun, 13 Nov 2011 17:28:43 +0000 (12:28 -0500)] 
add_ustctx_all_channels: Move rcu_read_unlock in error label

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoust_app_find_by_pid: move rcu_read_unlock to error label
Mathieu Desnoyers [Sun, 13 Nov 2011 17:21:06 +0000 (12:21 -0500)] 
ust_app_find_by_pid: move rcu_read_unlock to error label

Less error-prone than read unlock within the code, as proven by commit
1e3a10e37a519046fd49c77f2fa23807b132f330.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agosessiond find_app_by_sock: remove double-rcu-unlock in from error paths
Mathieu Desnoyers [Sun, 13 Nov 2011 17:17:57 +0000 (12:17 -0500)] 
sessiond find_app_by_sock: remove double-rcu-unlock in from error paths

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agosessiond trace-ust: fix memleak on error paths
Mathieu Desnoyers [Sun, 13 Nov 2011 17:16:22 +0000 (12:16 -0500)] 
sessiond trace-ust: fix memleak on error paths

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolttng UI: read opt_cmd_name opt arg for each command
Mathieu Desnoyers [Sun, 13 Nov 2011 17:12:12 +0000 (12:12 -0500)] 
lttng UI: read opt_cmd_name opt arg for each command

Ensure all commands are layed out in the same way too.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoLTTng sessiond: fix ust app error handling
Mathieu Desnoyers [Sat, 12 Nov 2011 17:56:50 +0000 (12:56 -0500)] 
LTTng sessiond: fix ust app error handling

Fix incorrect error handling of ust_app_add_channel_all and
ust_app_add_event_all commands. Make ust_app_start_trace take RCU
read-side lock, because this API is exposed outside of ust-app.c.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix link to git repository
Michal Simek [Fri, 11 Nov 2011 16:53:10 +0000 (11:53 -0500)] 
Fix link to git repository

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoFix NULL dereference in liblttngctl
David Goulet [Thu, 10 Nov 2011 20:16:51 +0000 (15:16 -0500)] 
Fix NULL dereference in liblttngctl

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoMerge branch 'master' of git://git.lttng.org/lttng-tools
David Goulet [Thu, 10 Nov 2011 20:10:42 +0000 (15:10 -0500)] 
Merge branch 'master' of git://git.lttng.org/lttng-tools

12 years agoAdd tracepoint listing for UST
David Goulet [Thu, 10 Nov 2011 20:10:35 +0000 (15:10 -0500)] 
Add tracepoint listing for UST

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoFix not NULL pointer on size 0
David Goulet [Thu, 10 Nov 2011 20:07:48 +0000 (15:07 -0500)] 
Fix not NULL pointer on size 0

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoUpdate from upstream for ht macros
David Goulet [Thu, 10 Nov 2011 20:07:13 +0000 (15:07 -0500)] 
Update from upstream for ht macros

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoUST support: send commands to app before register done
Mathieu Desnoyers [Thu, 10 Nov 2011 18:11:54 +0000 (13:11 -0500)] 
UST support: send commands to app before register done

Required for handling of short-lived applications.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix ust consumer channel memory non-zeroed allocation
Mathieu Desnoyers [Wed, 9 Nov 2011 16:09:39 +0000 (11:09 -0500)] 
Fix ust consumer channel memory non-zeroed allocation

The cpu count was expecting memory to be zeroed on allocation. Caused
stream open errors and zero-sized metadata files (and unability to open
channel files).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate ust-abi/ust-ctl header copies
Mathieu Desnoyers [Wed, 9 Nov 2011 15:37:41 +0000 (10:37 -0500)] 
Update ust-abi/ust-ctl header copies

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoCleanup ust-app.c and make it more modular
David Goulet [Tue, 8 Nov 2011 23:08:00 +0000 (18:08 -0500)] 
Cleanup ust-app.c and make it more modular

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoFix possible NULL pointer dereference
David Goulet [Tue, 8 Nov 2011 19:30:20 +0000 (14:30 -0500)] 
Fix possible NULL pointer dereference

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoFix wrong pathname creation for UST metadata
David Goulet [Tue, 8 Nov 2011 18:22:40 +0000 (13:22 -0500)] 
Fix wrong pathname creation for UST metadata

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoFix directory creation of UST traces
David Goulet [Tue, 8 Nov 2011 18:14:22 +0000 (13:14 -0500)] 
Fix directory creation of UST traces

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoFix useless context hashtable size and segfault on destroy
David Goulet [Tue, 8 Nov 2011 17:28:34 +0000 (12:28 -0500)] 
Fix useless context hashtable size and segfault on destroy

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoAdd auto start UST trace support
David Goulet [Tue, 8 Nov 2011 17:07:07 +0000 (12:07 -0500)] 
Add auto start UST trace support

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoUST consumer: perform buffer flush on hang up
Mathieu Desnoyers [Tue, 8 Nov 2011 14:42:17 +0000 (09:42 -0500)] 
UST consumer: perform buffer flush on hang up

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix wrong returned valu on UST start trace
David Goulet [Mon, 7 Nov 2011 21:38:04 +0000 (16:38 -0500)] 
Fix wrong returned valu on UST start trace

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoFix build system for urcu wfqueue
David Goulet [Mon, 7 Nov 2011 21:27:00 +0000 (16:27 -0500)] 
Fix build system for urcu wfqueue

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoAuto creation of chan/event on apps registration
David Goulet [Mon, 7 Nov 2011 21:21:22 +0000 (16:21 -0500)] 
Auto creation of chan/event on apps registration

On UST apps registration, all channel(s) and event(s) from the UST
global domain are created on the apps.

Adds a new check for urcu wait-free queue in configure.ac

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoAdd missing function references with no UST support
David Goulet [Mon, 7 Nov 2011 17:07:34 +0000 (12:07 -0500)] 
Add missing function references with no UST support

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
12 years agoFix incorrect parenthesis for poll test in consumer
Mathieu Desnoyers [Sat, 5 Nov 2011 17:57:01 +0000 (13:57 -0400)] 
Fix incorrect parenthesis for poll test in consumer

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUST consumer: implement missing ust-specific callbacks + fixes.
Mathieu Desnoyers [Sat, 5 Nov 2011 17:45:35 +0000 (13:45 -0400)] 
UST consumer: implement missing ust-specific callbacks + fixes.

Also fix consumer handling of poll fd: a mask should be used.
Also fix UST stream output passed to the consumer (the fix is a hack
currently, left a FIXME).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd missing rcu_read_unlock on error paths
Mathieu Desnoyers [Sat, 5 Nov 2011 15:31:24 +0000 (11:31 -0400)] 
Add missing rcu_read_unlock on error paths

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix order of streams
Mathieu Desnoyers [Sat, 5 Nov 2011 15:27:53 +0000 (11:27 -0400)] 
Fix order of streams

Use a list instead of hash table to send streams in correct order.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUST consumer interaction fix: send all channel streams
Mathieu Desnoyers [Fri, 4 Nov 2011 12:31:56 +0000 (08:31 -0400)] 
UST consumer interaction fix: send all channel streams

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoLTTng-UST support: --disable-lttng-ust build option
Mathieu Desnoyers [Fri, 4 Nov 2011 11:32:26 +0000 (07:32 -0400)] 
LTTng-UST support: --disable-lttng-ust build option

From now on, configure fails if lttng-ust is not found.
--disable-lttng-ust must be explicitely specified to build without UST
support.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoust consumer: flag shm/wait fd as copy
Mathieu Desnoyers [Thu, 3 Nov 2011 23:33:24 +0000 (19:33 -0400)] 
ust consumer: flag shm/wait fd as copy

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoust consumer: fix double close
Mathieu Desnoyers [Thu, 3 Nov 2011 23:18:51 +0000 (19:18 -0400)] 
ust consumer: fix double close

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoconsumer handling fix: send metadata channel shm size
Mathieu Desnoyers [Thu, 3 Nov 2011 19:18:04 +0000 (15:18 -0400)] 
consumer handling fix: send metadata channel shm size

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix UST consumer FD send: channels only send one FD
Mathieu Desnoyers [Thu, 3 Nov 2011 19:01:43 +0000 (15:01 -0400)] 
Fix UST consumer FD send: channels only send one FD

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix debug message in send consumer fd.
Mathieu Desnoyers [Thu, 3 Nov 2011 18:52:01 +0000 (14:52 -0400)] 
Fix debug message in send consumer fd.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoRemove *bad* debug printf
David Goulet [Thu, 3 Nov 2011 18:26:26 +0000 (14:26 -0400)] 
Remove *bad* debug printf

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoChange linking libs using new UST names
David Goulet [Thu, 3 Nov 2011 17:19:06 +0000 (13:19 -0400)] 
Change linking libs using new UST names

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoFix configure.ac using new UST headers location
David Goulet [Thu, 3 Nov 2011 17:09:22 +0000 (13:09 -0400)] 
Fix configure.ac using new UST headers location

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoChange UST header location and update in tree headers
David Goulet [Thu, 3 Nov 2011 16:55:11 +0000 (12:55 -0400)] 
Change UST header location and update in tree headers

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoSupport urcu 0.6.6 with the likely/unlikely API change
David Goulet [Thu, 3 Nov 2011 15:59:02 +0000 (11:59 -0400)] 
Support urcu 0.6.6 with the likely/unlikely API change

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoRename ltt-sessiond to lttng-sessiond
David Goulet [Thu, 3 Nov 2011 15:34:59 +0000 (11:34 -0400)] 
Rename ltt-sessiond to lttng-sessiond

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoFix UST renaming and update ust headers
David Goulet [Thu, 3 Nov 2011 15:06:40 +0000 (11:06 -0400)] 
Fix UST renaming and update ust headers

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoUpdate README and TODO
David Goulet [Thu, 3 Nov 2011 15:00:50 +0000 (11:00 -0400)] 
Update README and TODO

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoFix build system with libustcomm removed
David Goulet [Thu, 3 Nov 2011 14:13:01 +0000 (10:13 -0400)] 
Fix build system with libustcomm removed

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoRemove unused and empty lib
David Goulet [Thu, 3 Nov 2011 14:01:17 +0000 (10:01 -0400)] 
Remove unused and empty lib

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoltt-sessiond: use short options for modprobe in order to support Busybox
Thomas Petazzoni [Thu, 3 Nov 2011 11:51:21 +0000 (12:51 +0100)] 
ltt-sessiond: use short options for modprobe in order to support Busybox

Many embedded systems are based on Busybox, and therefore use the
Busybox implementation of modprobe. This implementation does not
support long options such as --remove and --quiet, only short options
such as -r and -q are supported.

This patches changes ltt-sessiond to use the short options, which are
more widely available, and allows lttng to work easily on a
Busybox-based system.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 years agoPreliminary work for full UST support
David Goulet [Wed, 2 Nov 2011 19:44:27 +0000 (15:44 -0400)] 
Preliminary work for full UST support

Add hashtable support for all UST data structure. At this point, enable
channel and event works with the global UST domain. The interaction with
the ust consumer has problems for now thus not working at this stage.

NOTICE: This commit does NOT work with the user space tracer yet. Please
refer to next commit for working version.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoUpdate RCU hashtable from upstream urcu
David Goulet [Wed, 2 Nov 2011 19:43:50 +0000 (15:43 -0400)] 
Update RCU hashtable from upstream urcu

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoImport hashtable files from URCU upstream git
David Goulet [Thu, 27 Oct 2011 12:50:45 +0000 (14:50 +0200)] 
Import hashtable files from URCU upstream git

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoBasic hashtable support for UST
David Goulet [Thu, 27 Oct 2011 12:49:48 +0000 (14:49 +0200)] 
Basic hashtable support for UST

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoUpdate documentation following babeltrace UI change
Mathieu Desnoyers [Wed, 2 Nov 2011 14:06:49 +0000 (10:06 -0400)] 
Update documentation following babeltrace UI change

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUST support: add UST control commands
Mathieu Desnoyers [Thu, 27 Oct 2011 12:33:28 +0000 (14:33 +0200)] 
UST support: add UST control commands

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix kconsumerd number of fd expected
Mathieu Desnoyers [Thu, 27 Oct 2011 12:02:40 +0000 (08:02 -0400)] 
Fix kconsumerd number of fd expected

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd lttng-consumerd to gitignore
David Goulet [Wed, 26 Oct 2011 11:50:16 +0000 (07:50 -0400)] 
Add lttng-consumerd to gitignore

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoRemove unused variable
David Goulet [Wed, 26 Oct 2011 11:49:38 +0000 (07:49 -0400)] 
Remove unused variable

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoAPI change for lttng_get_readeable_code
David Goulet [Tue, 25 Oct 2011 19:29:50 +0000 (15:29 -0400)] 
API change for lttng_get_readeable_code

The liblttngctl lttng_get_readeable_code call is renamed to
lttng_strerror.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoFix array size in kconsumer add stream
David Goulet [Tue, 25 Oct 2011 19:26:09 +0000 (15:26 -0400)] 
Fix array size in kconsumer add stream

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoFix inline function bad definition
David Goulet [Tue, 25 Oct 2011 19:25:11 +0000 (15:25 -0400)] 
Fix inline function bad definition

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoUse UST comm lib
Mathieu Desnoyers [Sun, 23 Oct 2011 13:23:12 +0000 (09:23 -0400)] 
Use UST comm lib

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUpdate UST messages
Mathieu Desnoyers [Sun, 23 Oct 2011 12:50:13 +0000 (08:50 -0400)] 
Update UST messages

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUST 2.0 support
Mathieu Desnoyers [Sun, 23 Oct 2011 01:06:11 +0000 (21:06 -0400)] 
UST 2.0 support

Refactoring of the consumer/sessiond interaction so the consumer
supports applications instrumented with libust (UST 2.0).

At this point, more testing of interaction between libust and sessiond
is required.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix disable event
David Goulet [Wed, 5 Oct 2011 22:40:19 +0000 (18:40 -0400)] 
Fix disable event

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoAdd EEXIST support for kernel event on the tracer side
David Goulet [Wed, 5 Oct 2011 22:20:34 +0000 (18:20 -0400)] 
Add EEXIST support for kernel event on the tracer side

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
This page took 0.04087 seconds and 4 git commands to generate.