]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
John Spray [Wed, 23 Jul 2014 16:35:24 +0000 (17:35 +0100)]
mds: update mds_lock handling in Locker contexts
For some contexts, we expect to be called back from the objecter/filer
on an I/O completion, so we must take mds_lock before updating any
MDS metadata. In others, we expect to be called back from the MDCache
in response to updates to a CInode's state, so we assert that mds_lock
is already held.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 28 Jul 2014 16:35:49 +0000 (17:35 +0100)]
mds/MDLog: enable Journaler finisher
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 23 Jul 2014 16:32:57 +0000 (17:32 +0100)]
osdc: Use a finisher from Journaler
Completions from I/O operations (i.e. the objecter) hop
through the finisher twice, because of the three layers of
locking (MDS::mds_lock -> Journaler::lock -> Objecter osd session lock)
Because on the way "right" we take the locks in that order, to avoid
deadlock we can't take the locks in the opposite order on the way
"left", hence the finishers.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 23 Jul 2014 11:48:57 +0000 (12:48 +0100)]
osdc: locking for Journaler
also remove the lock pointers that JournalPointer load/save
used to require in order to use the objecter.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 25 Jul 2014 16:26:22 +0000 (17:26 +0100)]
mds: fix calls to Objecter::wait_for_map
These were wrong in the earlier commit:
"mds: use lock-safe OSDMap accessors; adjust Objecter wait_for_map call"
Rather than checking epoch explicitly and dropping the lock before
calling wait_for_map, just make a single call to wait_for_map and handle
the return code to learn whether we are waiting or not.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 23 Jul 2014 12:22:17 +0000 (13:22 +0100)]
mds: update MDLog._replay_thread for locking
... no longer use mds_lock as a guard for condition variable
while waiting for journaler contexts.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 23 Jul 2014 12:11:46 +0000 (13:11 +0100)]
mds: use finisher for BootStart contexts
Signed-off-by: John Spray <john.spray@redhat.com>
Sage Weil [Mon, 21 Jul 2014 21:11:42 +0000 (14:11 -0700)]
librados: wait for map on create_ioctx failure
Ensure we have a map so we don't simply complain that a pool doesn't
exists. Only take the lock and wait if we fail to lookup the pool,
though, so we avoid contending the lock in the general case.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 21 Jul 2014 21:07:59 +0000 (14:07 -0700)]
librados/RadosClient: remove unused get_pool_name()
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 21 Jul 2014 14:13:09 +0000 (07:13 -0700)]
mds: allow Objecter to dispatch its own messages
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 21 Jul 2014 04:14:04 +0000 (21:14 -0700)]
osdc/Objecter: ignore messenger events before or after initalized
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 21 Jul 2014 04:11:40 +0000 (21:11 -0700)]
mon/MonClient: fix shutdown typo
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 21 Jul 2014 04:06:57 +0000 (21:06 -0700)]
librados dispatch fix
Sage Weil [Mon, 21 Jul 2014 03:50:00 +0000 (20:50 -0700)]
client: let Objecter dispatch directly
Add Objecter as a direct dispatcher. Drop all of the callbacks and
messages we were passing along. Wrap the IO completions in client_lock
(via C_Lock) and shunt them to the objecter_finisher.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 21 Jul 2014 03:49:19 +0000 (20:49 -0700)]
client: add a Finisher for the Objecter
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 21 Jul 2014 03:47:22 +0000 (20:47 -0700)]
include/Context: add generic C_Lock
Wrap a callback in a Mutex.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 22:00:55 +0000 (15:00 -0700)]
mds: push objecter completions to a Finisher
Most/all of the MDS completions need to be reentrant (and potentially
call back into the Objecter). Shove them all onto a Finisher to make
sure that is safe.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 21:51:28 +0000 (14:51 -0700)]
mds: mark objecter completions with _IO_, take mds_lock
For any completion we pass directly to Objecter, make sure we take the
mds_lock in finish(), and mark the class with _IO_ in the name.
Note that this doesn't address the use of Journaler. And this assumes that
we are not holding the mds_lock already when Objecter::handle_osd_op_reply
is called.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 21:16:49 +0000 (14:16 -0700)]
osdc/Objecter: take over ownership of OSDMap
Instead of taking a pointer to an existing OSDMap in our constructor,
allocate our own, so that we completely own it.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 21:16:00 +0000 (14:16 -0700)]
osdc/Objecter: make OSDMap private
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 21:15:41 +0000 (14:15 -0700)]
osdc/Filer: use lock-safe OSDMap accessors
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 21:11:49 +0000 (14:11 -0700)]
mds/SnapServer: use lock safe OSDMap accessors
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 21:10:41 +0000 (14:10 -0700)]
mds: use lock-safe OSDMap accessors; adjust Objecter wait_for_map call
We need to handle a race between when we inspect the OSDMap and when we
try to wait for the next map.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 20:41:15 +0000 (13:41 -0700)]
mds: use lock safe OSDMap accessors for TMAP2OMAP check
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 20:38:38 +0000 (13:38 -0700)]
client/SyntheticClient: use lock safe OSDMap accessors
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 20:38:19 +0000 (13:38 -0700)]
test_mon_workloadgen: use Objecter::wait_for_osd_map
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 20:36:47 +0000 (13:36 -0700)]
osdc/Objecter: make wait_for_osd_map() locking safe
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 20:23:46 +0000 (13:23 -0700)]
client: use Objecter::{get,put}_osdmap_read() interface
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 18:08:36 +0000 (11:08 -0700)]
librados: use {get,put}_osdmap_read() accessors
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 17:52:51 +0000 (10:52 -0700)]
osd/OSDMap: return const string from get_pool_name
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 17:36:44 +0000 (10:36 -0700)]
librados: drop osdmap pool name cache
We now have a rwlock for Objecter; no more need for a separate cache here.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 17:35:38 +0000 (10:35 -0700)]
osd/OSDMap: make lookup_pg_pool_name const
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 17:27:05 +0000 (10:27 -0700)]
osdc/Objecter: add name-base pool_delete
Avoid a lookup then delete race.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 17:22:56 +0000 (10:22 -0700)]
osdc/Objecter: protect pool ops with rwlock
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 16:48:15 +0000 (09:48 -0700)]
osdc/Objecter: add OSDMap accessors that are lock-safe
Everybody needs to use these to inspect the OSDMap.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 15:51:25 +0000 (08:51 -0700)]
librados: let Objecter dispatch its own messages
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 15:47:54 +0000 (08:47 -0700)]
osd: let Objecter dispatch directly
No need for our ObjecterDispatcher wrapper, now!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 16:16:18 +0000 (09:16 -0700)]
osdc/Objecter: wire up native Dispatcher fast dispatch
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 16:17:44 +0000 (09:17 -0700)]
osdc/Objecter: make Objecter a Dispatcher
Note that it's not actually doing it yet, though!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jul 2014 15:22:22 +0000 (08:22 -0700)]
mds: add finisher
Signed-off-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Thu, 17 Jul 2014 22:57:53 +0000 (15:57 -0700)]
objecter: take write lock in ms_handle_reset()
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Tue, 15 Jul 2014 22:51:21 +0000 (15:51 -0700)]
rwlock: assert on unlock if not locked
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Thu, 5 Jun 2014 19:21:53 +0000 (12:21 -0700)]
objecter: fix locking
ms_handle_reset() takes the session lock, needed to be able to call
_kick_requetss() with it held.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Wed, 4 Jun 2014 18:46:50 +0000 (11:46 -0700)]
objecter: split objecter initialization
Separate objecter initialization to non cluster related work (e.g.,
internal data structures, other registrations), and to operations that
can initiate cluster interaction. This is so that we don't hit a rare
race where we can get called indirectly from one of the dispatcher callbacks
e.g., into handle_osd_map() when not yet being initialized.
This requires that objecter->init() should be called before
messenger->add_dispatcher_head(), and objecter->start() after it.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Fri, 30 May 2014 16:46:03 +0000 (09:46 -0700)]
objecter: Objecter::Op is refcounted
Cancellation of lingerin ops collided with ops that we sent osdmap on,
needed to add a refcount for correct object delete.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Wed, 28 May 2014 19:12:31 +0000 (12:12 -0700)]
objecter: don't serialize responses if there's no object name
This implicitly fixes an issue with the list_objects() being reentrant,
and triggers a lock dependency issue. The better solution would be to
have the callback context specify whether it's reentrant or not, but
will require a much bigger change.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Mon, 12 May 2014 23:58:31 +0000 (16:58 -0700)]
objecter: shard completion_lock
Object ops responses are sharded, lock hashed by object name. This
guarantees ordering on the same object. Cross object order is not
guaranteed anymore.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Wed, 4 Jun 2014 21:55:13 +0000 (14:55 -0700)]
objecter: a major refactoring
Fixes: #7619
Removed the client_lock (that used to pass in as a param) and replaced
it with a read-write lock (completely controlled by the objecter). Also
added a per-session read-write lock. Adapt code to use the new locking
scheme, removed locking where not needed. Replaced various counters to
atomics instead of grabbing the lock for updates. Moved ops to live
under the session.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Signed-off-by: Sage Weil <sage@inktank.com>
Yehuda Sadeh [Wed, 28 May 2014 00:09:50 +0000 (17:09 -0700)]
timer: fix RWTimer shutdown
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Wed, 14 May 2014 19:25:40 +0000 (12:25 -0700)]
librados: cancel operation
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Tue, 22 Apr 2014 04:56:33 +0000 (21:56 -0700)]
test_mon_workloadgen: fix for new objecter interface
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Fri, 7 Mar 2014 20:43:43 +0000 (12:43 -0800)]
rgw: abort early from logging function
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Sat, 3 May 2014 15:41:05 +0000 (08:41 -0700)]
osd: adapt to new Objecter interface
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Mon, 31 Mar 2014 23:06:20 +0000 (16:06 -0700)]
librados: remove warning
Seems that the current locking scheme is ok. Objecter handles its
locking internally, librados needs to hold its lock.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Sat, 3 May 2014 15:39:53 +0000 (08:39 -0700)]
librados: push snap related functions down to objecter
Need to take appropriate lock.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Fri, 28 Mar 2014 00:46:08 +0000 (17:46 -0700)]
librados: call objecter->handle_osd_map() under lock
The lock is not shared with the objecter anymore so we need to call
it under this lock, otherwise we're going to race with
wait_for_osdmap().
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Fri, 7 Mar 2014 23:35:40 +0000 (15:35 -0800)]
librados: adapt to new objecter interface
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Thu, 6 Mar 2014 21:07:20 +0000 (13:07 -0800)]
librados: don't hold client lock in certain operations
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Thu, 6 Mar 2014 19:24:18 +0000 (11:24 -0800)]
librados: don't hold lock in dispatch()
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Fri, 7 Mar 2014 23:35:55 +0000 (15:35 -0800)]
mds: adapt to new objecter interface
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Fri, 7 Mar 2014 23:35:15 +0000 (15:35 -0800)]
client: adapt to new objecter interface
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Mon, 17 Mar 2014 19:58:02 +0000 (12:58 -0700)]
time: create RWTimer
a timer implementation that uses RWLock
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Sat, 3 May 2014 15:33:33 +0000 (08:33 -0700)]
common/RWLock: add lock context
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Sat, 3 May 2014 15:33:22 +0000 (08:33 -0700)]
common/RWLock: add explicit unlock() to *Lockers
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Sat, 3 May 2014 15:32:59 +0000 (08:32 -0700)]
common/RWLock: add get()
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Sat, 3 May 2014 15:32:40 +0000 (08:32 -0700)]
common/RWLock: check return values
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Sat, 3 May 2014 15:32:19 +0000 (08:32 -0700)]
common/RWLock: track read/write locks via atomics for assertion checks
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Loic Dachary [Sun, 24 Aug 2014 22:50:23 +0000 (00:50 +0200)]
Merge pull request #2138 from xiaoxichen/fix_crush_ruleset
mon/OSDMonitor : Use user provided ruleset for replicated pool
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
Sage Weil [Fri, 22 Aug 2014 18:10:18 +0000 (11:10 -0700)]
Merge branch 'wip-weak-refs'
Sage Weil [Fri, 22 Aug 2014 18:08:34 +0000 (11:08 -0700)]
vstart.sh: debug rgw = 20 on -d
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 22 Aug 2014 18:08:08 +0000 (11:08 -0700)]
Merge pull request #2292 from lpabon/rgw-doc
vstart.sh to enable support for simple Rados
Tested-by: GWabhishek.lekshmanan@gmail.com
Sage Weil [Fri, 22 Aug 2014 16:17:06 +0000 (09:17 -0700)]
common/shared_cache: dump weak refs on shutdown
Before asserting, dump what the refs are along with the counts.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 22 Aug 2014 16:13:21 +0000 (09:13 -0700)]
Merge pull request #2304 from majianpeng/fix1
small bug fix for journal
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 22 Aug 2014 16:04:37 +0000 (09:04 -0700)]
common/shared_cache: take a cct
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 22 Aug 2014 15:46:54 +0000 (08:46 -0700)]
Merge pull request #2291 from ceph/wip-fingerprint
mon: add a unique clsuter fingerprint
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
Loic Dachary [Fri, 22 Aug 2014 15:17:17 +0000 (17:17 +0200)]
Merge pull request #2307 from dmsimard/crushdoc
Doc: Add config option to turn off crush update
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
Loic Dachary [Fri, 22 Aug 2014 15:00:54 +0000 (17:00 +0200)]
Merge pull request #2288 from xiaoxichen/fix_add_simple_ruleset
CrushWrapper: pick a ruleset same as rule_id
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
David Moreau Simard [Fri, 22 Aug 2014 14:55:55 +0000 (10:55 -0400)]
Doc: Add config option to turn off crush update
Signed-off-by: David Moreau Simard <dmsimard@iweb.com>
Xiaoxi Chen [Wed, 20 Aug 2014 07:35:44 +0000 (15:35 +0800)]
CrushWrapper: pick a ruleset same as rule_id
Originally in the add_simple_ruleset funtion, the ruleset_id
is not reused but rule_id is reused. So after some add/remove
against rules, the newly created rule likely to have
ruleset!=rule_id.
We dont want this happen because we are trying to hold the constraint
that ruleset == rule_id.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
Loic Dachary [Fri, 22 Aug 2014 01:05:48 +0000 (03:05 +0200)]
Merge pull request #2273 from dachary/wip-mailmap
mailmap updates
Sage Weil [Fri, 22 Aug 2014 00:48:41 +0000 (17:48 -0700)]
Merge remote-tracking branch 'gh/wip-filejournal'
Reviewed-by: Sage Weil <sage@redhat.com>
Tested-by: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Sage Weil [Thu, 21 Aug 2014 22:06:11 +0000 (15:06 -0700)]
Merge remote-tracking branch 'gh/wip-lttng'
Sage Weil [Thu, 21 Aug 2014 22:05:40 +0000 (15:05 -0700)]
Revert "Merge pull request #2253 from adamcrume/wip-lttng"
This reverts commit
5b9ade5058f72116eb3dc920f442361c2a33b46b , reversing
changes made to
b0aa846b3f81225a779de00100e15334fb8156b3 .
I merged the wrong version of wip-lttng.
Signed-off-by: Sage Weil <sage@redhat.com>
David Zafman [Thu, 21 Aug 2014 20:43:50 +0000 (13:43 -0700)]
Merge pull request #2274 from ceph/wip-9144
filestore: fix force_sync race with mount + umount + mount
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Thu, 21 Aug 2014 20:14:51 +0000 (13:14 -0700)]
Merge pull request #2253 from adamcrume/wip-lttng
RBD-replay
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 21 Aug 2014 18:14:39 +0000 (11:14 -0700)]
mon: generate cluster_fingerprint if null
This triggers after an upgrade of a legacy cluster that has no fingerprint.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 20 Aug 2014 15:59:46 +0000 (08:59 -0700)]
mon: add a cluster fingerprint
Generate it on cluster creations with the initial monmap. Include it in
the report. Provide no way for this uuid to be fed in to the cluster
(intentionally or not) so that it can be assumed to be a truly unique
identifier for the cluster.
Signed-off-by: Sage Weil <sage@redhat.com>
Adam Crume [Tue, 19 Aug 2014 23:04:40 +0000 (16:04 -0700)]
rbd_replay: Add unit test for batch_unreachable_from
This requires a fair amount of code reorganization, since the types in
the function signature were previously not in a header file.
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Tue, 19 Aug 2014 20:45:09 +0000 (13:45 -0700)]
rbd-replay: Add unit test for Ser
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Tue, 19 Aug 2014 18:16:50 +0000 (11:16 -0700)]
lttng: Split --with-lttng and --with-babeltrace options
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Mon, 18 Aug 2014 20:14:02 +0000 (13:14 -0700)]
lttng: Remove tracing-specfic local variables when lttng disabled
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Mon, 18 Aug 2014 17:58:04 +0000 (10:58 -0700)]
lttng: Add informational messages to configure.ac
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Mon, 18 Aug 2014 16:27:02 +0000 (09:27 -0700)]
lttng: Only install rbd-replay-prep when enabled
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Fri, 15 Aug 2014 23:25:55 +0000 (16:25 -0700)]
lttng: Check for babeltrace when autoconfiguring lttng
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Fri, 15 Aug 2014 23:25:36 +0000 (16:25 -0700)]
lttng: Check that the main babeltrace header is present
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Fri, 15 Aug 2014 22:47:18 +0000 (15:47 -0700)]
lttng: Test for sane lttng-gen-tp
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Fri, 15 Aug 2014 22:22:37 +0000 (15:22 -0700)]
lttng: Don't build trace libraries when lttng is disabled
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Fri, 15 Aug 2014 19:49:53 +0000 (12:49 -0700)]
lttng: Fix build error on 32-bit systems
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Fri, 15 Aug 2014 19:43:08 +0000 (12:43 -0700)]
lttng: Remove -lboost_regex from unit test
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Fri, 15 Aug 2014 19:42:18 +0000 (12:42 -0700)]
lttng: Don't build trace headers when lttng is disabled
Signed-off-by: Adam Crume <adamcrume@gmail.com>