Re: [lttng-dev] [RFC PATCH] timekeeping: introduce timekeeping_is_busy()

2013-09-12 Thread Peter Zijlstra
On Wed, Sep 11, 2013 at 11:22:52PM -0400, Mathieu Desnoyers wrote: Cool! Your design looks good to me. It reminds me of a latch. My only fear is that struct timekeeper is probably too large to be copied every time on the read path. Here is a slightly reworked version that would allow

Re: [lttng-dev] Enabling and disabling events

2013-09-12 Thread Ikaheimonen, JP
I think processing the list of rules is a must because it shows the user precisely and concisely what is going to happen during his session. I will need to think about the best way to collate (unify) the enablement specifications. It seems to be an interesting set-theoretic exercise. A

Re: [lttng-dev] [RFC PATCH] timekeeping: introduce timekeeping_is_busy()

2013-09-12 Thread Mathieu Desnoyers
* Peter Zijlstra (pet...@infradead.org) wrote: On Wed, Sep 11, 2013 at 11:22:52PM -0400, Mathieu Desnoyers wrote: Cool! Your design looks good to me. It reminds me of a latch. My only fear is that struct timekeeper is probably too large to be copied every time on the read path. Here is

Re: [lttng-dev] [RFC PATCH] timekeeping: introduce timekeeping_is_busy()

2013-09-12 Thread Peter Zijlstra
On Thu, Sep 12, 2013 at 09:48:16AM -0400, Mathieu Desnoyers wrote: struct foo { ... }; spinlock_t foo_lock; struct latchfoo { unsigned int head, tail; struct foo data[2]; }; /** * foo_write_begin - begin foo update. * @lf: struct latchfoo to update. *

[lttng-dev] [RFC] Java JUL tracing ABI/API for LTTng-Tools

2013-09-12 Thread David Goulet
Tiny RFC! :) Hopefully, the change is not that big in lttng-tools to support a new Java domain and this RFC sums it up in terms of *public* changes. Cheers! David RFC - Java JUL LTTng Tools API/ABI Author: David Goulet dgou...@efficios.com Version: - v0.1: 10/09/2013 *

[lttng-dev] Feedback on your ARM LTTng benchmarks

2013-09-12 Thread Mathieu Desnoyers
Hi Colin, I just read your post on: https://lists.ubuntu.com/archives/kernel-team/2013-May/028450.html and, although I'm very pleased to see that LTTng provides good performances in your tests, there is a small detail on your benchmarking approach I would like to bring to your attention. If you

[lttng-dev] Running lttng-tools testsuite against an installed codebase

2013-09-12 Thread Christian Babeux
Hi lttng-testers, The current lttng-tools testsuite has some limitations as recently pointed out on this OpenEmbedded thread [1]. The testsuite cannot be runned against an installed codebase of lttng-tools because the tests assume that the lttng cli and the testapps are located in the build

Re: [lttng-dev] Running lttng-tools testsuite against an installed codebase

2013-09-12 Thread Stefan Seefeld
On 09/12/2013 06:29 PM, Christian Babeux wrote: Hi lttng-testers, The current lttng-tools testsuite has some limitations as recently pointed out on this OpenEmbedded thread [1]. The testsuite cannot be runned against an installed codebase of lttng-tools because the tests assume that the

Re: [lttng-dev] [OE-core] [PATCH] Enable ptest support for lttng.

2013-09-12 Thread Christian Babeux
Still, I think it's good to include these tests. If anything they may just provide more motivation to address the underlying issue. :-) Absolutely! I'll start a thread on lttng-dev to see how we can deal with the current testsuite limitations. ++prove --merge -v --exec '' - $1 | sed \ ++

Re: [lttng-dev] Feedback on your ARM LTTng benchmarks

2013-09-12 Thread Mathieu Desnoyers
* Colin Ian King (colin.k...@canonical.com) wrote: Hi Mathieu, On 12/09/13 22:44, Mathieu Desnoyers wrote: Hi Colin, I just read your post on: https://lists.ubuntu.com/archives/kernel-team/2013-May/028450.html and, although I'm very pleased to see that LTTng provides good

Re: [lttng-dev] Feedback on your ARM LTTng benchmarks

2013-09-12 Thread Colin Ian King
Hi Mathieu, On 12/09/13 22:44, Mathieu Desnoyers wrote: Hi Colin, I just read your post on: https://lists.ubuntu.com/archives/kernel-team/2013-May/028450.html and, although I'm very pleased to see that LTTng provides good performances in your tests, there is a small detail on your