Re: [lttng-dev] lttng enable-channel options

2012-05-07 Thread Woegerer, Paul
Sorry that’s an old message I sent before I subscribed the lttng-dev mailing list. Please ignore. -- Paul On 04/24/2012 11:20 AM, Woegerer, Paul wrote: Is there some way to make the userspace application block if the buffer is full ? I'm thinking about something like: lttng enable-channel

Re: [lttng-dev] tracing program flow

2012-05-07 Thread Oestman, Fredrik
Alexandre Montplaisir wrote: There's a feature on the wishlist to use GCC hooks to automatically generate those probes [1]. The end result would be the same, but it would be much less tedious to do the instrumentation part. A Clang plugin was also mentioned previously [2], but I don't think

Re: [lttng-dev] tracing program flow

2012-05-07 Thread Mathieu Desnoyers
* Oestman, Fredrik (fredrik_oest...@mentor.com) wrote: Alexandre Montplaisir wrote: There's a feature on the wishlist to use GCC hooks to automatically generate those probes [1]. The end result would be the same, but it would be much less tedious to do the instrumentation part. A Clang

Re: [lttng-dev] [PATCH] rculfhash: use do {} while (0) for dbg_printf()

2012-05-07 Thread Mathieu Desnoyers
* Lai Jiangshan (la...@cn.fujitsu.com) wrote: found by clang(make CC=clang). avoid empty statement. - if (condition) dbg_printf() /* forget ;, but compiler say nothing if dbg_printf() is empty */ statement; merged, thanks! Mathieu

[lttng-dev] [RFC PATCH] rculfhash: race between replace and del operations

2012-05-07 Thread Mathieu Desnoyers
Hi, I just found a race in the replace vs del operations in rculfhash. This would be introduced by commit: commit db00ccc36e7fb04ce8044fb1be7964acd1de6ae0 Author: Mathieu Desnoyers mathieu.desnoy...@efficios.com Date: Mon Dec 19 16:45:51 2011 -0500 rculfhash: Relax atomicity guarantees

Re: [lttng-dev] [rp] [RFC] Readiness for URCU release with RCU lock-free hash table

2012-05-07 Thread Mathieu Desnoyers
* Paul E. McKenney (paul...@linux.vnet.ibm.com) wrote: On Sat, May 05, 2012 at 02:22:12PM -0400, Mathieu Desnoyers wrote: * Paul E. McKenney (paul...@linux.vnet.ibm.com) wrote: [...] Just to make sure I understand -- the reason that the del functions say no memory barrier instead of acts

Re: [lttng-dev] [rp] [RFC] Readiness for URCU release with RCU lock-free hash table

2012-05-07 Thread Mathieu Desnoyers
* Paul E. McKenney (paul...@linux.vnet.ibm.com) wrote: On Fri, May 04, 2012 at 12:53:12PM -0400, Mathieu Desnoyers wrote: [...] Just to make sure I understand -- the reason that the del functions say no memory barrier instead of acts like rcu_dereference() is that the del functions don't

[lttng-dev] RFC - LTTng Network Session and Snapshot v0.2

2012-05-07 Thread David Goulet
RFC - LTTng Network Session and Snapshot Author: David Goulet david.gou...@efficios.com Contributors: * Mathieu Desnoyers mathieu.desnoy...@efficios.com * Julien Desfossez julien.desfos...@efficios.com Version: - v0.1: 16/04/2012 * Initial proposal - v0.2: 04/05/2012

Re: [lttng-dev] Lttng support for RT-Patched Linux Kernel 2.6.33

2012-05-07 Thread Yannick Brosseau
On 2012-05-05 12:10, Mathieu Desnoyers wrote: * Rapha?l Beamonte (raphael.beamo...@polymtl.ca) wrote: Hi Pavan, Hi , I want to use LTTng on ARM processor running *Linux 2.6.33 kernel with real-time patches, **My quires are** * whether there’s an LTTng port which is compatible with

Re: [lttng-dev] Lttng support for RT-Patched Linux Kernel 2.6.33

2012-05-07 Thread Mathieu Desnoyers
* Yannick Brosseau (yannick.bross...@polymtl.ca) wrote: On 2012-05-05 12:10, Mathieu Desnoyers wrote: * Rapha?l Beamonte (raphael.beamo...@polymtl.ca) wrote: Hi Pavan, Hi , I want to use LTTng on ARM processor running *Linux 2.6.33 kernel with real-time patches, **My quires

Re: [lttng-dev] [RFC PATCH] rculfhash: race between replace and del operations

2012-05-07 Thread Mathieu Desnoyers
* Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: Hi, I just found a race in the replace vs del operations in rculfhash. This would be introduced by commit: Just to show that I am not making this up, I came up with a test-case to reproduce it: test_urcu_hash 0 2 20 -A -s -M 1 -N 1