[lttng-dev] DEBUG_RCU vs RCU_DEBUG

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Thu Apr 23 15:47:26 EDT 2015


----- Original Message -----
> ----- Original Message -----
> > I noticed that urcu-qsbr.h checks for RCU_DEBUG being defined while the
> > rest
> > of
> > userspace-rcu (0.8.6) checks DEBUG_RCU.  Is this a mistake or a cunning
> > plan?
> 
> Good catch! Even urcu/static/urcu-qsbr.h has a ifdef based on
> DEBUG_RCU.
> 
> Will rename the urcu-qsbr.[ch] RCU_DEBUG to DEBUG_RCU, and I will
> define RCU_DEBUG if DEBUG_RCU is defined in qsbr (for backward compat).

I rather mean the opposite: we define DEBUG_RCU if RCU_DEBUG
is defined.

Thanks,

Mathieu

> Fixes pushed into master, stable-0.8 and stable-0.7.
> 
> Thanks!
> 
> Mathieu
> 
> > 
> > Ciao, Duncan.
> > 
> > _______________________________________________
> > lttng-dev mailing list
> > lttng-dev at lists.lttng.org
> > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> > 
> 
> --
> Mathieu Desnoyers
> EfficiOS Inc.
> http://www.efficios.com
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> 

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list