From: Pierre-Marc Fournier Date: Mon, 5 Oct 2009 19:40:54 +0000 (-0400) Subject: use liburcu-bp X-Git-Tag: v0.1~106 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b7ea1a1c8ed1cea410bb43c7cc6621c951e4b621;p=ust.git use liburcu-bp --- diff --git a/configure.ac b/configure.ac index 9137366..9bf9c2c 100644 --- a/configure.ac +++ b/configure.ac @@ -53,7 +53,7 @@ AC_CHECK_FUNCS([gettimeofday munmap socket strerror strtol]) AC_ARG_WITH(urcu, [ --with-urcu path Path to userspace RCU source], [ AC_CHECK_FILE(["$withval/urcu.h"], [ URCU_CFLAGS="-I$withval" - URCU_LIBS="-L$withval -lurcu" ], + URCU_LIBS="-L$withval -lurcu-bp" ], AC_MSG_ERROR([Cannot find urcu.h in urcu directory])) ], [ PKG_CHECK_MODULES(URCU, [liburcu], , [ diff --git a/libust/marker.c b/libust/marker.c index ff3de64..ff01f42 100644 --- a/libust/marker.c +++ b/libust/marker.c @@ -31,7 +31,7 @@ //ust// #include #define _LGPL_SOURCE -#include +#include #include "kernelcompat.h" diff --git a/libust/serialize.c b/libust/serialize.c index 2fe6db7..0055d99 100644 --- a/libust/serialize.c +++ b/libust/serialize.c @@ -34,8 +34,8 @@ #include "kernelcompat.h" #define _LGPL_SOURCE -#include -#include +#include +#include #include "relay.h" #include "tracer.h" diff --git a/libust/tracectl.c b/libust/tracectl.c index faa4714..b20fe69 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -27,7 +27,7 @@ #include #include -#include +#include #include "marker.h" #include "tracer.h" diff --git a/libust/tracepoint.c b/libust/tracepoint.c index ee335ad..df94b2c 100644 --- a/libust/tracepoint.c +++ b/libust/tracepoint.c @@ -38,7 +38,7 @@ //#include "list.h" #define _LGPL_SOURCE -#include +#include //extern struct tracepoint __start___tracepoints[] __attribute__((visibility("hidden"))); //extern struct tracepoint __stop___tracepoints[] __attribute__((visibility("hidden"))); diff --git a/libust/tracepoint.h b/libust/tracepoint.h index 5adb7c6..b1ee16d 100644 --- a/libust/tracepoint.h +++ b/libust/tracepoint.h @@ -29,7 +29,7 @@ //#include #define _LGPL_SOURCE -#include +#include #include "immediate.h" #include "kernelcompat.h" diff --git a/libust/tracer.c b/libust/tracer.c index 6f19213..4150551 100644 --- a/libust/tracer.c +++ b/libust/tracer.c @@ -52,7 +52,7 @@ //ust// #include //ust// #include //ust// #include -#include +#include #include "kernelcompat.h" #include "tracercore.h"